Hello friend!
In routine maintenance, you can run the following commands in any view to check whether IPSec is functioning properly.
- Run the display ike sa [ remote ipv4-address ] command to check brief information about IKE SAs.
- Run the display ike sa verbose { remote ipv4-address | connection-id connection-id } command to check detailed information about IKE SAs.
- Run the display ipsec sa [ brief | duration | policy policy-name [ seq-number ] | remote ipv4-address ] command to check IPSec SA information.
- Run the display ipsec statistics command to check IPSec packet statistics.
- Run the display ike statistics { v1 | v2 } command to check IKE statistics.
- Run the display ikev2 statistics { eap | error | notify-info | packet | sa } command to check statistics on IPSec tunnels negotiated using IKEv2.
- Run the display ike error-info [ verbose ] [ peer remote-address ] command to check information about IPSec tunnel negotiation failures using IKEv2.
- Run the display ike offline-info [ peer remote-address ] command to check information about deleted IPSec tunnels established through IKEv2 negotiation.
Thanks!