Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
New Member

shut down VPN via CLI

how can i shut down a VPN tunnel (site to site / remote access)

using the command line on a Cisco router (1800 / 1900)

what's the command to do that?

1 REPLY

Re: shut down VPN via CLI

Hi,

To clear the IKE phase 1 SA:

clear crypto isa

You can check the session ID on the ''sh cry isa sa''

To clear all the SAs for a peer:

clear crypto sa peer x.x.x.x <-- IP for the peer

Also the ''clear crypto sessions" can be used.

Federico.

855
Views
0
Helpful
1
Replies
CreatePlease to create content