09-22-2019 12:23 AM
Hi everyone - i'm trying to find TCP script to shutdown 150 tunnel interfaces/clear crypto session on the main router and unshut them on a backup router
RouterA:
Interface Tunnel200
shutdown
do clear crypto session remote 1.1.1.1
Interface Tunnel300
shutdown
do clear crypto session remote 2.2.2.2
RouterB:
Interface Tunnel200
no shutdown
Interface Tunnel300
no shutdown
Thank you so much!
09-22-2019 01:49 AM
This script you looking to run inside the kit or out of the box ?
since i understand your requirement, you looking to shut on primary and bring on the secondary router ? is this correct.
Then i suggest looking for the script to run out of the box.
09-23-2019 04:13 AM - edited 09-23-2019 04:14 AM
Hello i need to run to two scripts on two boxs (Locally on each box)
shutdown interfaces on Box_A and unshut interfaces on Box_B
Note: each box on other location
09-23-2019 05:23 AM
Since you are doing many links shutdown at a time or one at time, Like
best approach for me here as below :
Link 1 VPN shutdown on Router 1
Link 1 VPN no shutdown on Router 2
you can do EEM Scrip for this, But i suggest to do it out of the box to decrease the Load, since VPN itself with 200 is high for CPU head room.
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