crypto isakmp key
This command, when used in global configuration mode, configures a preshared authentication key. To delete a preshared authentication key, use the no form of this command.
Syntax
crypto isakmp key <key-string> address <peer-address-FQDN> no crypto isakmp key <key-string> address <peer-address-FQDN>
Command |
Description |
---|---|
<key-string> |
Specifies the preshared key. Use any combination of alphanumeric characters up to 20 bytes. This preshared key must be identical at both peers. |
address |
Use this keyword if the remote peer Internet Security Association Key Management Protocol (ISAKMP) identity was set with its IP address or FQDN. |
peer-address |
Specifies the IP address or FQDN of the remote peer. |
Default
There is no default preshared authentication key.
Command Mode
crypto isakmp key are defined in enabled configuration mode.
Example
This example defines a key to a peer ip.
(config-data)# crypto isakmp key 123456 address 100.100.100.2