QoS Config on Ehternet interface

Unanswered Question
Jon Marshall Tue, 03/23/2010 - 02:52
User Badges:
  • Super Blue, 32500 points or more
  • Hall of Fame,

    Founding Member

  • Cisco Designated VIP,

    2017 LAN, WAN

[email protected] wrote:


i have a Layer3 1 gig ethernet interface on to which a 10Mb link has been terminated, i would like to configure QoS on the interface so that whenever the utilization reaches 10Mb it started shaping trafic. Please help




It would help to know which device you are working with. Be aware that the vast majority of Catalyst switches do not support shaping but there are perhaps other ways to limit the bandwidth. Need to know the device.


francisco_1 Tue, 03/23/2010 - 03:50
User Badges:
  • Gold, 750 points or more


I'm sure Jon will provide you a better solution but the config below is taken from C4500 with shaping enable.

This example below is from C4500 (IOS 12.2(53)SG ) shows how to configure class-level, average-rate shaping. It limits traffic class class1 to a data transmission rate of 256 kbps:

Switch# configure terminal
Switch(config)# policy-map policy1
Switch(config-pmap)# class class1
Switch(config-pmap-c)# shape average 256000
Switch(config-pmap-c)# exit
Switch(config-pmap)# exit
Switch(config)# interface gigabitethernet1/1
Switch(config-if)# service-policy output policy1
Switch(config-if)# end

Switch# show policy-map policy1
  Policy Map policy1
    Class class1
       shape average 256000



see http://www.cisco.com/en/US/docs/switches/lan/catalyst4500/12.2/40sg/configuration/guide/qos.html

John Blakley Tue, 03/23/2010 - 07:35
User Badges:
  • Purple, 4500 points or more

I'm not sure I understand your question. Are you saying that you have a 10Mb connection connected into your 1Gb port on the switch? If that's the case, you wouldn't need to shape it back to 10Mb because it would only get 10Mb anyway....

Sorry if I misunderstood....



This Discussion