Useful show and debug commands for IPsec tunnels

Show and debug commands display information such as connection and operation statistics.

Command Description
show crypto ikev2 sa detail
Show detailed information about current IKEv2 security associations. Use this to verify if the IKE session is up.
show crypto ipsec sa detail
Show detailed information about current IKEv2 security associations. Use this to verify if the IPsec session is up.
debug crypto ike-common <debug_level>
debug crypto ikev2 protocol <debug_level>
Debug logging commands.