Chapter 2 Cisco Catalyst Blade Switch 3020 for HP Cisco IOS Commands
Examples
This example shows how to configure the queues for the same port for both shaping and sharing. Because
the weight ratios for queues 2, 3, and 4 are set to 0, these queues operate in shared mode. The bandwidth
weight for queue 1 is 1/8, which is 12.5 percent. Queue 1 is guaranteed this bandwidth and limited to it;
it does not extend its slot to the other queues even if the other queues have no traffic and are idle. Queues
2, 3, and 4 are in shared mode, and the setting for queue 1 is ignored. The bandwidth ratio allocated for
the queues in shared mode is 4/(4+4+4), which is 33 percent:
Switch(config)# interface gigabitethernet0/1
Switch(config-if)# srr-queue bandwidth shape 8 0 0 0
Switch(config-if)# srr-queue bandwidth share 4 4 4 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 share
OL-8916-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 shared weights and enables bandwidth sharing on
the four egress queues mapped to a port.
Cisco Catalyst Blade Switch for HP Command Reference
srr-queue bandwidth shape
2-485