|
发表于 2013-1-27 19:21:31
|
显示全部楼层
5.2 Embedded Event Manager
( R/ F- Y/ h+ ^0 O# B
/ ?, K7 v. K5 E* B HConfigure 2 eem scripts one for enabling ospf debug if the ospf neighborship of R3 goes down.8 D$ f2 o( O8 {9 C5 ?$ a
+ `! b$ R, c$ M) f Configure R3 with event manger applet “ENABLE_OSPF_DEBUG” when the ospf adjacency goes down to R5 ,5 e; R% Z& i; a0 [
It should enable the “debug ip ospf event” and “debug ip ospf adj”
9 M8 @% W# e' M( Q1 N& B: f Configure another EEM applet “ DISABLE_OSPF_DEBUG” when OSPF neighbor ship comes up with R5. It should disable all the debug messages.
1 O; \9 W) U/ ?; b- n( a( A" H Make sure that each event generates a syslog message with a priority of 6 that shows the name of the event being activated.
4 k* }; Y$ `6 H! P! R These logs should be seen both in the console and in the log buffer.
4 B& w! t4 b: y; ]1 s/ q# [/ c You MUST be able to have these events run on R3 when R5 bounces its interface. |
|