36-63
Cisco IE 3000 Switch Software Configuration Guide
OL-13018-03
Chapter 36 Configuring QoS
Configuring Standard QoS
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 gigabitethernet1/1
lSwitch(config-if)#
queue-set 2
Step 3
mls qos queue-set output
qset-id
threshold
queue-id drop-threshold1
drop-threshold2 reserved-threshold
maximum-threshold
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.
Step 4
interface
interface-id
Specify the port of the outbound traffic, and enter interface configuration
mode.
Step 5
queue-set
qset-id
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.
Step 6
end
Return to privileged EXEC mode.
Step 7
show mls qos interface
[
interface-id
]
buffers
Verify your entries.
Step 8
copy running-config startup-config
(Optional) Save your entries in the configuration file.
Command
Purpose
Содержание IE 3000
Страница 36: ...xxxiv Cisco IE 3000 Switch Software Configuration Guide OL 13018 03 Preface ...
Страница 784: ...39 20 Cisco IE 3000 Switch Software Configuration Guide OL 13018 03 Chapter 39 Troubleshooting Troubleshooting Tables ...
Страница 874: ...Index IN 42 Cisco IE 3000 Switch Software Configuration Guide OL 13018 03 ...