SUMMARY STEPS
1.
enable
2.
configure terminal
3.
class-map class-map-name
4.
match cos number
5.
policy-map policy-map-name
6.
class class-map-name
7.
priority level <level 1/2 > percent <percentage 1-100 > or priority level <level 1/2> <kbps> <burst size>
8.
interface interface-type interface-number
9.
service-policy output policy-map-name
10.
end
DETAILED STEPS
PurposeCommand or Action
Enables privileged EXEC mode.enable
Example:
Device> enable
Step 1
•
Enter your password if prompted.
Enters global configuration mode.configure terminal
Example:
Device# configure terminal
Step 2
Configures class map and specifies the name of the class
map to be created.
class-map class-map-name
Example:
Device(config)#class-map class_priority
Step 3
Matched different PHBs for different class maps.
match cos number
Example:
Device(config-cmap)# match cos 1
Step 4
Configures the policy map.
policy-map policy-map-name
Example:
Device(config)#policy-map shape_priority
Step 5
Specifies the name of the class whose policy you want to
create and enters policy-map class configuration mode. This
class is associated with the class map that is created earlier.
class class-map-name
Example:
Device(config-pmap)#class class_priority
Step 6
Assigns priority to a traffic class at the priority level
specified.
priority level <level 1/2 > percent <percentage 1-100 >
or priority level <level 1/2> <kbps> <burst size>
Step 7
QoS: Policing and Shaping Configuration Guide (Cisco ASR 920 Series)
46
Priority Shaper
Configuring Priority Shaper