SUMMARY STEPS
1.
configure terminal
2.
interface interface-id
3.
srr-queue bandwidth shape weight1 weight2 weight3 weight4
4.
end
5.
show mls qos interface interface-id queueing
6.
copy running-config startup-config
DETAILED STEPS
Purpose
Command or Action
Enters the global configuration mode.
configure terminal
Example:
Switch#
configure terminal
Step 1
Specifies the port of the outbound traffic, and enters interface configuration
mode.
interface interface-id
Example:
Switch(config)#
interface
Step 2
gigabitethernet2/0/1
Assigns SRR weights to the egress queues. By default, weight1 is set to 25;
weight2, weight3, and weight4 are set to 0, and these queues are in shared
mode.
srr-queue bandwidth shape weight1
weight2 weight3 weight4
Example:
Switch(config-if)#
srr-queue
Step 3
For
weight1 weight2 weight3 weight4
, enter the weights to control the
percentage of the port that is shaped. The inverse ratio (1/weight) controls
the shaping bandwidth for this queue. Separate each value with a space. The
range is 0 to 65535.
bandwidth shape 8 0 0 0
If you configure a weight of 0, the corresponding queue operates in shared
mode. The weight specified with the
srr-queue bandwidth shape
command
is ignored, and the weights specified with the
srr-queue bandwidth share
interface configuration command for a queue come into effect. When
configuring queues in the same queue-set for both shaping and sharing, make
sure that you configure the lowest number queue for shaping.
The shaped mode overrides the shared mode.
To return to the default setting, use the
no srr-queue bandwidth shape
interface configuration command.
If you enabled 8 egress queues using the
mls qos srr-queue output
queues 8
global configuration command, then you would be able
to assign SRR weights to a total of 8 queues.
Note
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
624
How to Configure QoS
Summary of Contents for Catalyst 2960 Series
Page 96: ......
Page 196: ......
Page 250: ......
Page 292: ......
Page 488: ......
Page 589: ...P A R T VI Cisco Flexible NetFlow Configuring NetFlow Lite page 509 ...
Page 590: ......
Page 619: ...P A R T VII QoS Configuring QoS page 539 Configuring Auto QoS page 645 ...
Page 620: ......
Page 750: ......
Page 1604: ......
Page 1740: ......
Page 2105: ...P A R T XII Configuring Cisco IOS IP SLAs Configuring Cisco IP SLAs page 2025 ...
Page 2106: ......
Page 2118: ......
Page 2164: ......