My Countingdown

Friday, December 16, 2011

Lab 8. IP Services - EMM



Configure in R1 if interface loopback zero is set down so EMM will activate automatically again.

R1#
event manager applet CheckLoopback
 event syslog pattern “Interface Loopback0.* down” period 1
 action 2.0 cli command “ena”
 action 2.1 cli command “conf t”
 action 2.2 cli command  “int lo0“
 action 2.3 cli command “no shut”
 action 3.0 syslo msg “Interface Loopback0 is activated by EMM”

Let’s do test by shutdown interface loopback

R1(config-applet)#int lo0
R1(config-if)#shut

Dec 15 05:32:46.191: %LINK-5-CHANGED: Interface Loopback0, changed state to administratively down
Dec 15 05:32:46.567: %HA_EM-6-LOG: CheckLoopback: Interface Loopback0 is activated by EMM
Dec 15 05:32:46.583: %SYS-5-CONFIG_I: Configured from console by vty0
Dec 15 05:32:48.531: %LINK-3-UPDOWN: Interface Loopback0, changed state to up

No comments:

Post a Comment