12-22-2016 01:47 AM
Dear Experts,
I have a requirement to change the router configuration using EEM script.
Scenario is like this:
Currently I have a Internet link connected to Router WAN interface and it is working as internet edge router.
Now I want to use new Device in front of this Router and internet link will be connected to this device.
Hence my router will not have public ip addresses.
This change i need to perform at remote location where no it persons are there.
So I am thinking as soon as Cable from Router WAN interface is removed and connected to new device, EEM script will triggered and do the required configuration.
Can you help me which Event Detector I can use in this regards which will not impact my routine operation?
I can use syslog to detect WAN interface down. but the problem is that when ever interface goes down due to any other purpose, this script will triggered.
SO please suggest.
12-22-2016 12:01 PM
Seems like a case where simplicity is key. Could you just manually trigger the applet during the change window? If you want it automated, could you configured the applet just prior to the change window and remove it when done?
12-23-2016 03:09 PM
You can use the syslog event to detect the WAN interface going down, then make your config change, and then remove the applet. This way, the policy will only run once.
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