Show how long the VPN site-to-site tunnel is up

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Show how long the VPN site-to-site tunnel is up

L1 Bithead

Hi everybody,

 

Is there any CLI command or log that show the time of the tunel VPN (phase 1, phase 2 or both of them) is up?

 

The commands:

show vpn ike-sa gateway <gateway name>

show vpn ipsec-sa tunnel <tunnel name>

 

It shows the lifetime since the last key was negotiated, but it doesn't show the total lifetime of activity of VPN tunnel.

 

Thanks

1 REPLY 1

L3 Networker

Hi Mate, 

 

If ye have monitoring set up, the system log has tunnel up / tunnel down. Article below shows how to get details using cli 

https://live.paloaltonetworks.com/t5/Management-Articles/Which-Logs-are-Generated-When-a-Monitor-Det...

also has cool way to summarize it to clearly see how log a tunnel is up or down 🙂 

 

cheers

 

Rob 

  • 5157 Views
  • 1 replies
  • 0 Likes
  • 101 Subscriptions
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!