cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
7012
Views
0
Helpful
4
Replies

How to find how long a Tunnel has been Active

sidcracker
Level 1
Level 1

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 4

sinv
Level 1
Level 1

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

Thomas Schmitt
Level 1
Level 1

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#

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

Hi,

What is the ios version on the router ?

Regards,

Sindhuja