Cisco Systems 4500 Switch User Manual


  Open as PDF
of 1504
 
37-51
Software Configuration Guide—Release 15.0(2)SG
OL-23818-01
Chapter 37 Configuring Quality of Service
Configuring QoS on Supervisor Engines II-Plus, II+10GE, IV, V, V-10GE, 4924, 4948, and 4948-10GE
Mapping DSCP Values to Specific Transmit Queues
To map the DSCP values to a transmit queue, perform this task:
This example shows how to map DSCP values to transit queue 2.
Switch# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)# qos map dscp 50 to tx-queue 2
Switch(config)# end
Switch#
This example shows how to verify the configuration.
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 : 02 02 02 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#
Allocating Bandwidth Among Transmit Queues
To configure the transmit queue bandwidth, perform this task:
The bandwidth rate varies with the interface.
Command Purpose
Step 1
Switch(config)# [no] qos map dscp dscp-values to
tx-queue queue-id
Maps the DSCP values to the transit queue. dscp-values
can contain up eight DSCP values. queue-id-value can
range from 1 to 4.
Use the no qos map dscp to tx-queue command to clear
the DSCP values from the transit queue.
Step 2
Switch(config)# end
Exits configuration mode.
Step 3
Switch# show qos maps dscp tx-queues
Verifies the configuration.
Command Purpose
Step 1
Switch(config)# interface gigabitethernet
slot/interface
Selects the interface to configure.
Step 2
Switch(config-if)# tx-queue queue_id
Selects the transmit queue to configure.
Step 3
Switch(config-if-tx-queue)# [no] [bandwidth rate
| percent percent]
Sets the bandwidth rate for the transmit queue.
Use the no keyword to reset the transmit queue
bandwidth ratios to the default values.
Step 4
Switch(config-if-tx-queue)# end
Exits configuration mode.
Step 5
Switch# show qos interface
Verifies the configuration.