The ike-peer command sets the IKE peer in the IPSec policy.
The undo ike-peer command restores the default setting.
By default, the IKE peer is not set for the policy.
This command is supported only on the NetEngine 8000 F1A.
This command is only used for the SA setup in the isakmp mode.
You are recommended to configure the range of the remote address of the IKE peer in an IPSec policy template. After an IPSec policy is applied to an interface, you cannot run the ike-peer command to modify the IKE peer quoted by the IPSec policy. After an IPSec policy template is quoted by an IPSec policy, you cannot run the ike-peer command to modify the IKE peer quoted by the IPSec policy template.<HUAWEI> system-view [~HUAWEI] ike proposal 20 [*HUAWEI-ike-proposal-20] authentication-method pre-share [*HUAWEI-ike-proposal-20] authentication-algorithm sha2-256 [*HUAWEI-ike-proposal-20] dh group14 [*HUAWEI-ike-proposal-20] quit [*HUAWEI] commit [~HUAWEI] ike peer peer1 [*HUAWEI-ike-peer-peer1] ike-proposal 20 [*HUAWEI-ike-peer-peer1] pre-shared-key abcde [*HUAWEI-ike-peer-peer1] quit [~HUAWEI] ipsec policy policy1 1 isakmp [*HUAWEI-ipsec-policy-isakmp-policy1-1] ike-peer peer1