Re: eem ...scripting part of syllabus ?d

From: Jacek <q.192.168.1.0_at_gmail.com>
Date: Tue, 5 Jul 2011 13:58:08 -0400

Imran, Is this a real task from some workbook ? It makes no sense to
me to ping a server to verify the status of primary link. What if
server just crashed ?

Anyway here is my take on first requirement. I do not thing it
requires "deep knowledge" of EEM.

1. Configure ip sla:
ip sla 1
 icmp-echo 1.1.1.1
 timeout 1000
 frequency 1
ip sla schedule 1 life forever start-time now

2. Configure tracking:
track 1 ip sla 1

3. configure EEM:
event manager applet 1.1.1.1-DOWN
 event track 1 state down
 action 1.00 cli command "enable"
 action 2.00 cli command "conf t"
 action 3.00 cli command "int tunnel31"
 action 4.00 cli command "no shut"
 action 5.00 mail server "2.2.2.2" to "admin_at_x.com" from "R1_at_X.com"
subject "Alert" body "1.1.1.1 is down"

On Sat, Jul 2, 2011 at 10:28 AM, imran ali <immrccie_at_gmail.com> wrote:
> ok thats not a script..
>
> but what kind of expertise is required for eem tasks
>
> basic , intermediate and advanced........
>
> i can say for BGP study end to end ..study till u are an expert in bgp ..
>
>
> but for corner case topic such as eem...do we need to study very deeply..
>
> for example
>
> task : use eem to accomplish the task....
> the mpls vpn is your primary vpn between your sites.
> configure an applet such that when ping to a server ex 1.1.1.1
> fails..an email should be generated at 2.2.2.2 smtp address. and the router
> should make the gre tunnel up.
>
> however the primary vpn is up you need to bring down the gre tunnel..
>
> dont use route-map or backup interface to accomplish the task

Blogs and organic groups at http://www.ccie.net
Received on Tue Jul 05 2011 - 13:58:08 ART

This archive was generated by hypermail 2.2.0 : Mon Aug 01 2011 - 06:30:05 ART