Easy one - how do I bounce a VPN tunnel from the command line?

Answered Question
Jun 19th, 2009

I think I know the answer, but need to make sure. Is this the command to bounce a VPN?

clear crypto ipsec sa peer <peer ip>

Just to verify - this command doesn't delete the config, but merely bounces it, right?

Correct Answer by joe@affirmedsys... about 7 years 8 months ago

For IOS VPN clients...

your command will only cause me to rekey when i send more traffic... just tried it...

For ASA VPN Clients we have

asa-fw# vpn-sessiondb logoff ?

all All sessions

email-proxy Email-Proxy sessions

index Index specific session

ipaddress IP Address specific sessions

l2l IPsec LAN-to-LAN sessions

name Username specific sessions

protocol Protocol specific sessions

remote IPsec Remote Access sessions

svc SSL VPN Client sessions

tunnel-group Tunnel-group sessions

vpn-lb VPN Load Balancing Mgmt sessions

webvpn WebVPN sessions

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
Correct Answer
joe@affirmedsys... Fri, 06/19/2009 - 13:23

For IOS VPN clients...

your command will only cause me to rekey when i send more traffic... just tried it...

For ASA VPN Clients we have

asa-fw# vpn-sessiondb logoff ?

all All sessions

email-proxy Email-Proxy sessions

index Index specific session

ipaddress IP Address specific sessions

l2l IPsec LAN-to-LAN sessions

name Username specific sessions

protocol Protocol specific sessions

remote IPsec Remote Access sessions

svc SSL VPN Client sessions

tunnel-group Tunnel-group sessions

vpn-lb VPN Load Balancing Mgmt sessions

webvpn WebVPN sessions

Actions

This Discussion