Chapter 6
RADIUS-Based Shaping and Policing
DETAILED STEPS TO CONFIGURE THE PARENT POLICY
Command
Step 1
policy-map policy-map-name
Example:
Router(config-pmap)# policy-map parent
Step 2
class class-default
Example:
Router(config-pmap)# class class-default
Step 3
shape average mean-rate [[burst-size]
[excess-burst-size]] [account {qinq | dot1q |
user-defined offset} aal5 subscriber-encap]
Example:
Router(config-pmap-c)# shape average 10000
Step 4
service-policy policy-map-name
Example:
Router(config-pmap-c)# service-policy child
Police Command Actions
The following are action keywords you can specify in the police command:
•
•
•
•
•
•
•
•
•
•
OL-14660-03
drop—Drops the packet.
set-cos-transmit value—Sets the packet COS value and sends it.
set-discard-class-transmit value—Sets the discard class attribute of a packet.
set-dscp-transmit value—Sets the IP differentiated services code point (DSCP) value.
set-frde-transmit value—Sets the Frame Relay Discard Eligibility (DE) bit from 0 to 1 on the
Frame Relay frame.
set-mpls-experimental-imposition-transmit value—Sets the Multiprotocol Label Switching
(MPLS) experimental (EXP) bits (0 to 7) in the imposed label headers.
set-mpls-experimental-topmost-transmit value—Sets the MPLS EXP field value in the topmost
MPLS label header at the input and/or output interfaces.
set-prec-transmit value—Sets the IP precedence value.
set-qos-transmit value—Sets the qos-group value.
transmit—Transmits the packet. The packet is not altered.
Cisco 10000 Series Router Access Network Control Protocol Configuration Guide
Per-Service Shaping and Policing Using RADIUS
Purpose
Creates or modifies a policy map.
policy-map-name is the name of the policy map.
Modifies the class-default traffic class. Enters
policy-map class configuration mode.
Shapes traffic to the indicated bit rate.
average is the maximum number of bits sent out in
each interval. Available only on the PRE3.
mean-rate is the committed information rate (CIR)
in bits per second.
For more information, see the
Policy on the ISG" section on page
Applies the child policy map to the parent
class-default class.
policy-map-name is the name of the child policy
map.
"Configuring a QoS
6-6.
6-13