API Guide

2. Define the set of dot1p values mapped to traffic-class, the qos-group ID.
OS10(config-tmap-dot1p-map)# qos-group 3 dot1p 0-4
OS10(config-tmap-dot1p-map)# qos-group 5 dot1p 5-7
3. Verify the map entries.
OS10# show qos maps type trust-map-dot1p example-dot1p-trustmap-name
DOT1P Priority to Traffic-Class Map : example-dot1p-trustmap-name
Traffic-Class DOT1P Priority
-------------------------------
3 0-4
5 5-7
4. Apply the map on a specific interface or on system-qos, global level.
Interface level
OS10(conf-if-eth1/1/1)# trust-map dot1p example-dot1p-trustmap-name
NOTE: In the interface level, the no version of the command returns the configuration to the system-qos level. If
there is no configuration available at the system-qos level, the configuration returns to default mapping.
System-qos level
OS10(config-sys-qos)# trust-map dot1p example-dot1p-trustmap-name
Apply CoS trust map
After you create a 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:
Interface level
OS10(conf-if-eth1/1/1)# trust-map dot1p example-dot1p-trustmap-name
NOTE:
In the interface level, the no version of the command returns the configuration to system-qos level. If there is
no configuration available at the system-qos level, then the configuration returns to default mapping.
System-qos level
OS10(config-sys-qos)# trust-map dot1p example-dot1p-trustmap-name
DSCP trust map:
Assign a predefined and reserved trust classification in the policy map for the DSCP flow. Weighted random early detection
(WRED) uses the color assigned to a particular traffic to determine the drop-probability and threshold.
Table 115. Default DSCP trust map
DSCP values Traffic class ID Color
0-3 0 G
4-7 0 Y
8-11 1 G
12-15 1 Y
16-19 2 G
20-23 2 Y
24-27 3 G
28-31 3 Y
Quality of service 1191