I have this configuration:
event manager applet clear_nat_1
event track 1 state any maxrun 40
action 1.0 wait 35
action 2.0 cli command "enable"
action 3.0 cli command "clear ip nat trans *"
action 4.0 syslog msg "WAN Failover, cleared NAT"
I have the maxrun and wait because we have this:
track 1 ip sla 1 reachability
delay down 30 up 30
The problem is that it isn't actually clearing the NAT. What am I missing?