I try to do some basic QoS testing on 2960. I would like to see that switch indeed matches packets. Below I placed configuration I have applied:
class-map match-all telnet
match access-group 103
..
policy-map telnet
class telnet
..
interface FastEthernet0/2
service-policy input telnet
..
access-list 103 permit tcp any any eq telnet
Interface fa0/2 is the one where desktop station is connected to. When I telnet to switch and check results this is what I get:
Switch#sh policy-map interface
FastEthernet0/2
Service-policy input: telnet
Class-map: telnet (match-all)
0 packets, 0 bytes
5 minute offered rate 0 bps
Match: access-group 103
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
Has anyone any idea why this traffic is not recognized by the access list?
Regards
class-map match-all telnet
match access-group 103
..
policy-map telnet
class telnet
..
interface FastEthernet0/2
service-policy input telnet
..
access-list 103 permit tcp any any eq telnet
Interface fa0/2 is the one where desktop station is connected to. When I telnet to switch and check results this is what I get:
Switch#sh policy-map interface
FastEthernet0/2
Service-policy input: telnet
Class-map: telnet (match-all)
0 packets, 0 bytes
5 minute offered rate 0 bps
Match: access-group 103
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
Has anyone any idea why this traffic is not recognized by the access list?
Regards