< Home

ike peer

Function

The ike peer command creates an IKE peer and displays the IKE peer view.

The undo ike peer command deletes the specified IKE peer.

By default, no IKE peer is configured.

Format

ike peer peer-name

undo ike peer peer-name

Parameters

Parameter Description Value
peer-name Specifies the name of an IKE peer. The value is a string of 1 to 15 case-sensitive characters without question marks (?) and spaces.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

You can run the ike peer command to enter the IKE peer view and then define all parameters for the IKE peer, including:

  • Negotiation mode
  • ID type
  • NAT traversal
  • Pre-shared key
  • Remote address
  • Peer name

Follow-up Procedure

Run the ike-peer command to reference the IKE peer.

Example

# Create an IKE peer named peer1 and enter the IKE peer view.

<sysname> system-view
[sysname] ike peer peer1
[sysname-ike-peer-peer1]
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >