http://www.cisco.com/en/US/docs/switches/lan/catalyst3560/software/release/12
.2_25_see/command/reference/cli3.html
http://www.cisco.com/en/US/docs/switches/lan/catalyst3560/software/release/12
.2_44_se/configuration/guide/swqos.html
- Shaped Round Robin (SRR)
- SRR shape mode (srr-queue bandwidth shape) > BW restriction =
policing
- SRR share mode (srr-queue bandwidth share) > guaranteed BW based on
weight
- shape overrides share
- 4 egress queues
- priority-queue out on an interface, it turns Queue 1 (always Q1) into
priority queue
- WTD Weighted Tail Drop queue length
- queue set 1 is assigned to all ports by default
- 0 (zero) means that queue works in the shared mode
- queue can be configured per port basic
Sw4#sh mls qos queue-set
Queueset: 1
Queue : 1 2 3 4
----------------------------------------------
buffers : 25 25 25 25
threshold1: 100 200 100 100
threshold2: 100 200 100 100
reserved : 50 50 50 50
maximum : 400 400 400 400
Queueset: 2
Queue : 1 2 3 4
----------------------------------------------
buffers : 25 25 25 25
threshold1: 100 200 100 100
threshold2: 100 200 100 100
reserved : 50 50 50 50
maximum : 400 400 400 400
Sw4#sh mls qos queue-set 1
Queueset: 1
Queue : 1 2 3 4
----------------------------------------------
buffers : 25 25 25 25
threshold1: 100 200 100 100
threshold2: 100 200 100 100
reserved : 50 50 50 50
maximum : 400 400 400 400
Sw4#sh mls qos queue-set 2
Queueset: 2
Queue : 1 2 3 4
----------------------------------------------
buffers : 25 25 25 25
threshold1: 100 200 100 100
threshold2: 100 200 100 100
reserved : 50 50 50 50
maximum : 400 400 400 400
*Queue map
*
To map specific cos or dscp values to Queue 1,2,3 or 4 and to threshold 1 or
2 use below command, example shows that DSCP 16 17 18 19 will be assigned to
queue 1 and threshold 1:
Sw4(config)#mls qos srr-queue out dscp-map queue 1 threshold 1 16 17 18 19
*Queue configuration (queue-set)
*
To configure the queue-set buffer percentage use below command:
Sw4(config)#mls qos queue-set out 1 ?
buffers assign buffers to each egress queue
threshold Assign threshold values to a queue
Sw4(config)#mls qos queue-set out 1 buffers ?
<0-99> enter buffer percentage for queue 1 0-99
Sw4(config)#mls qos queue-set out 1 buffers 1 ?
<1-100> enter buffer percentage for queue 2 1-100 (includes CPU buffer)
Sw4(config)#mls qos queue-set out 1 buffers 1 2 ?
<0-99> enter buffer percentage for queue 3 0-99
Sw4(config)#mls qos queue-set out 1 buffers 1 2 3 ?
<0-99> enter buffer percentage for queue 4 0-99
Sw4(config)#mls qos queue-set out 1 buffers 1 2 3 4 ?
<cr>
Sw4(config)#mls qos queue-set out 1 buffers 1 2 3 4
The Sum should be equal to 100 percent
Doesn't like that... Guess I have to learn to count.
Let's try this one:
Sw4(config)#mls qos queue-set out 1 buffers 10 20 30 40
Sw4(config)#do sh mls qos queue-set 1
Queueset: 1
Queue : 1 2 3 4
----------------------------------------------
buffers : 10 20 30 40
threshold1: 200 200 100 100
threshold2: 400 200 100 100
reserved : 100 50 50 50
maximum : 3200 400 400 400
Sw4(config)#
To configure the queue-set threshold values use below command:
Sw4(config)#mls qos queue-set out 1 threshold 1 ?
<1-3200> enter drop threshold1 1-3200
Sw4(config)#mls qos queue-set out 1 threshold 1 200 ?
<1-3200> enter drop threshold2 1-3200
Sw4(config)#mls qos queue-set out 1 threshold 1 200 400 ?
<1-100> enter reserved threshold 1-100
Sw4(config)#mls qos queue-set out 1 threshold 1 200 400 100 ?
<1-3200> enter maximum threshold 1-3200
Sw4(config)#mls qos queue-set out 1 threshold 1 200 400 100 3200 ?
<cr>
Sw4(config)#mls qos queue-set out 1 threshold 1 200 400 100 3200
Sw4(config)#do sh mls qos queue-set 1
Queueset: 1
Queue : 1 2 3 4
----------------------------------------------
buffers : 25 25 25 25
threshold1: 200 200 100 100
threshold2: 400 200 100 100
reserved : 100 50 50 50
maximum : 3200 400 400 400
Sw4(config)#
Kewl stuff - If you one ever need to get a little bolder and has the need.
-- Darby Weaver Network Engineer http://www.darbyslogs.blogspot.com darbyweaver_at_yahoo.com Blogs and organic groups at http://www.ccie.netReceived on Thu Apr 28 2011 - 09:52:57 ART
This archive was generated by hypermail 2.2.0 : Sun May 01 2011 - 09:00:29 ART