cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1102
Views
0
Helpful
0
Replies

Clearing a NAT using EEM

d.poppleton
Level 1
Level 1

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?

0 Replies 0