Verifying dscp trust, Creating a dscp mutation map – Brocade Network OS Administrator’s Guide v4.1.1 User Manual
Page 491

NOTE
Note the restrictions for using this feature in VCS mode under
Restrictions for Layer 3 features in VCS
on page 481.
To configure DSCP trust mode, perform the following steps from privileged EXEC mode.
1. Enter global configuration mode.
switch# configure terminal
2. Specify the Ethernet interface.
The gigabitethernet rbridge-id/slot/port operand is used only for the Brocade VDX 6710, Brocade
VDX 8770-4, and Brocade VDX 8770-8.
switch(config)# interface tengigabitethernet 10/0/2
3. Set the interface mode to QoS DSCP trust.
switch(conf-if-te-10/0/2)# qos trust dscp
NOTE
To deactivate the DSCP trust mode from an interface, enter no qos trust dscp.
4. Return to privileged EXEC mode.
switch(conf-if-te-10/0/2)# end
5. Enter the copy command to save the running-config file to the startup-config file.
switch# copy running-config startup-config
Verifying DSCP trust
To verify applied DSCP trust, you can enter the following command from global configuration mode,
where tengigabitethernet 10/0/2 is the interface name.
switch(config)# do show qos interface tengigabitethernet 10/0/2
Creating a DSCP mutation map
NOTE
This feature is only supported on Brocade VDX 8770-4, VDX 8770-8, VDX 6740, VDX 6740T, and VDX
6740T-1G.
To create a DSCP mutation map and re-map the incoming DSCP value of the ingress packet to egress
DSCP values, perform the following steps from privileged EXEC mode.
1. Enter global configuration mode.
switch# configure terminal
2. Create the DSCP mutation map by specifying a map name. The following command uses "test" as
the map name and places the system in DSCP mutation mode so that you can map to traffic classes.
switch(config)# qos map dscp-mutation test
3. Once the system is in DSCP mutation mode for the configured map (in this case dscp-mutation-test),
you can map ingress DSCP values to egress DSCP values by using the mark command as in the
following examples:
switch(dscp-mutation-test)# mark 1,3,5,7 to 9
switch(dscp-mutation-test)# mark 11,13,15,17 to 19
switch(dscp-mutation-test)# mark 12,14,16,18 to 20
switch(dscp-mutation-test)# mark 2,4,6,8 to 10
This sets the following:
Verifying DSCP trust
Network OS Administrator’s Guide
491
53-1003225-04