361
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
id-type
Syntax
id-type
{
ip
|
name
|
user-fqdn
}
undo id-type
View
IKE peer view
Default level
2: System level
Parameters
ip
: Uses an IP address as the ID during IKE negotiation.
name
: Uses a FQDN name as the ID during IKE negotiation.
user-fqdn
: Uses a user FQDN name as the ID during IKE negotiation.
Description
Use the
id-type
command to select the type of the ID for IKE negotiation.
Use the
undo id-type
command to restore the default.
By default, the ID type is IP address.