Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Community Member

whats the best way to limit bandwidth

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.

Thanks

7 REPLIES
Hall of Fame Super Bronze

Re: whats the best way to limit bandwidth

Your guess is correct - you need QoS.

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

Regards,

Edison

Community Member

Re: whats the best way to limit bandwidth

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.

Hall of Fame Super Silver

Re: whats the best way to limit bandwidth

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

see

http://www.cisco.com/en/US/docs/ios/qos/configuration/guide/reg_pkt_flow_per_cls_ps6441_TSD_Products_Configuration_Guide_Chapter.html

http://www.cisco.com/en/US/docs/ios/qos/command/reference/qos_s1.html#wp1074988

Edit:

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

Giuseppe

Community Member

Re: whats the best way to limit bandwidth

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

Hall of Fame Super Bronze

Re: whats the best way to limit bandwidth

Yes, it should work

Community Member

Re: whats the best way to limit bandwidth

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

Hall of Fame Super Bronze

Re: whats the best way to limit bandwidth

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.

Regards,

Edison

526
Views
0
Helpful
7
Replies
CreatePlease to create content