Monday, June 3, 2013

Fun with traffic shaping

The largest expsource with traffic shaping at megabit speeds is the number of zeros that you have to type in and the fact that IOS does not support the use of commas. Thus it is very easy to set your shaping rate to 10meg when you mean 100meg. This will often not show up at the time of the change because traffic is less than your shaping rate in your change window. This is even a bigger problem when you are upgrading bandwidth.

The problem will be visible in a sho policyt-map int <your interface>

Class-map: class-default (match-any)
      38004728421 packets, 23186941391069 bytes
      30 second offered rate 0000 bps, drop rate 0000 bps
      Match: any
      Queueing
      queue limit 23500 packets
      (queue depth/total drops/no-buffer drops) 0/5907809/0
      (pkts output/bytes output) 37998852043/23183155616853
      shape (average) cir 94000000, bc 376000, be 376000
      target shape rate 94000000

and you see the large number of drops but 0 no buffer drops, so traffic is being dropped by the shaping policy.

Moral of the story allways cut and paste these can put your on commas in

No comments:

Post a Comment