Cisco Systems 2960 Model Vehicle User Manual


  Open as PDF
of 1004
 
33-70
Catalyst 2960 and 2960-S Switch Software Configuration Guide
OL-8603-09
Chapter 33 Configuring QoS
Configuring Standard QoS
Allocating Bandwidth Between the Ingress Queues
Note Catalyst 2960-S switches do not support ingress queueing.
You need to specify how much of the available bandwidth is allocated between the ingress queues. The
ratio of the weights is the ratio of the frequency in which the SRR scheduler sends packets from each
queue. The bandwidth and the buffer allocation control how much data can be buffered before packets
are dropped. On ingress queues, SRR operates only in shared mode.
Beginning in privileged EXEC mode, follow these steps to allocate bandwidth between the ingress
queues. This procedure is optional.
To return to the default setting, use the no mls qos srr-queue input bandwidth global configuration
command.
This example shows how to assign the ingress bandwidth to the queues. Priority queueing is disabled,
and the shared bandwidth ratio allocated to queue 1 is 25/(25+75) and to queue 2 is 75/(25+75):
Switch(config)# mls qos srr-queue input priority-queue 2 bandwidth 0
Switch(config)# mls qos srr-queue input bandwidth 25 75
Command Purpose
Step 1
configure terminal Enter global configuration mode.
Step 2
mls qos srr-queue input bandwidth
weight1 weight2
Assign shared round robin weights to the ingress queues.
The default setting for weight1 and weight2 is 4 (1/2 of the bandwidth is
equally shared between the two queues).
For weight1 and weight2, the range is 1 to 100. Separate each value with
a space.
SRR services the priority queue for its configured weight as specified by
the bandwidth keyword in the mls qos srr-queue input priority-queue
queue-id bandwidth weight global configuration command. Then, SRR
shares the remaining bandwidth with both ingress queues and services
them as specified by the weights configured with the mls qos srr-queue
input bandwidth weight1 weight2 global configuration command. For
more information, see the “Configuring the Ingress Priority Queue”
section on page 33-71.
Step 3
end Return to privileged EXEC mode.
Step 4
show mls qos interface queueing
or
show mls qos input-queue
Verify your entries.
Note Catalyst 2960-S switches do not support ingress queueing.
Step 5
copy running-config startup-config (Optional) Save your entries in the configuration file.