cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
828
Views
0
Helpful
3
Replies

IPSEC VPN log

ribin.jones
Level 1
Level 1

Hi,

I have a Cisco 2811 router with IPSEC site to site VPN configured to a particular IP. I have a log server (linux box) in my network. I need to log all VPN events (tunnel establishment, various phases etc.) so that evenif the tuneel goes down, I can see what happened that particular time. Currently I have debug crypto ipsec and debug crypto isakmp on and the events are logged in my log server. Turning on the debugs increases my router processor utilization. Is there any other way (apart from turning on the debug) to log the VPN activity?

Thanks for any response.

3 Replies 3

sunsrini
Cisco Employee
Cisco Employee

I doubt there is any syslogs for ipsec negotiation phases but you can turn on syslog for session up/down. Other than that you have only debugs to check.

crypto logging session

I suppose another option may be to enable snmp for ipsec? This may give the info that you need?

•CISCO-IPSEC-FLOW-MONITOR- MIB

•CISCO-IPSEC-MIB

•CISCO-IPSEC-POLICY-MAP-MIB

HTH

Cameron

How do I enable snmp for ipsec ? Any commands highly appreciable..

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: