< Home

vcmp authentication

Function

The vcmp authentication command sets a VCMP domain authentication password.

The undo vcmp authentication command deletes the VCMP domain authentication password.

By default, no VCMP domain authentication password is set and VCMP packets pass without authentication.

Format

vcmp authentication sha2-256 password password

undo vcmp authentication

Parameters

Parameter Description Value
sha2-256

Enables SHA2-256 authentication for a VCMP domain.

-

password password

Specifies a VCMP domain authentication password.

The value a string of case-sensitive characters, spaces not supported. Passwords are saved in ciphertext in the configuration file. Either of the following passwords can be set:

  • A simple text password is a string of 1 to 8 characters.
  • A ciphertext password is a string of 48 characters.

When double quotation marks are used around the string, spaces are allowed in the string.

NOTE:

A 32-character ciphertext password configured in an earlier version is also supported in this version.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

To enhance security for a VCMP domain, you can run the vcmp authentication command to set a VCMP domain authentication password on each switch for authenticating packets exchanged between the switches in the VCMP domain.

Precautions

All switches in a VCMP domain must use the same VCMP domain authentication password.

Example

# Set the VCMP domain authentication password to huawei.

<HUAWEI> system-view
[HUAWEI] vcmp authentication sha2-256 password huawei
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >