GS,
I have read the archives and found some particularites to match EIGRP syslog
messages in Event Manager, which requires some regular expression like \
before ( and ), however I did not any find any reference to BGP syslog
messages which does not have any ( or ). I can sucessfully use Event Manager
in dynamips and it works great, matches BGP going down/up and disable the
interface I need it to. However, when I test on real routers (12.4 also), it
does not work. Wondering if any of you have any real deployments of EEM with
BGP and if there is any specifics. I appreciate any inputs.
Configuration:
event manager applet BGP-DOWN
event syslog pattern "%BGP-5-ADJCHANGE: neighbor 1.1.1.1 Down BGP
Notification sent"
action 1.0 cli command "enable"
action 1.1 cli command "configure term"
action 1.2 cli command "interface loopback100"
action 1.3 cli command "shut"
!
event manager applet BGP-UP
event syslog pattern "%%BGP-5-ADJCHANGE: neighbor 1.1.1.1 Up"
action 1.0 cli command "enable"
action 1.1 cli command "configure term"
action 1.2 cli command "interface loopback100"
action 1.3 cli command "no shut"
Thank you,
--Marina
Blogs and organic groups at http://www.ccie.net
Received on Sun Jun 07 2009 - 17:17:00 ART
This archive was generated by hypermail 2.2.0 : Wed Jul 01 2009 - 20:02:37 ART