EEM Script

From: Vishal Rane <vishal.rane_at_hotmail.co.in>
Date: Thu, 24 May 2012 13:42:12 +0530

Hello Experts

Can someone help me with an EEM Script.

Scenario :
Router terminated Two internet links. if Link1 is down then all traffic is
send to Link2 with help of IP SLA.
All services works fine except Internet Browsing,
on doing a manual step < clear IP NAT TRANS * > all works

so looking for help in configuring the EEM script that
clear IP NAT TRANS * when found the Internet Link1 is downtriggers an Email
Alert to an email address that link1 is down
Default all traffic is going via FA0/0Here is NAT and IP SLA config

track 111 ip sla 11 reachability
track 222 ip sla 22 reachability

ip nat inside source route-map P1 interface FastEthernet0/0 overload
ip nat inside source route-map P2 interface FastEthernet0/1 overload

ip sla 11
 icmp-echo 64.x.x.x source-interface FastEthernet0/0
 threshold 500
ip sla schedule 11 life forever start-time now

ip sla 22
 icmp-echo 10.x.x.x source-interface FastEthernet0/1
 threshold 500
ip sla schedule 22 life forever start-time now

Blogs and organic groups at http://www.ccie.net
Received on Thu May 24 2012 - 13:42:12 ART

This archive was generated by hypermail 2.2.0 : Sun Jun 17 2012 - 09:04:20 ART