-q all qmap qinfo scheduler [<port list>]

Queries the current COS/QOS Settings.

all - Displays all of the queue mappings, queue limits, metering and scheduling settings qmap - Displays the priority to COS queue mappings.

qinfo - Displays queue limits for the COS queues.

scheduler - Displays the traffic metering and shaping settings and the scheduler mode.

EXAMPLES

1.To set Ethernet ports zre0 to zre19 to allow up to 50 packets in priority queues 0-3 and up to 75 packets in queues 4-7:

zcos –n 50,50,50,50,75,75,75,75 zre0..19

2.To map packet priorities 1-1 to COS queues for packets received on all ports: zcos –m 0,1,2,3,4,5,6,7

3.To set up weighted round robin scheduling on ports zre10 to zre14 and the CPU with a weight of 2 for queue 0, 3 for queue 1, and 1 for all other queues:

zcos –k WRR –w 1,3,1,1,1,1,1,1 zre10..14,cpu

4.To limit the rate of packets sent to the CPU to 15 Megabits/sec., with bursts of no more than

20,000 bytes:

zcos –g 15000,20 cpu

5.To guarantee CPU cos queue 5 500 kbps, queue 6 200 kbps, and queue 7 1 mbps, and all other queues no guarantee:

zcos –r 0,0,0,0,0,500,200,1000 cpu

6. To limit CPU cos queues 0 – 4 to 1000 kbps, with a burst of 20Kbytes:

zcos –l 1000,1000,1000,1000,1000 –t 20,20,20,20,20 cpu

SEE ALSO

zfilterd, zqosd, ztmd

Ethernet Switch Blade User's Guide

release 3.2.2j

page 285

Page 285
Image 285
Znyx Networks bh5700 manual Examples