11-13-2023 12:47 AM - last edited on 11-24-2023 01:10 PM by Translator
Hallo,
I have the below EEM script configured in C1100 router and I am trying to manually trigger it but it is not working. What could it be that I am doing wrong?
event manager applet IP-CHANGE
event none
action 3.0 cli command "enable"
action 4.0 cli command "conf t"
action 5.0 cli command "interface GigabitEthernet0/0/0"
action 6.0 cli command "ip address 162.92.209.14 255.255.255.252"
action 7.0 cli command "no ip route vrf INTERNET 0.0.0.0 0.0.0.0 dhcp"
action 8.0 cli command "ip route vrf INTERNET 0.0.0.0 0.0.0.0 162.92.209.13"
action 9.0 cli command "exit"
R1#event manager run IP-CHANGE
R1#
Solved! Go to Solution.
11-13-2023 02:53 AM
You are so welcome
Have a nice weekend
MHM
11-13-2023 02:16 AM
couple of things i need to ask.
1. how is your authentication (Local or TACACS ?)
2. how is your VTY Lines Config (can you post that config ?)
3. check is the EVENT registered :
show event manager policy registered
show event manager environment
4. when you enable - try terminal monitor to check the Logs message and also check show logging
5. what version of code running ?
6. what is the outcome if you manually configure the same config on the interface ?
handy reference :
11-13-2023 02:48 AM
Authorization is via TACACS. Thanks for pointing that out.
11-13-2023 02:51 AM
sure i was suspected when you mentioned nothing working, that is the reason my suggestion was TACACS issue., Glad all good
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide