EEM query

From: GAURAV MADAN <gauravmadan1177_at_gmail.com>
Date: Fri, 24 Aug 2012 22:13:03 +0530

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
Received on Fri Aug 24 2012 - 22:13:03 ART

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