37-54
Software Configuration Guide—Release 15.0(2)SG
OL-23818-01
Chapter 37 Configuring Quality of Service
Configuring QoS on Supervisor Engines II-Plus, II+10GE, IV, V, V-10GE, 4924, 4948, and 4948-10GE
To modify the CoS-to-DSCP map, perform this task:
This example shows how to configure the ingress CoS-to-DSCP mapping for CoS 0:
Switch# configure terminal
Switch(config)# qos map cos 0 to dscp 20
Switch(config)# end
Switch# show qos maps cos dscp
CoS-DSCP Mapping Table:
CoS: 0 1 2 3 4 5 6 7
--------------------------------
DSCP: 20 8 16 24 32 40 48 56
Switch(config)#
Note To return to the default map, use the no qos cos to dscp global configuration command.
This example shows how to clear the entire CoS-to-DSCP mapping table:
Switch(config)# no qos map cos to dscp
Switch(config)#
Configuring the Policed-DSCP Map
You use the policed-DSCP map to mark down a DSCP value to a new value as the result of a policing
and marking action.
The default policed-DSCP map is a null map, which maps an incoming DSCP value to the same DSCP
value.
To modify the CoS-to-DSCP map, perform this task:
Command Purpose
Step 1 Switch# configure terminal Enters global configuration mode.
Step 2 Switch(config)# qos map cos cos1 ... cos8
to dscp dscp Modifies the CoS-to-DSCP map.
For cos1...cos8, you can enter up to eight CoS; valid values
range from 0 to 7. Separate each CoS value with a space.
The dscp range is 0 to 63.
Step 3 Switch(config)# end Returns to privileged EXEC mode.
Step 4 Switch# show qos maps cos-dscp Verifies your entries.
Step 5 Switch# copy running-config startup-config (Optional) Saves your entries in the configuration file.
Command Purpose
Step 1 Switch# configure terminal Enters global configuration mode.
Step 2 Switch(config)# qos map dscp policed
dscp-list to dscp mark-down-dscp Modifies the policed-DSCP map.
For dscp-list, enter up to eight DSCP values separated by
spaces. Next, enter the to keyword.
For mark-down-dscp, enter the corresponding policed
(marked down) DSCP value.