05-16-2013 11:15 AM - edited 03-04-2019 07:55 PM
Hello,
Is it possible to schedule to have a router automatically remove a CLI command and add another one its place at a specific date and time? Router platform is Cisco 871.
I need to have an access-list ACE to be removed and another one put in its place. I need this to occur in the early morning but would prefer the router do it if it can be scheduled to do so automatically at a specific date and time.
Is this possible?
Thanks in advance,
Adil
05-16-2013 11:40 AM
All,
More info regarding my question....
To be clear, I need the entry to be created only one time at a specific time. Any additional help on the CLI for scheduling for a specific time (Sunday, May 19 @ 07:00am EDT) would be greatly appreciated.
Thanks,
Adil
05-16-2013 12:28 PM
Here is an example of the commands which I need to be executed on the 871 router. IP addresses have been disguised to protect the innocent (LOL).
no ip nat inside source static 10.10.10.9 192.168.10.10
ip nat inside source static 10.10.10.4 192.168.10.10
I need this command executed on Sunday, May 19 at 7:00am local time (EDT).
Thanks,
Adil
P.S. In my earlier post, I misspoke when I mentioned they were ACL's. They are NAT commands.
05-16-2013 12:57 PM
Paolo,
These are nat statements so time-based ACL will not help. Can you provide an example of the EEM script to create for this use?
Adil
05-16-2013 01:01 PM
05-16-2013 12:49 PM
Then you will need an EEM script, or find a way to obtain the same result using time-based ACL.
05-16-2013 11:43 AM
Hello
Sounds like eem script is needed
can you post additional information about what excactly you wisht o implement
res
paul
Sent from Cisco Technical Support Android app
05-16-2013 12:25 PM
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