[c-nsp] 3750 service-policy

Leto Tokarev leto at irisz.hu
Thu Sep 1 16:52:49 EDT 2005


Hi!


 c3750-advipservicesk9-mz.122-25.SEA.bin

I'd like to do ip based traffic limit on a SVI.
Can't figure out what's wrong with this:

mls qos
!
class-map match-all gg
  match access-group 181
class-map match-all gg-if
  match input-interface  GigabitEthernet1/0/1
!         
!         
policy-map port-gg
  class gg-if
    police 40000000 256000 exceed-action drop
policy-map vlan-gg
  class gg
   set ip precedence 0
   service-policy port-gg
!         
interface GigabitEthernet1/0/1
 switchport trunk encapsulation dot1q
 switchport mode trunk
 mls qos vlan-based
!
interface Vlan116
 ip address x.x.x.x
 service-policy input vlan-gg
!
access-list 181 permit ip host 192.168.1.1 any



It catches no packet:

#sh policy-map interface vlan 116

 Vlan116 

  Service-policy input: vlan-gg

    Class-map: gg (match-all)
      0 packets, 0 bytes
       offered rate 0 bps, drop rate 0 bps
      Match: access-group 181

      Service-policy : port-gg

        Class-map: gg-if (match-all)
          0 packets, 0 bytes
           offered rate 0 bps, drop rate 0 bps
          Match: input-interface  GigabitEthernet1/0/1

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

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


 What did I miss?

TIA;;




Leto



More information about the cisco-nsp mailing list