SUMMARY STEPS
1.
enable
2.
configure terminal
3.
policy-map policy-map-name
4.
class class-map-name
5.
set cos value
6.
bandwidth percent percent
7.
exit
8.
class class-map-name
9.
bandwidth percent percent
10.
exit
11.
policy-map policy-map-name
12.
class class-default
13.
service-policy policy-map-name
DETAILED STEPS
PurposeCommand or Action
Enables privileged EXEC mode.enable
Step 1
Example:
Device> enable
•
Enter your password if prompted.
Enters global configuration mode.configure terminal
Example:
Device# configure terminal
Step 2
Creates or modifies the child policy and enters QoS policy-map
configuration mode.
policy-map policy-map-name
Example:
Device(config)# policy-map child-llq
Step 3
•
child-llq is the name of the child policy map.
Assigns the traffic class you specify to the policy map and enters QoS
policy-map class configuration mode.
class class-map-name
Example:
Device(config-pmap)# class precedenc-1
Step 4
•
precedenc-1 is the name of a previously configured class map
and is the traffic class for which you want to define QoS actions.
(Optional) Sets the Layer 2 class of service (CoS) value of an outgoing
packet.
set cos value
Example:
Device(config-pmap-c)# set cos 5
Step 5
•
The value is a specific IEEE 802.1Q CoS value from 0 to 7.
QoS: Policing and Shaping Configuration Guide (Cisco ASR 920 Series)
19
Port-Shaper and LLQ in the Presence of EFPs
Configuring Hierarchical Policy Maps