whats the best way to limit bandwidth

Unanswered Question
Jun 24th, 2010

We have a client who is paying for only 300mbps bandwidth, however they exceed that limitation by quite a bit as they are on a gig interface (layer3, we bgp peer with this client).  Whats the best way to keep them under the 300mpbs limit?  I was thinking a QOS policy map, but what would that look like.


I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Edison Ortiz Thu, 06/24/2010 - 12:36

Your guess is correct - you need QoS.

I recommend configuring a shaper for the egress traffic. What hardware do you have at hand?



w951duu Thu, 06/24/2010 - 12:39

Yeah I was thinking of the srr-queue bandwidth limit command, but can't configure the port for that for some reason, it's a 6506 with a 24 port sfp gig card running 12.2.18 code.

Giuseppe Larosa Thu, 06/24/2010 - 12:39

Hello Gregory,

depending on the device and what type of GE port is you can use shaping or policing.

shaping should be preferred if available because it is less aggressive (exceeding packets are buffered not dropped) but it is supported only in outbound direction.

Policing can be applied inbound or outbound

a simple shape-all policy-map looks like

policy-map shape_all_300Mbps

class class-default

shape 300000000

int gix/y

service-policy output shape_all_300Mbps





unfortunately on an ethernet linecard of a C6500 you cannot do shaping you would need a SIP 400 with a 5GE SPA to do that. or an ES 20 or better linecard.

Hope to help


w951duu Thu, 06/24/2010 - 12:48

The srr-queue bandwidth limit won't work on a 6506 (12.2.18) will it?

w951duu Thu, 06/24/2010 - 13:02

Actually I tried the following:

policy-map shape_all_400Mbps

shape peak 40000000

int g2/5

service-policy output shape_all_400mpbps

but I got an error message when I tried to apply it on the the interface:

MQC features are not supported in output direction for this interface

Any thoughts

Edison Ortiz Sun, 06/27/2010 - 06:23

You are facing a hardware limitation. The command is available in the 6500 as you can configure this feature if you had a SIP/SPA module.

You can't do egress shaping with regular line cards.




This Discussion