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

How to find how long a Tunnel has been Active

Hello,

Is there any way to find how long a tunnel has been UP in terms of days or months. I am facing a issue where the host is not responding via the tunnel and the customer feels that the Tunnel is down since there is only one host on the other side. When i look at the tunnel it is all up and its been encrypting and decrypting for a long time.

Any ideas on this how to figure it out.

Thanks

Sid

4 REPLIES
Community Member

Re: How to find how long a Tunnel has been Active

Hi Sid,

You could use the show vpn-sessiondb command in its variations for the specific tunnels you want data of.

The link to the command :

http://tools.cisco.com/squish/61A4C

Hope this helps.

Regards,

Sindhuja

Community Member

Re: How to find how long a Tunnel has been Active

something like that:

Remote#show crypto session brief
Status: A- Active, U - Up, D - Down, I - Idle, S - Standby, N - Negotiating
        K - No IKE
ivrf = (none)
           Peer     I/F        Username          Group/Phase1_id   Uptime Status      

          2.2.2.1     Vi2                                            2.2.2.1 00:41:05    UA

Remote#

Community Member

Re: How to find how long a Tunnel has been Active

Thanks Sindhuja and Dmytro for your replies.

I forgot to mention that this is a Cisco IOS Router. So both the commands dont work here. "show crypto session" does not have the subcommand "brief".

When I do the show crypto session detail command, I get the lifetime as opposed to the uptime of the tunnel.

THanks

Sid

Community Member

Re: How to find how long a Tunnel has been Active

Hi,

What is the ios version on the router ?

Regards,

Sindhuja

3351
Views
0
Helpful
4
Replies
CreatePlease to create content