beautypg.com

Applying a dscp mutation map to an interface, Verifying the dscp mutation mapping, Configuring dscp-to-cos mappings – Brocade Network OS Administrator’s Guide v4.1.1 User Manual

Page 492

background image

• DSCP values 1, 3, 5, and 7 are set to output as DSCP number 9.
• DSCP values 11, 13, 15, and 17 are set to output as DSCP number 19.
• DSCP values 12, 14, 16, and 18 are set to output as DSCP number 20
• DSCP values 2, 4, 6, and 8 are set to output as DSCP number 10.

4. Enter the do copy command to save the running-config file to the startup-config file.

switch(config)# do copy running-config startup-config

Applying a DSCP mutation map to an interface

To apply a configured DSCP mutation map to an interface, perform the following steps from privileged
EXEC mode.

1. Enter global configuration mode.

switch# configure terminal

2. Specify the Ethernet interface.

switch(config)# interface tengigabitethernet 3/1/2

3. Activate or apply changes made to the DSCP mutation map to the interface. In this example "test" is

the map name.

switch(conf-if-te-3/1/2)# qos dscp-mutation test

NOTE
To deactivate a map from an interface, enter no qos dscp-mutation name.

4. Specify the DSCP trust mode for incoming traffic.

For Standalone mode:

switch(conf-if-te-2/1/2)# qos trust dscp

For VCS mode:

switch(conf-if-te-2/1/2)# qos dscp-cos test

switch(conf-if-te-2/1/2)# qos dscp-traffic-class test

5. Return to privileged EXEC mode.

switch(conf-if-te-3/1/2)# end

6. Enter the copy command to save the running-config file to the startup-config file.

switch# copy running-config startup-config

Verifying the DSCP mutation mapping

To verify applied DSCP maps, you can use one or both of the following options from global
configuration mode.

• Verify DSCP mapping for a specific map using the do show qos maps dscp-mutation command

and the map name.

switch(config)# do show qos maps dscp-mutation test

• Verify all DSCP mapping by using the do show qos maps command with the dscp-mutation

operand only.

switch(config)# do show qos maps dscp-mutation

• Verify DSCP mutation mapping for an interface by using the show qos interface command and

specifying the interface:

switch(config)# do show qos interface te 3/1/2

Configuring DSCP-to-CoS mappings

Consider the topics discussed below when configuring the DSCP-to-CoS mappings.

Applying a DSCP mutation map to an interface

492

Network OS Administrator’s Guide

53-1003225-04