Cisco WS-C2960-24LC-S Software Configuration Manual page 564

Software guide
Table of Contents

Advertisement

Configuring Standard QoS
Command
Step 3
mls qos queue-set output qset-id
threshold queue-id drop-threshold1
drop-threshold2 reserved-threshold
maximum-threshold
Step 4
interface interface-id
Step 5
queue-set qset-id
Step 6
end
Step 7
show mls qos interface [interface-id]
buffers
Step 8
copy running-config startup-config
To return to the default setting, use the no mls qos queue-set output qset-id buffers global
configuration command. To return to the default WTD threshold percentages, use the no mls qos
queue-set output qset-id threshold [queue-id] global configuration command.
This example shows how to map a port to queue-set 2. It allocates 40 percent of the buffer space to egress
queue 1 and 20 percent to egress queues 2, 3, and 4. It configures the drop thresholds for queue 2 to 40
and 60 percent of the allocated memory, guarantees (reserves) 100 percent of the allocated memory, and
configures 200 percent as the maximum memory that this queue can have before packets are dropped:
Switch(config)# mls qos queue-set output 2 buffers 40 20 20 20
Switch(config)# mls qos queue-set output 2 threshold 2 40 60 100 200
Switch(config)# interface gigabitethernet0/1
Switch(config-if)# queue-set 2
Catalyst 2960 Switch Software Configuration Guide
28-64
Purpose
Configure the WTD thresholds, guarantee the availability of buffers, and
configure the maximum memory allocation for the queue-set (four egress
queues per port).
By default, the WTD thresholds for queues 1, 3, and 4 are set to 100
percent. The thresholds for queue 2 are set to 200 percent. The reserved
thresholds for queues 1, 2, 3, and 4 are set to 50 percent. The maximum
thresholds for all queues are set to 400 percent.
For qset-id, enter the ID of the queue-set specified in Step 2. The
range is 1 to 2.
For queue-id, enter the specific queue in the queue-set on which the
command is performed. The range is 1 to 4.
For drop-threshold1 drop-threshold2, specify the two WTD
thresholds expressed as a percentage of the queue's allocated
memory. The range is 1 to 3200 percent.
For reserved-threshold, enter the amount of memory to be guaranteed
(reserved) for the queue expressed as a percentage of the allocated
memory. The range is 1 to 100 percent.
For maximum-threshold, enable a queue in the full condition to obtain
more buffers than are reserved for it. This is the maximum memory
the queue can have before the packets are dropped if the common pool
is not empty. The range is 1 to 3200 percent.
Specify the port of the outbound traffic, and enter interface configuration
mode.
Map the port to a queue-set.
For qset-id, enter the ID of the queue-set specified in Step 2. The range is
1 to 2. The default is 1.
Return to privileged EXEC mode.
Verify your entries.
(Optional) Save your entries in the configuration file.
Chapter 28
Configuring QoS
OL-8603-04

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ws-c2960s-24td-lWs-c2960s-48lpd-lCatalyst 2960

Table of Contents