Creates a QoS map for performing DSCP-to-traffic class mapping. You use the qos traffic-class-dscp command to apply the map to an interface.
DSCP-to-traffic class mutation is not enabled.
dscp-traffic-class mode for the DSCP-to-traffic class map
Global configuration mode
Enter qos dscp-traffic-class name to apply the QoS DSCP-Traffic-Class map to that interface. When you enter qos map dscp-traffic-class, the system is placed in dscp-traffic-class mode for the configured map. At this point, you can map ingress DSCP values to traffic class values using the mark command.
Enter no qos dscp-traffic-class name while in the interface mode to remove the map from that interface.
Note
This command is supported on devices based on the XGS chipset family. For a list of such devices, see "Supported Hardware".
This example creates a QoS DSCP-to-traffic class map and places the system into dscp-traffic-class mode.
device# configure terminal device(config)# qos map dscp-traffic-class test device(dscp-traffic-class-test)#
This example maps ingress DSCP values to a traffic class.
device# configure terminal device(config)# qos map dscp-traffic-class test device(dscp-traffic-class-test)# map dscp 1,3,5,7 to traffic-class 1 drop-precedence 1
This example maps multiple ingress DSCP values to traffic classes and drop precedence.
device# configure terminal device(config)# qos map dscp-traffic-class test device(dscp-traffic-class-test)# map dscp 10 to traffic-class 3 drop-precedence 1 device(dscp-traffic-class-test)# map dscp 40 to traffic-class 4 drop-precedence 1 device(dscp-traffic-class-test)# map dscp 45 to traffic-class 5 drop-precedence 0 device(dscp-traffic-class-test)# map dscp 52 to traffic-class 3 drop-precedence 1
This example removes a QoS DSCP-traffic-class map.
device# configure terminal device(config)# no qos map dscp-traffic-class test