ike-peer (IPsec policy view)

Syntax

ike-peer peer-name

undo ike-peer peer-name

View

IPsec policy view

Default level

2: System level

Parameters

peer-name: IKE peer name, a string of 1 to 32 characters.

Description

Use the ike-peer command to reference an IKE peer in an IPsec policy configured through IKE negotiation.

Use the undo ike peer command to remove the reference.

This command applies to only IKE negotiation mode.

Related commands: ipsec policy.

Examples

# Configure a reference to an IKE peer in an IPsec policy.

<Sysname> system-view
[Sysname] ipsec policy policy1 10 isakmp
[Sysname-ipsec-policy-isakmp-policy1-10] ike-peer peer1