Purpose
Command or Action
Allocates buffers to a queue set.
mls qos queue-set output qset-id
buffers allocation1 ... allocation8
Step 3
By default, all allocation values are equally mapped among the four queues (25,
25, 25, 25). Each queue has 1/4 of the buffer space. When eight egress queues are
Example:
Switch(config)#
mls qos
configured, then by default 30 percent of the total buffer space is allocated to queue
2 and 10 percent (each) to queues 1,3,4,5,6,7, and 8.
queue-set output 2 buffers 40 20
If you enabled 8 egress queues as described in Step 2 above, then the following
applies:
20 20 10 10 10 10
•
For
qset-id,
enter the ID of the queue set. The range is 1 to 2. Each port belongs
to a queue set, which defines all the characteristics of the four egress queues
per port.
•
For
allocation1 ... allocation8
, specify eight percentages, one for each queue
in the queue set. For
allocation1
,
allocation3
, and
allocation4
to
allocation8
,
the range is 0 to 99. For
allocation2
, the range is 1 to 100 (including the CPU
buffer).
Allocate buffers according to the importance of the traffic; for example, give a large
percentage of the buffer to the queue with the highest-priority traffic.
To return to the default setting, use the
no mls qos queue-set output
qset-id buffers
global configuration command.
Note
Configures the WTD thresholds, guarantee the availability of buffers, and configure
the maximum memory allocation for the queue-set (four egress queues per port).
mls qos queue-set output qset-id
threshold queue-id drop-threshold1
Step 4
drop-threshold2 reserved-threshold
maximum-threshold
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
Example:
Switch(config)#
mls qos
1, 2, 3, and 4 are set to 50 percent. The maximum thresholds for all queues are set
to 400 percent by default.
If you enabled 8 egress queues as described in Step 2 above, then the following
applies:
queue-set output 2 threshold 2
40 60 100 200
•
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 queue-id range is 1-4 by default and 1-8 when 8 queues
are enabled.
•
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.
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
620
How to Configure QoS
Содержание Catalyst 2960 Series
Страница 78: ...Consolidated Platform Configuration Guide Cisco IOS Release 15 2 4 E Catalyst 2960 X Switches lxxviii Contents ...
Страница 96: ......
Страница 184: ...Consolidated Platform Configuration Guide Cisco IOS Release 15 2 4 E Catalyst 2960 X Switches 102 Additional References ...
Страница 195: ...P A R T II IP Multicast Routing Configuring IGMP Snooping and Multicast VLAN Registration page 115 ...
Страница 196: ......
Страница 250: ......
Страница 292: ......
Страница 488: ......
Страница 589: ...P A R T VI Cisco Flexible NetFlow Configuring NetFlow Lite page 509 ...
Страница 590: ......
Страница 619: ...P A R T VII QoS Configuring QoS page 539 Configuring Auto QoS page 645 ...
Страница 620: ......
Страница 749: ...P A R T VIII Routing Configuring IP Unicast Routing page 669 Configuring IPv6 First Hop Security page 677 ...
Страница 750: ......
Страница 796: ...Consolidated Platform Configuration Guide Cisco IOS Release 15 2 4 E Catalyst 2960 X Switches 714 Additional References ...
Страница 856: ...Consolidated Platform Configuration Guide Cisco IOS Release 15 2 4 E Catalyst 2960 X Switches 774 Additional References ...
Страница 1400: ...Consolidated Platform Configuration Guide Cisco IOS Release 15 2 4 E Catalyst 2960 X Switches 1318 Additional References ...
Страница 1546: ...Consolidated Platform Configuration Guide Cisco IOS Release 15 2 4 E Catalyst 2960 X Switches 1464 Auto Identity ...
Страница 1596: ...Consolidated Platform Configuration Guide Cisco IOS Release 15 2 4 E Catalyst 2960 X Switches 1514 Additional References ...
Страница 1604: ......
Страница 1740: ......
Страница 1764: ...Consolidated Platform Configuration Guide Cisco IOS Release 15 2 4 E Catalyst 2960 X Switches 1682 Additional References ...
Страница 1942: ...Consolidated Platform Configuration Guide Cisco IOS Release 15 2 4 E Catalyst 2960 X Switches 1860 cli_write ...
Страница 1950: ...Consolidated Platform Configuration Guide Cisco IOS Release 15 2 4 E Catalyst 2960 X Switches 1868 context_save ...
Страница 2058: ...Consolidated Platform Configuration Guide Cisco IOS Release 15 2 4 E Catalyst 2960 X Switches 1976 event_register_wdsysmon ...
Страница 2076: ...Consolidated Platform Configuration Guide Cisco IOS Release 15 2 4 E Catalyst 2960 X Switches 1994 smtp_subst ...
Страница 2090: ...Consolidated Platform Configuration Guide Cisco IOS Release 15 2 4 E Catalyst 2960 X Switches 2008 sys_reqinfo_syslog_history ...
Страница 2104: ...Consolidated Platform Configuration Guide Cisco IOS Release 15 2 4 E Catalyst 2960 X Switches 2022 unregister_counter ...
Страница 2105: ...P A R T XII Configuring Cisco IOS IP SLAs Configuring Cisco IP SLAs page 2025 ...
Страница 2106: ......
Страница 2118: ......
Страница 2164: ......