Has anyone here had any luck using match vlan on a 3550? No matter what I
do
I cant seem to get it to run or even show that its working. Im running
12.2(44)SE3
and Ill paste my config below.
I have two routers set up in the same VLAN. One router is in switch 1 and
the second
in switch 2. There is only one trunk link between switch 1 & 2. (FE 0/23)
Ive placed the service-policy on the FE 0/23 trunk port of switch 2. So, if
I telnet from R1 in switch 1 to R2 in switch 2 that traffic, Vlan 300,
should be matched by the policy but it doesnt.??
class-map match-all ipall
match access-group 101
class-map match-all vlan
match vlan 300
match class-map ipall
!
policy-map test
set ip precedence 1
class vlan
!
access-list 101 permit ip any any
interface FastEthernet0/23
switchport trunk encapsulation dot1q
switchport mode trunk
service-policy input test
This is the output after I both pinged and telneted to R6
Cat2#show policy-map interface fast 0/23
FastEthernet0/23
Service-policy input: test
Class-map: vlan (match-all)
0 packets, 0 bytes
5 minute offered rate 0 bps, drop rate 0 bps
Match: vlan 300
Match: class-map match-all ipall
Match: access-group 101
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
Thanks,
Bryan R.
Blogs and organic groups at http://www.ccie.net
Received on Sun Apr 19 2009 - 20:05:24 ART
This archive was generated by hypermail 2.2.0 : Mon May 04 2009 - 07:39:12 ART