< Home

authentication-key

Function

The authentication-key command configures an authentication key for IKEv2 redirection packets.

The undo authentication-key command deletes the authentication key for IKEv2 redirection packets.

By default, no authentication key is configured for IKEv2 redirection packets.

The virtual system does not support this command.

Format

authentication-key authentication-key

undo authentication-key

Parameters

Parameter Description Value
authentication-key Specifies an authentication key for IKEv2 redirection packets. The value is a case-sensitive string of 1 to 127 characters, including special characters. If the key contains spaces, the key must be enclosed in quotation marks.

Views

Load balancing group view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

In a load balancing group, member gateways send load information to the master gateway, and the master gateway uses the authentication key to authenticate member gateways. To ensure successful authentication, run this command to configure the same authentication key for the master and member gateways.

Precautions

For security purposes, configure the SHA2-256 algorithm to encrypt the authentication key before transmission.

Example

# Set the authentication key for load balancing group 1 to Test!123.

<sysname> system-view
[sysname] loadgroup group1
[sysname-loadgroup-group1] authentication-key Test!123
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >