04-04-2008 11:37 AM - edited 03-03-2019 09:25 PM
Hi,
I have a fast ethernet link to our ISP box. Our guranteed service is only 30Mbps.
What is the best way to configure our fast ethernet interface to limit traffic to 30Mbps?
Thanks,
04-04-2008 01:05 PM
You need to use shaping on your ethernet interface ie.
class-map match-all Class_Default
match any
!
!
policy-map WAN_Shape
class Class_Default
shape average 30000000
int fa0/1
service-policy output WAN_Shape
The ISP will probably police the traffic on their end but you are better off using shaping as it is a bit less drastic.
Jon
04-04-2008 01:49 PM
Another option, your Ethernet interface might support GTS, e.g. "traffic-shape rate 30000000". However, I endorse Jon's suggestion of using CBWFQ for future QoS options.
PS:
BTW: class-default is an implict class, you shouldn't need to define a class-map for it.
04-04-2008 02:41 PM
"BTW: class-default is an implict class, you shouldn't need to define a class-map for it."
I know, i just thought it would be a better example rather than just a shape statement under the policy-map. Looking at it now you may have a point :-)
Jon
04-04-2008 05:41 PM
It is a fine example, postscript was directed to other readers, such as perhaps OP, who might not have been aware of the fact.
04-06-2008 10:17 AM
Thanks all.
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