Re: EEM query

From: Carlos G Mendioroz <tron_at_huapi.ba.ar>
Date: Fri, 24 Aug 2012 14:18:17 -0300

You may consider enhanced object tracking. You can do boolean logic
there and your eem script can be triggered on a combined track object.

-Carlos

GAURAV MADAN @ 24/08/2012 13:43 -0300 dixit:
> Hi Friends
>
> I am not a great user of EEM .. just wanted a basic query to be answered
>
> My req says that if g0/0 and g0/1 is down .. then do something ( like
> install a static route pointing to null 0)
>
> If I go in lines of :
>
> ROUTER(config)#event manager applet ABCD
>
> ROUTER(config-applet)# event syslog pattern "Interface GigabitEthernet0/0,
> changed state to down"
>
> ROUTER(config-applet)# action 1.0 cli command "enable"
>
> ROUTER(config-applet)# action 1.1 cli command "configure term"
>
> ROUTER(config-applet)# action 1.2 cli command "interface g0/1"
>
> ROUTER(config-applet)# action 1.3 cli command "no shut"
>
>
> My question is how will i do for both of g0/0 and g0/1 .. How do i make
> sure that action is performed when both interfaces are down
>
> Any response is appreciated
>
> Thnx
> Gaurav Madan
>
>
> Blogs and organic groups at http://www.ccie.net
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
>
>
>
>
>
>
>

-- 
Carlos G Mendioroz  <tron_at_huapi.ba.ar>  LW7 EQI  Argentina
Blogs and organic groups at http://www.ccie.net
Received on Fri Aug 24 2012 - 14:18:17 ART

This archive was generated by hypermail 2.2.0 : Sat Sep 01 2012 - 08:41:18 ART