cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements

122
Views
0
Helpful
3
Replies
Beginner

tcp script to shutdown tunel interfaces

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!

3 REPLIES 3
Highlighted
VIP Advisor

Re: tcp script to shutdown tunel interfaces

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.

 

BB
*** Rate All Helpful Responses ***
Beginner

Re: tcp script to shutdown tunel interfaces

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

VIP Advisor

Re: tcp script to shutdown tunel interfaces

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.

 

 

 

BB
*** Rate All Helpful Responses ***
CreatePlease to create content
Content for Community-Ad
July's Community Spotlight Awards