Changing the DSCP to Internal Forwarding Priority Mappings
Follow this example to change the DSCP to internal forwarding priority mappings for
all the DSCP ranges.
- Enter global configuration mode.
- Change the DSCP to internal forwarding priority mappings.
device(config)# qos-tos map dscp-priority 1 2 3 4 5 6 7 8 to 6 device(config)# qos-tos map dscp-priority 16 to 4 device(config)# qos-tos map dscp-priority 24 to 2 device(config)# qos-tos map dscp-priority 32 to 0 device(config)# qos-tos map dscp-priority 40 to 7 device(config)# qos-tos map dscp-priority 48 to 3 device(config)# qos-tos map dscp-priority 56 to 6
- Return to privileged EXEC mode.
- Verify the configuration.
device# show qos-tos DSCP-->Traffic-Class map: (DSCP = d1d2: 00, 01...63) d2| 0 1 2 3 4 5 6 7 8 9 d1 | -----+---------------------------------------- 0 | 1 6 6 6 6 6 6 6 6 1 1 | 1 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 Traffic-Class-->802.1p-Priority map (use to derive DSCP--802.1p-Priority): Traffic | 802.1p Class | Priority --------+--------- 0 | 0 1 | 1 2 | 2 3 | 3 4 | 4 5 | 5 6 | 6 7 | 7 --------+---------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. - Save the configuration.
Change the DSCP to Internal Forwarding Priority Mappings Configuration Example
device# configure terminal device(config)# qos-tos map dscp-priority 1 2 3 4 5 6 7 8 to 6 device(config)# qos-tos map dscp-priority 8 to 5 device(config)# qos-tos map dscp-priority 16 to 4 device(config)# qos-tos map dscp-priority 24 to 2 device(config)# qos-tos map dscp-priority 32 to 0 device(config)# qos-tos map dscp-priority 40 to 7 device(config)# qos-tos map dscp-priority 48 to 3 device(config)# qos-tos map dscp-priority 56 to 6 device(config)# exit device# show qos-tos device# write memory