[c-nsp] Rate Limit On VLANs 3550

Alex Foster afoster at gammatelecom.com
Tue Jun 27 07:39:41 EDT 2006


Trying to configure rate-limiting per VLAN on a 3550 dot1q interface
(GigE port) - so that each VLAN using the trunk is allocated a
percentage of the bandwidth.

Can this be done ??  I have tried the following config. but it doesn't
appear to have any effect - any ideas what Im doing wrong.


mls qos

class-map match-all vlan100
  match vlan  100
class-map match-all vlan0100
  match class-map vlan100
class-map match-all vlan110
  match vlan  110
class-map match-all vlan0110
  match class-map vlan110
class-map match-all vlan20
  match vlan  20
class-map match-all vlan0020
  match class-map vlan20

policy-map rate_limit
  class vlan0110
    police 10000000 10000 exceed-action drop
  class vlan0100
    police 20000000 10000 exceed-action drop
  class vlan0020
    police 100000000 100000 exceed-action drop

interface GigabitEthernet0/2
 switchport trunk encapsulation dot1q
 switchport trunk allowed vlan 20,100,110
 switchport mode trunk
 flowcontrol send off
 service-policy history
 service-policy output rate_limit

sh policy-map int

  service-policy output: rate_limit

    class-map: vlan0110 (match-all)
      0 packets, 0 bytes
      5 minute offered rate 0 bps, drop rate 0 bps
      match: class-map match-all vlan110
        match: vlan  110qm_police_inform_feature: CLASS_SHOW


    class-map: vlan0100 (match-all)
      0 packets, 0 bytes
      5 minute offered rate 0 bps, drop rate 0 bps
      match: class-map match-all vlan100
        match: vlan  100qm_police_inform_feature: CLASS_SHOW


    class-map: vlan0020 (match-all)
      0 packets, 0 bytes
      5 minute offered rate 0 bps, drop rate 0 bps
      match: class-map match-all vlan20
        match: vlan  20qm_police_inform_feature: CLASS_SHOW


    class-map: class-default (match-any)
      0 packets, 0 bytes
      5 minute offered rate 0 bps, drop rate 0 bps
      match: any
        0 packets, 0 bytes
        5 minute rate 0 bps




The information in this e-mail and any attachments is confidential and may be subject to legal professional privilege. It is intended solely for the attention and use of the named addressee(s). If you are not the intended recipient, or person responsible for delivering this information to the intended recipient, please notify the sender immediately. Unless you are the intended recipient or his/her representative you are prohibited from, and therefore must not, read, copy, distribute, use or retain this message or any part of it. The views expressed in this e-mail may not represent those of Gamma Telecom.

This message has been scanned for viruses by MailController


More information about the cisco-nsp mailing list