Chapter 2 Catalyst 2960 Switch Cisco IOS Commands
Examples
This example shows how to configure the weight ratio of the SRR scheduler running on an egress port.
Four queues are used. The bandwidth ratio allocated for each queue in shared mode is 1/(1+2+3+4),
2/(1+2+3+4), 3/(1+2+3+4), and 4/(1+2+3+4), which is 10 percent, 20 percent, 30 percent, and 40
percent for queues 1, 2, 3, and 4. This means that queue 4 has four times the bandwidth of queue 1, twice
the bandwidth of queue 2, and one-and-a-third times the bandwidth of queue 3.
Switch(config)# interface gigabitethernet0/1
Switch(config-if)# srr-queue bandwidth share 1 2 3 4
You can verify your settings by entering the show mls qos interface [interface-id] queueing privileged
EXEC command.
Related Commands
Command
mls qos queue-set output buffers
mls qos srr-queue output cos-map
mls qos srr-queue output dscp-map
mls qos queue-set output threshold
priority-queue
queue-set
show mls qos interface
srr-queue bandwidth shape
78-16882-01
Description
Allocates buffers to a queue-set.
Maps class of service (CoS) values to an egress queue or maps
CoS values to a queue and to a threshold ID.
Maps Differentiated Services Code Point (DSCP) values to an
egress queue or maps DSCP values to a queue and to a
threshold ID.
Configures the weighted tail-drop (WTD) thresholds,
guarantees the availability of buffers, and configures the
maximum memory allocation to a queue-set.
Enables the egress expedite queue on a port.
Maps a port to a queue-set.
queueing
Displays quality of service (QoS) information.
Assigns the shaped weights and enables bandwidth shaping on
the four egress queues mapped to a port.
srr-queue bandwidth share
Catalyst 2960 Switch Command Reference
2-467