226 Chapter 7: QoS Features Available on the Catalyst 4000 IOS Family of Switches and the Catalyst
Use the following command to display the internal DSCP–to–transmit queue mapping:
ss
ss
hh
hh
oo
oo
ww
ww
qq
qq
oo
oo
ss
ss
mm
mm
aa
aa
pp
pp
ss
ss
dd
dd
ss
ss
cc
cc
pp
pp
tt
tt
xx
xx
--
--
qq
qq
uu
uu
ee
ee
uu
uu
ee
ee
Use the following global configuration command to configure the internal DSCP to the
transmit queue:
[no] qos map dscp
dscp_values
to tx-queue
queue-id
dscp_values represents configuration for up to eight DSCP values to map to a transmit
queue. queue_id represents one of the four transmit queues. For configuring mapping of
more than eight DSCP values, use multiple commands.
Example 7-21 displays the default DSCP-TxQueue mapping table, configures the DSCP-
TxQueue mapping table for assigning DSCP values 40 to 49 to queue 1, and verifies the
DSCP-TxQueue mapping table configuration.
Strict-Priority Queuing
The Catalyst 4000 IOS Family of switches offers strict-priority, Low-Latency Queuing by
designating transmit queue 3 as a high-priority transmit queue. By assigning transmit queue 3
as a high-priority transmit queue, the switch transmits packets out of transmit queue 3
Example 7-21 Displaying, Configuring, and Verifying the DSCP-to-Transmit Queue Mapping Table
Switch#show qos maps dscp tx-queue
DSCP-TxQueue Mapping Table (DSCP = d1d2)
d1 : d2 0 1 2 3 4 5 6 7 8 9
-------------------------------------
0 : 01 01 01 01 01 01 01 01 01 01
1 : 01 01 01 01 01 01 02 02 02 02
2 : 02 02 02 02 02 02 02 02 02 02
3 : 02 02 03 03 03 03 03 03 03 03
4 : 03 03 03 03 03 03 03 03 04 04
5 : 04 04 04 04 04 04 04 04 04 04
6 : 04 04 04 04
Switch#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#qos map dscp 40 41 42 43 44 45 46 47 to tx-queue 1
Switch(config)#qos map dscp 48 49 to tx-queue 1
Switch(config)#end
Switch#show qos maps dscp tx-queue
DSCP-TxQueue Mapping Table (DSCP = d1d2)
d1 : d2 0 1 2 3 4 5 6 7 8 9
-------------------------------------
0 : 01 01 01 01 01 01 01 01 01 01
1 : 01 01 01 01 01 01 02 02 02 02
2 : 02 02 02 02 02 02 02 02 02 02
3 : 02 02 03 03 03 03 03 03 03 03
4 : 01 01 01 01 01 01 01 01 01 01
5 : 04 04 04 04 04 04 04 04 04 04
6 : 04 04 04 04