I have Redundant WAN's, I want track the availability of both from the Core, if either is WAN is Lost I want to apply a Service olicy that will remark Video Traffic to DSCP 11. I have the following.
track 120 ip route 10.223.0.120/30 reachability
track 124 ip route 10.223.0.124/30 reachability
track 401 list boolean and
object 120
object 124
class-map type qos match-all VIDEO
match dscp 34
policy-map type qos VIDEO_STOP
class VIDEO
set dscp 10
event manager applet VIDEO_STOP
event track 401 state down
action 1.0 cli command "enable"
action 2.0 cli command "config t"
action 3.0 cli command "int e8/23"
action 4.0 cli command "service-policy output VIDEO_STOP"
action 5.0 cli command "int e8/24"
action 6.0 cli command "service-policy output VIDEO_STOP"
action 7.0 cli command "end"
labCDCNX1-CS1# sh event manager policy internal VIDEO_STOP
Name : VIDEO_STOP
Policy Type : applet
Event Specification : event track 401 state down
Action : 1.0,vsh,sup:command "enable";2.0,vsh,sup:comman
d "config t";3.0,vsh,sup:command "int e8/23";4.0,vsh,sup:command "service-policy
output VIDEO_STOP";5.0,vsh,sup:command "int e8/24";6.0,vsh,sup:command "service
-policy output VIDEO_STOP";7.0,vsh,sup:command "end"
Event Specification active on : Standby, Active
labCDCNX1-CS1#
But when I meet the tracking criteria, the policy-map is not appied
Thanks
Mark