clear ipsec security-associations
Syntax
clear ipsec security-associations<sa-name>Description
Clear information about the current IPSec security association. A new security association is then created. This command is valid for dynamic type security associations only.
Options
none—Clear all IPSec security associations.
sa-name—(Optional) Clear a particular security association.Required Privilege Level
Sample Output: clear ipsec security-associations (detail)
user@host>show ipsec security-associations detailSecurity association: sa-dynamic, Interface family: UpDirection: inbound, SPI: 242379418, State: InstalledMode: tunnel, Type: dynamicProtocol: ESP, Authentication: hmac-md5-96, Encryption: NoneSoft lifetime: Expires in 22979 secondsHard lifetime: Expires in 28739 secondsDirection: outbound, SPI: 368592771, State: InstalledMode: tunnel, Type: dynamicProtocol: ESP, Authentication: hmac-md5-96, Encryption: NoneSoft lifetime: Expires in 22979 secondsHard lifetime: Expires in 28739 secondsuser@host>clear ipsec security-associationsuser@host>show ipsec security-associations detailSecurity association: sa-dynamic, Interface family: UpDirection: inbound, SPI: 1031597683, State: InstalledMode: tunnel, Type: dynamicProtocol: ESP, Authentication: hmac-md5-96, Encryption: NoneSoft lifetime: Expires in 23037 secondsHard lifetime: Expires in 28797 secondsDirection: outbound, SPI: 1618419878, State: InstalledMode: tunnel, Type: dynamicProtocol: ESP, Authentication: hmac-md5-96, Encryption: NoneSoft lifetime: Expires in 23037 secondsHard lifetime: Expires in 28797 seconds