< Home

version (IKE peer view)

Function

The version command sets the IKE version number of an IKE peer.

The undo version command cancels the configuration.

By default, IKEv1 and IKEv2 are enabled.

Format

version { 1 | 2 }

undo version { 1 | 2 }

Parameters

Parameter Description Value
1 Indicates that the IKE version number is 1. -
2 Indicates that the IKE version number is 2. -

Views

IKE peer view

Default Level

2: Configuration level

Usage Guidelines

IKEv1 and IKEv2 cannot be disabled simultaneously.

If IKEv1 and IKEv2 are enabled simultaneously, the initiator uses IKEv2, and the responder can use IKEv1 or IKEv2.

Example

# Configure IKE peer peer1 to initiate negotiation using IKEv1.

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