|
发表于 2013-1-27 19:21:31
|
显示全部楼层
5.2 Embedded Event Manager, A( Q& w }! ^- ^. ^, l# l
/ G/ P! T& W, ~$ n2 hConfigure 2 eem scripts one for enabling ospf debug if the ospf neighborship of R3 goes down.
! P, t( S! S2 z, [
3 t) W# V" F' B8 u9 P2 f Configure R3 with event manger applet “ENABLE_OSPF_DEBUG” when the ospf adjacency goes down to R5 ,% ]( a! S! y# o. ^% L# p" n
It should enable the “debug ip ospf event” and “debug ip ospf adj”( _7 i0 f" ^7 A5 p7 j8 B$ A
Configure another EEM applet “ DISABLE_OSPF_DEBUG” when OSPF neighbor ship comes up with R5. It should disable all the debug messages.
$ T. S0 m( D- [* p2 s& G8 ]6 q Make sure that each event generates a syslog message with a priority of 6 that shows the name of the event being activated./ b# e# T+ j N+ k
These logs should be seen both in the console and in the log buffer.: o3 z/ s$ K; H1 v' e9 b) L
You MUST be able to have these events run on R3 when R5 bounces its interface. |
|