Cat 2960 - policy-map / service-policy input is not working
I have some trouble with that policy-map on my 2960 or 3560 switches with LAN base 12.2(53)SE2.
I want to use that feature to catch video traffic from webcams in laptops which can't send dscp values out of the box.
This is my test config to check if the function is working:
! catch every traffic from my workstation for testing
access-list 101 permit ip any any
class-map match-all CL_TEST
match access-group 101
! set dscp to 41 for all traffic
set ip dscp af41
interface fastethernet 0/1
service-policy input PM_TEST
I see two problems:
1. I can't see any counters with the command "sh policy-map interface FastEthernet 0/1". Cisco tells that this command is not possible.
But how I can see if the policy is woring correct?
2. When I did the configuration I can't see any pakets with dscp af41 on the out going interface on the switch with "sh mls qos int gi0/1 statistic" as I expected. After reloading the switch I see the pakets with af41. Okay for that moment.
After that I changed something in the policy-map. Only "set ip dscp ef" for a second test.
Generating some traffic I see only pakets with af41 as before I changed the policy-map. No traffic with ef on the outgoing interface.
My asumption is that I can configure that feature, but the switch is not able to write the config down to its TCAM or something like that.
Only with a reboot the policy-map will be written correct down to the hardware and will work as it should.
This is actually a pretty cool feature, i didn't even know it existed until I was looking for a solution to advertise a subnet (prefix in BGP talk), only if a certain condition existed. This is exactly what conditional advertisements does
j ai une question j ai achete un routeur cisco 887VA-k9 , je le configuré avec la configuration ci- dessous
si je le lier avec mon pc portable sur l un de ses ports directement ça marche toute est bien ( la connexion internet + m...
Attached policy provides CLI access to the Cisco 4G router over text messaging. Two files are in the attached .tar file:
2. PDF with instructions on how to load and use the .tcl file.