37-52
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
For systems using Supervisor Engine II-Plus, Supervisor Engine II-Plus TS, Supervisor Engine III, and
Supervisor Engine IV, bandwidth can be configured on these ports only:
Uplink ports on supervisor engines
Ports on the WS-X4306-GB GBIC module
Ports on the WS-X4506-GB-T CSFP module
The two 1000BASE-X ports on the WS-X4232-GB-RJ module
The first two ports on the WS-X4418-GB module
The two 1000BASE-X ports on the WS-X4412-2GB-TX module
For systems using Supervisor Engine V, bandwidth can be configured on all ports (10/100 Fa st Ethernet,
10/100/1000BASE-T, and 1000BASE-X).
This example shows how to configure the bandwidth of one MBps on transmit queue 2:
Switch# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)# interface gigabitethernet 1/1
Switch(config-if)# tx-queue 2
Switch(config-if-tx-queue)# bandwidth 1000000
Switch(config-if-tx-queue)# end
Switch#
Configuring Traffic Shaping of Transmit Queues
To guarantee that packets transmitted from a transmit queue do not exceed a specified maximum rate,
perform this task:
This example shows how to configure the shape rate to one MBps on transmit queue 2:
Switch# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)# interface gigabitethernet 1/1
Switch(config-if-tx-queue)# tx-queue 2
Switch(config-if-tx-queue)# shape 1000000
Switch(config-if-tx-queue)# end
Switch#
Command Purpose
Step 1 Switch(config)# interface {fastethernet |
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] [shape rate |
percent percent]Sets the transmit rate for the transmit queue.
Use the no keyword to clear the transmit queue maximum
rate.
Step 4 Switch(config-if-tx-queue)# end Exits configuration mode.
Step 5 Switch# show qos interface Verifies the configuration.