Re: EEM Script

From: masroor ali <masror.ali_at_gmail.com>
Date: Thu, 24 May 2012 12:59:07 +0400

try this link

http://www.cisco.com/en/US/prod/collateral/iosswrel/ps6537/ps6555/ps6815/whitepaper_c11-492226.html

On Thu, May 24, 2012 at 12:12 PM, Vishal Rane <vishal.rane_at_hotmail.co.in>wrote:

> 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
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
>
>
>
>
>
>
>
>

-- 
Thanks & Regards,
Masroor Ali
Blogs and organic groups at http://www.ccie.net
Received on Thu May 24 2012 - 12:59:07 ART

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