cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1070
Views
0
Helpful
2
Replies

EEM Script on Cisco 9200, Cannot Login

Do Tien Dung
Level 1
Level 1

When I config EEM:

 

!
event manager applet Test_EEM
event cli pattern "ena" sync yes
action 1 cli command "ena"
action 2 cli command "conf t"
action 3 cli command "exit"
action 4 cli command "end"
!
end

 

Now I cannot login into my device.Please help me !

Thanks a lot.

2 Replies 2

balaji.bandi
Hall of Fame
Hall of Fame

Not sure is that caused any issue ?  connect the console and check the Logs ?

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Eric R.
Cisco Employee
Cisco Employee

Doesn't make sense that you are locked out of the device unless a process got stuck or you wrote the script incorrectly.

 

  1. Try and access the device via console like Balaji said if Telnet/SSH is not working for you. Maybe you set the script to disable something.
  2. Did it happen as soon as you tried to write memory, or did it randomly happen after you had already committed the config?
  3. See if you can pull device syslogs from your logging server. That will give you a better idea of what may have happened
  4. Have you reviewed your version of code for possible defects and compatibility issues?
All I did was turn it off and back on. Now here I am.
Review Cisco Networking for a $25 gift card