event syslog pattern "Interface FastEthernet0/1, changed state to down"
action 1.0 cli command "enable"
action 1.1 cli command "config terminal"
action 1.2 cli command "interface fas 0/1"
action 1.3 cli command "no shut"
action 9.5 syslog msg "FastEthernet0/1 is UP leveraging EEM"
Note: I cannot get EEM running properly with Dynamips. You can test EEM one of two ways - You can generate the event by shutting down the interface or set the event to none "event none" and then run the "event manger run" command. "event manager run F0/1"
Update: I have got this to work Dynamips using 3660 Version 12.4(15)T14
1 comments:
I have got this to work Dynamips using 3660 Version 12.4(15)T14
Post a Comment