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.
show crypto session
Displays the current crypto session status.
debug crypto ikev2
debug crypto ipsec
Debug logging commands.