[c-nsp] Match VLAN

Marko Milivojevic markom at PanGalactic.net
Tue May 17 09:59:08 EDT 2005


	Is there any way to classify incoming traffic on 
2950/3550/3560/3750/4500(SupV) based on VLAN it was received in? For 
example, if I wanted all traffic in VLAN 10 to be af12 (or have it 
policed), I would do something like:

class-map match-any SomeVLAN
  match vlan 10
!
policy-map Bleh
  class SomeVLAN
   set dscp af21
!
interface GigabitEthernet 0/1
  service-policy input Bleh
!

	Needless to say, the above doesn't seem to be possible. Are there any 
other ways? Note, the incoming DSCP is untrusted and IP's/MAC's are 
beyond my the administrative control.

Kind regards,
Marko.


More information about the cisco-nsp mailing list