limit a port to 200 megs

Unanswered Question
Feb 19th, 2009
User Badges:

I have a 3550-12g switch software Version 12.2(44)SE5 I have a customer that wants a 200meg connection…They're plugged into port 4 with a LX gbic…What would be the best way to only allow 200meg in or out of that port?


  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
simontibbitts Thu, 02/19/2009 - 13:03
User Badges:
  • Silver, 250 points or more

Hello.


This should do it:


mls qos

!

policy-map SHAPE_ME

class class-default

police 200000000

!

interface GigabithEthernet0/1

service-policy output SHAPE_ME

service-policy input SHAPE_ME



Simon

Giuseppe Larosa Thu, 02/19/2009 - 13:08
User Badges:
  • Super Silver, 17500 points or more
  • Hall of Fame,

    Founding Member

Hello SG,

you can use modular QoS


service-policy {input policy-map-name | output policy-map-name}


see


http://www.cisco.com/en/US/docs/switches/lan/catalyst3550/software/release/12.2_44_se/configuration/guide/swqos.html#wp1044737


output direction requires more care.


Policers can be configured only on a physical port or on a per-port per-VLAN basis (specifies the bandwidth limits for the traffic on a per-VLAN basis, for a given port). Per-port per-VLAN policing is not supported on routed ports or on virtual (logical) interfaces. It is supported only on an ingress port configured as a trunk or as a static-access port.


•Only one policer can be applied to a packet per direction.


Hope to help

Giuseppe


Actions

This Discussion