clear crypto isakmp

Last Updated : Aug 28, 2026 |
Flushes a specific ISAKMP SA or all the ISAKMP SAs.
Prolog information
Use the show crypto isakmp sa command to display the connection IDs.
Use the clear crypto sa command before running clear crypto isakmp.

Syntax

clear crypto isakmp [C-id]

Parameters

Parameter
Description
Possible Values
Default Value
C-id
The connection ID.
If you do not enter a connection ID, the entire database is flushed.
0-32, 766

User level

read-write

Context

general

Examples

To clear connection 1:
Gxxx-001(super)# clear crypto isakmp 1
To clear the entire database:
Gxxx-001(super)# clear crypto isakmp