|
发表于 2013-1-27 19:21:31
|
显示全部楼层
5.2 Embedded Event Manager+ I, Q _8 K1 {" W, I( o
; t/ n% j' n' ]# l4 B2 d; K7 `0 g* x
Configure 2 eem scripts one for enabling ospf debug if the ospf neighborship of R3 goes down.
9 O& y) K; ~! Y. i$ N$ {0 i
8 I' a7 |: ]& }5 q4 P: [ Configure R3 with event manger applet “ENABLE_OSPF_DEBUG” when the ospf adjacency goes down to R5 ,
. s' j! M& Y( i# |& X: t0 q It should enable the “debug ip ospf event” and “debug ip ospf adj”
5 a5 F/ M) X" j6 i }5 O Configure another EEM applet “ DISABLE_OSPF_DEBUG” when OSPF neighbor ship comes up with R5. It should disable all the debug messages.
' T' `& S% V' f# @5 g Make sure that each event generates a syslog message with a priority of 6 that shows the name of the event being activated.* h* ]3 g" f7 `, O) w1 j0 d
These logs should be seen both in the console and in the log buffer.* e! D5 Y6 y& w# f
You MUST be able to have these events run on R3 when R5 bounces its interface. |
|