|
发表于 2013-1-27 19:21:31
|
显示全部楼层
5.2 Embedded Event Manager q l, g- P3 r2 ^; s( n$ X6 Z
+ A- v7 A: z+ _3 Y9 |0 {) |8 @4 r. aConfigure 2 eem scripts one for enabling ospf debug if the ospf neighborship of R3 goes down.1 J+ z) G. f8 G/ l9 K5 w
4 u. e! S& a4 M Configure R3 with event manger applet “ENABLE_OSPF_DEBUG” when the ospf adjacency goes down to R5 ,( s) M" V% P1 W
It should enable the “debug ip ospf event” and “debug ip ospf adj”' u* y4 K6 P& Z
Configure another EEM applet “ DISABLE_OSPF_DEBUG” when OSPF neighbor ship comes up with R5. It should disable all the debug messages.
0 Y7 d" j' c( s- [3 g" r5 J Make sure that each event generates a syslog message with a priority of 6 that shows the name of the event being activated.& }" h) ]1 C3 K- t, v0 ~: ~! y
These logs should be seen both in the console and in the log buffer.! e4 q0 g0 T) T# l% t
You MUST be able to have these events run on R3 when R5 bounces its interface. |
|