R3166-R3206-HP High-End Firewalls VPN Command Reference-6PW101

50
ike-peer (IPsec policy view, IPsec policy template view, IPsec
profile view)
Syntax
ike-peer peer-name
undo ike-peer peer-name
View
IPsec policy view, IPsec policy template view, IPsec profile 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, IPsec policy template, or IPsec
profile 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 and ipsec profile.
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
# Configure a reference to an IKE peer in an IPsec profile.
<Sysname> system-view
[Sysname] ipsec profile profile1
[Sysname-ipsec-profile- profile1] ike-peer peer1
ipsec anti-replay check
Syntax
ipsec anti-replay check
undo ipsec anti-replay check
View
System view
Default level
2: System level
Parameters
None