crypto isakmp disconnect-notify
To enable disconnect notification to peers, use the crypto isakmp disconnect-notify command in global configuration mode. To disable disconnect notification, use the no form of this command.
crypto isakmp disconnect-notify
no crypto isakmp disconnect-notify
Syntax Description
This command has no arguments or keywords.
Command Default
The default value is disabled.
Command Modes
The following table shows the modes in which you can enter the command:
Command Mode |
Firewall Mode |
Security Context |
|||
---|---|---|---|---|---|
Routed |
Transparent |
Single |
Multiple |
||
Context |
System |
||||
Global Configuration |
|
— |
|
|
— |
Command History
Release |
Modification |
---|---|
7.0(1) |
The isakmp disconnect-notify command was added. |
7.2.(1) |
The crypto isakmp disconnect-notify command replaced the isakmp disconnect-notify command. |
9.0(1) |
Support for multiple context mode was added. |
Usage Guidelines
You can enable disconnect notifications to peers with the use of the following delete reasons:
-
IKE_DELETE_RESERVED = 0An invalid code. Do not send.
-
IKE_DELETE_BY_ERROR = 1A transmission error for a timeout or failure when expecting a response to a keepalive or any other IKE packet ACK. The default text is “Connectivity to client lost.”
-
IKE_DELETE_BY_USER_COMMAND = 2The SA was actively deleted with manual intervention by the user or administrator. The default text is “Manually Disconnected by Administrator.”
-
IKE_DELETE_BY_EXPIRED_LIFETIME = 3The SA has expired. The default text is “Maximum Configured Lifetime Exceeded.”
-
IKE_DELETE_NO_ERROR = 4An unknown error caused the delete.
-
IKE_DELETE_SERVER_SHUTDOWN = 5The server is being shut down.
-
IKE_DELETE_SERVER_IN_FLAMES = 6The server has some severe problems. The default text is “Peer is having heat problems.”
-
IKE_DELETE_MAX_CONNECT_TIME = 7The maximum allowed time of an active tunnel has expired. Unlike EXPIRED_LIFETIME, this reason indicates that the entire IKE-negotiated/controlled tunnel is being disconnected, not just this one SA. The default text is “Maximum Configured Connection Time Exceeded.”
-
IKE_DELETE_IDLE_TIMEOUT = 8The tunnel has been idle for the maximum allowed time; therefore, the entire IKE-negotiated tunnel has been disconnected, not just this one SA. The default text is “Maximum Idle Time for Session Exceeded.”
-
IKE_DELETE_SERVER_REBOOT = 9The server is rebooting.
-
IKE_DELETE_P2_PROPOSAL_MISMATCH = 10Phase2 proposal mismatch.
-
IKE_DELETE_FIREWALL_MISMATCH = 11Firewall parameter mismatch.
-
IKE_DELETE_CERT_EXPIRED = 12User certification required. The default message is “User or Root Certificate has Expired.”
-
IKE_DELETE_CLIENT_NOT_ALLOWED = 13Client type or version not allowed.
-
IKE_DELETE_FW_SERVER_FAIL = 14Failed to contact Zone Integrity Server.
-
IKE_DELETE_ACL_ERROR = 15ACL downloaded from AAA cannot be inserted. The default message is “ACL parsing error.”
Examples
The following example, entered in global configuration mode, enables disconnect notification to peers:
ciscoasa(config)# crypto isakmp disconnect-notify