
Command Reference Guide IKE Policy Command Set
61950860L1-35D © 2003 ADTRAN, Inc. 263
peer [<ip address> | any ]
Use the peer command to enter the IP address of the peer device. Repeat this command for multiple peers.
Use the any keyword if you want to set up a policy that will initiate or respond to any peer.
Syntax Description
<ip address>
Enter a peer IP address.
any
Allow any peer to connect to this IKE policy.
Default Values
There are no default settings for this command.
Command Modes
(config-ike)# IKE Policy Configuration Mode
Command History
Release 4.1 Command was introduced
Functional Notes
An IKE policy is incomplete unless one of the peer commands is specified. Only one IKE policy can be
configured with
peer any
.
Usage Examples
The following example sets multiple peers on an IKE policy for an initiate and respond policy using pre-shared
secret, des, md5, and Diffie-Hellman group 1:
(config)#
crypto ike policy 100
(config-ike)#
peer 192.168.1.1
(config-ike)#
peer 192.168.1.2
(config-ike)#
peer 192.168.1.3
(config-ike)#
respond anymode
(config-ike)#
initiate main
The following example sets up a policy allowing any peer to initiate using pre-shared secret, des, md5, and
Diffie-Hellman group 1.
(config)#
crypto ike policy 100
(config-ike)#
peer any
(config-ike)#
respond anymode
(config-ike)#
initiate main
Komentarze do niniejszej Instrukcji