API Guide

Table 115. Default DSCP trust map (continued)
DSCP values Traffic class ID Color
32-35 4 G
36-39 4 Y
40-43 5 G
44-47 5 Y
48-51 6 G
52-55 6 Y
56-59 7 G
60-62 7 Y
63 7 R
NOTE: You cannot modify the default DSCP trust map.
Userdefined DCSP trust map
You can override the default mapping by creating a user-defined DSCP trust map. All the unspecified DSCP entries map to the
default traffic class ID 0 and color G.
Configure userdefined DSCP trust map
1. Create a DSCP trust map.
OS10(config)# trust dscp-map example-dscp-trustmap-name
OS10(config-tmap-dscp-map)#
2. Define the set of dscp values mapped to traffic-class, the qos-group ID.
OS10(config-tmap-dscp-map)# qos-group 3 dscp 0-15
OS10(config-tmap-dscp-map)# qos-group 5 dscp 16-30
3. Verify the map entries.
OS10# show qos maps type trust-map-dscp example-dscp-trustmap-name
DSCP Priority to Traffic-Class Map : example-dscp-trustmap-name
Traffic-Class DSCP Priority
-------------------------------
3 0-15
5 16-30
4. Apply the map on a specific interface or on system-qos global level.
Interface level
OS10(conf-if-eth1/1/1)# trust-map dscp example-dscp-trustmap-name
System-qos level
OS10(config-sys-qos)# trust-map dscp example-dscp-trustmap-name
Apply DSCP trust map
You must apply the trust map at the interface or system-qos level. To apply the trust map on a specific interface or on system-
qos (global) level:
1192
Quality of service