|
|
This chapter explains the function and syntax of the Internet Key Exchange security protocol commands. For more information about defaults and usage guidelines, see the corresponding chapter of the Cisco IOS Security Command Reference, Release 12.1.
Syntax Description
ip-address Specifies the IP address of the remote peer.
Syntax Description
key-address Specifies the IP address of the remote peer's RSA keys. encryption (Optional) Indicates that the RSA public key to be specified will be an encryption special usage key. signature (Optional) Indicates that the RSA public key to be specified will be a signature special usage key.
Syntax Description
rsa-sig Specifies RSA signatures as the authentication method. rsa-encr Specifies RSA encrypted nonces as the authentication method. pre-share Specifies preshared keys as the authentication method.
To clear active IKE connections, use the clear crypto isakmp command in EXEC configuration mode.
clear crypto isakmp [connection-id]
Syntax Description
connection-id (Optional) Specifies which connection to clear. If this argument is not used, all existing connections will be cleared.
To configure the IP address local pool to reference IKE on your router, use the crypto isakmp client configuration address-pool local command in global configuration mode. Use the no form of this command to restore the default value.
crypto isakmp client configuration address-pool local pool-name
Syntax Description
pool-name Specifies the name of a local address pool.
To globally enable IKE at your peer router, use the crypto isakmp enable command in global configuration mode. Use the no form of this command to disable IKE at the peer.
crypto isakmp enableSyntax Description
This command has no arguments or keywords.
To define the identity the router uses when participating in the IKE protocol, use the crypto isakmp identity command in global configuration mode. Set an ISAKMP identity whenever you specify preshared keys. Use the no form of this command to reset the ISAKMP identity to the default value (address).
crypto isakmp identity {address | hostname}
Syntax Description
address Sets the ISAKMP identity to the IP address of the interface that is used to communicate to the remote peer during IKE negotiations. hostname Sets the ISAKMP identity to the host name concatenated with the domain name (for example, myhost.example.com).
To configure a preshared authentication key, use the crypto isakmp key command in global configuration mode. You must configure this key whenever you specify preshared keys in an IKE policy. Use the no form of this command to delete a preshared authentication key.
crypto isakmp key keystring address peer-address
Syntax Description
keystring Specify the preshared key. Use any combination of alphanumeric characters up to 128 bytes. This preshared key must be identical at both peers. peer-address Specify the IP address of the remote peer. peer-hostname Specify the host name of the remote peer. This is the peer's host name concatenated with its domain name (for example, myhost.example.com).
To define an IKE policy, use the crypto isakmp policy command in global configuration mode. IKE policies define a set of parameters to be used during the IKE negotiation. Use the no form of this command to delete an IKE policy.
crypto isakmp policy priority
Syntax Description
priority Uniquely identifies the IKE policy and assigns a priority to the policy. Use an integer from 1 to 10,000, with 1 being the highest priority and 10,000 the lowest.
To generate RSA key pairs, use the crypto key generate rsa command in global configuration mode.
crypto key generate rsa [usage-keys]
Syntax Description
usage-keys (Optional) Specifies that two RSA special usage key pairs should be generated (that is, one encryption pair and one signature pair), instead of one general purpose key pair.
To enter public key configuration mode (so you can manually specify other devices' RSA public keys), use the crypto key pubkey-chain rsa command in global configuration mode.
crypto key pubkey-chain rsaSyntax Description
This command has no arguments or keywords.
To configure IKE Mode Configuration on your router, use the crypto map client-configuration address command in global configuration mode. Use the no form of this command to restore the default value.
crypto map tag client configuration address [initiate | respond]
Syntax Description
tag The name that identifies the crypto map. initiate (Optional) A keyword that indicates the router will attempt to set IP addresses for each peer. respond (Optional) A keyword that indicates the router will accept requests for IP addresses from any requesting peer.
Syntax Description
des Specifies 56-bit DES-CBC as the encryption algorithm. 3des Specifies 168-bit DES (3DES) as the encryption algorithm.
Syntax Description
1 Specifies the 768-bit Diffie-Hellman group. 2 Specifies the 1024-bit Diffie-Hellman group.
Syntax Description
sha Specifies SHA-1 (HMAC variant) as the hash algorithm. md5 Specifies MD5 (HMAC variant) as the hash algorithm.
Syntax Description
key-string Enter the key in hexadecimal format. While entering the key data, you can press the return key to continue entering data.
Syntax Description
seconds Specifies how many seconds each SA should exist before expiring. Use an integer from 60 to 86,400 seconds.
Syntax Description
key-name Specifies the name of the remote peer's RSA keys. This is always the fully qualified domain name of the remote peer; for example, router.example.com. encryption (Optional) Indicates that the RSA public key to be specified will be an encryption special usage key. signature (Optional) Indicates that the RSA public key to be specified will be a signature special usage key.
To view the parameters for each IKE policy, use the show crypto isakmp policy command in EXEC mode.
show crypto isakmp policySyntax Description
This command has no arguments or keywords.
Syntax Description
This command has no arguments or keywords.
To view your router's RSA public key(s), use the show crypto key mypubkey rsa command in EXEC mode.
show crypto key mypubkey rsaSyntax Description
This command has no arguments or keywords.
Syntax Description
name key-name (Optional) Specify the name of a particular public key to view. address key-address (Optional) Specify the address of a particular public key to view.
![]()
![]()
![]()
![]()
![]()
![]()
![]()
Posted: Wed Jul 26 16:19:49 PDT 2000
Copyright 1989-2000©Cisco Systems Inc.