03-12-2009 02:08 PM - edited 03-06-2019 04:33 AM
When a port is configured with:
Switch(config)# interface gigabitethernet0/1
Switch(config-if)# srr-queue bandwidth shape 8 0 0 0
Switch(config-if)# srr-queue bandwidth share 4 4 4 4
The bandwidth in queue 1 is shaped and limited to 8%
On a switch, how do i see if a port has already dropped packets in queue 1.
How do i detect that my queue1 is really full and the switch is dropping (or shaping) packets actively ?
mvg,
Geert
03-12-2009 02:23 PM
I guess i solved my own question:
sh platform port-asic stats enqueue gi1/0/7
Interface Gi1/0/7 TxQueue Enqueue Statistics
Queue 0
Weight 0 Frames 2
Weight 1 Frames 0
Weight 2 Frames 2708027139
Queue 1
Weight 0 Frames 0
Weight 1 Frames 5458
Weight 2 Frames 24162932
Queue 2
Weight 0 Frames 0
Weight 1 Frames 0
Weight 2 Frames 50055093
Queue 3
Weight 0 Frames 13232
Weight 1 Frames 0
Weight 2 Frames 74666263
drops:
sh platform port-asic stats drop gi1/0/7
Interface Gi1/0/7 TxQueue Drop Statistics
Queue 0
Weight 0 Frames 0
Weight 1 Frames 0
Weight 2 Frames 0
Queue 1
Weight 0 Frames 0
Weight 1 Frames 0
Weight 2 Frames 0
Queue 2
Weight 0 Frames 0
Weight 1 Frames 0
Weight 2 Frames 0
Queue 3
Weight 0 Frames 0
Weight 1 Frames 0
Weight 2 Frames 0
03-12-2009 04:53 PM
The bandwidth in queue 1 is shaped and limited to 8%
Not 8% but 1/8 or 12.5% of the interface bandwidth.
__
Edison.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide