Verifying cos-to-traffic-class mapping, Configuring dscp-to-traffic-class maps, Mapping dscp to-traffic class – Brocade Network OS Administrator’s Guide v4.1.1 User Manual
Page 497

Verifying CoS-to-Traffic-Class mapping
To verify a CoS-to-Traffic-Class mapping, you can use one or both of the following options from global
configuration mode.
• Verify CoS-Traffic-Class mapping for a specific map by using the do show qos maps cos-traffic-
class command and specifying a map name.
switch(config)# do show qos map cos-traffic-class test
• Verify all COS-to-Traffic-Class mapping by using the do show qos maps command with the cos-
traffic-class operand only.
switch(config)# do show qos maps cos-traffic-class
• Verify CoS-to-Traffic-Class mapping for an interface by using the do show qos interface command
and specifying the interface:
switch(config)# do show qos interface te 12/2/2
Configuring DSCP-to-traffic-class maps
Consider the topics discussed below when configuring the DSCP-to-traffic-class mappings.
Mapping DSCP to-traffic class
Ingress DSCP values can be used to classify traffic for the ingress interface into a specific traffic class
by means of a DSCP-to-Traffic class-map. To map a DSCP-to-Traffic-Class, perform the following steps
from privileged EXEC mode.
NOTE
The restrictions for using this feature in VCS mode are discussed in
Restrictions for Layer 3 features in
on page 481.
1. Enter global configuration mode.
switch# configure terminal
2. Create the DSCP-Traffic-Class mapping by specifying a map name. The following command uses
"test" as the map name and places the system in dscp-traffic-class mode so that you can configure
mapping for the map that you created.
switch(config)# qos map dscp-traffic-class test
3. Once the system is in dscp-traffic-class mode for the configured map (in this case dscp-traffic-class-
test), you can map DSCP values to traffic classes by using the mark command as in the following
examples:
switch(dscp-traffic-class-test)# mark 1,3,5,7 to 3
switch(dscp-traffic-class-test)# mark 11,13,15,17 to 5
switch(dscp-traffic-class-test)# mark 12,14,16,18 to 6
switch(dscp-traffic-class-test)# mark 2,4,6,8 to 7
This sets the following:
• DSCP values 1, 3, 5, and 7 are mapped to traffic class 3.
• DSCP values 11, 13, 15, and 17 are mapped to traffic class 5.
• DSCP values 12, 14, 16, and 18 are mapped to traffic class 6.
• DSCP values 2, 4, 6, and 8 are mapped to traffic class 7.
4. Return to privileged EXEC mode:
switch(dscp-traffic-class-test)# end
5. Enter the copy command to save the running-config file to the startup-config file.
switch# copy running-config startup-config
Verifying CoS-to-Traffic-Class mapping
Network OS Administrator’s Guide
497
53-1003225-04