exchange-mode

Syntax

exchange-mode main

undo exchange-mode

View

IKE peer view

Default level

2: System level

Parameters

main: Main mode.

Description

Use the exchange-mode command to select an IKE negotiation mode.

Use the undo exchange-mode command to restore the default.

By default, main mode is used.

Related commands: id-type.

Examples

# Specify that IKE negotiation works in main mode.

<Sysname> system-view
[Sysname] ike peer peer1
[Sysname-ike-peer-peer1] exchange-mode main