Bandwidth on Ethernet

Unanswered Question
Apr 4th, 2008
User Badges:

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,

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (2 ratings)
Loading.
Jon Marshall Fri, 04/04/2008 - 13:05
User Badges:
  • Super Blue, 32500 points or more
  • Hall of Fame,

    Founding Member

  • Cisco Designated VIP,

    2017 LAN, WAN

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

Joseph W. Doherty Fri, 04/04/2008 - 13:49
User Badges:
  • Super Bronze, 10000 points or more

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.

Jon Marshall Fri, 04/04/2008 - 14:41
User Badges:
  • Super Blue, 32500 points or more
  • Hall of Fame,

    Founding Member

  • Cisco Designated VIP,

    2017 LAN, WAN

"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




Joseph W. Doherty Fri, 04/04/2008 - 17:41
User Badges:
  • Super Bronze, 10000 points or more

It is a fine example, postscript was directed to other readers, such as perhaps OP, who might not have been aware of the fact.

Actions

This Discussion