Configuration Guide User guide
1984 FastIron Configuration Guide
53-1002494-02
Configuring QoS mapping configuration
Changing the DSCP to internal forwarding
priority mappings
To change the DSCP to internal forwarding priority mappings for all the DSCP ranges, enter
commands such as the following at the global CONFIG level of the CLI.
Brocade(config)#qos-tos map dscp-priority 0 2 3 4 to 1
Brocade(config)#qos-tos map dscp-priority 8 to 5
Brocade(config)#qos-tos map dscp-priority 16 to 4
Brocade(config)#qos-tos map dscp-priority 24 to 2
Brocade(config)#qos-tos map dscp-priority 32 to 0
Brocade(config)#qos-tos map dscp-priority 40 to 7
Brocade(config)#qos-tos map dscp-priority 48 to 3
Brocade(config)#qos-tos map dscp-priority 56 to 6
Use the following command to map priority levels to DSCP values.
[no] qos-tos map dscp-priority <dscp-value> [<dscp-value> ...] to <priority>
Syntax:
The <dscp-value> [<dscp-value> ...] variable specifies the DSCP value ranges you are remapping.
You can specify up to eight DSCP values in the same command, to map to the same forwarding
priority.
The <priority> variable specifies the internal forwarding priority.
Following is an example of using this command.
qos-tos map dscp-priority 1 2 3 4 5 6 7 8 to 6
Following is ouput displayed from using the show qos-tos command as a result of issuing the
preceding command.
This output displays mappings in the DSCP to forwarding priority portion of the QoS information
display. To read this part of the display, select the first part of the DSCP value from the d1 column
and select the second part of the DSCP value from the d2 row. For example, to read the DSCP to
forwarding priority mapping for DSCP value 24, select 2 from the d1 column and select 4 from the
d2 row. The mappings that are changed by the example qos-tos map dscp-priority command are
shown below in bold type.
Brocade#show qos-tos
Portions of table omitted for simplicity.
DSCP-Priority map: (dscp = d1d2)
d2| 0 1 2 3 4 5 6 7 8 9
d1 |
-----+----------------------------------------
0 | 1 0 1 1 1 0 0 0 5 1
1 | 6 1 1 1 1 1 4 2 2 2
2 | 2 2 2 2 2 3 3 3 3 3
3 | 3 3 0 4 4 4 4 4 4 4
4 | 7 5 5 5 5 5 5 5 3 6
5 | 6 6 6 6 6 6 6 7 7 7
6 | 7 7 7 7