srr-queue bandwidth shape. how to see if it works ?

Unanswered Question
Mar 12th, 2009
User Badges:
  • Bronze, 100 points or more

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

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 3 (1 ratings)
Loading.
gnijs Thu, 03/12/2009 - 14:23
User Badges:
  • Bronze, 100 points or more

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

Actions

This Discussion