< Home

shared-key (view for automatic online user information synchronization)

Function

The shared-key command sets a shared key for encrypted transmission of automatic online user synchronization and query messages.

The undo shared-key command deletes the configured shared key.

Format

shared-key shared-key

undo shared-key

Parameters

Parameter Description Value
shared-key Specifies a shared key for encrypted transmission of automatic online user synchronization and query messages. The value must be the same as the shared key configured on the peer.
  • The value is a string of 1 to 16 case-sensitive characters and cannot contain space but can contain special characters, such as the exclamation point (!), at sign (@), number sign (#), dollar sign ($), and percent sign (%). The system converts the string into a 32-byte ciphertext key and saves it in the configuration file.
  • To improve security, ensure that the shared key meets the minimum complexity requirement. That is, the password must contain at least three of the following types, including upper-case letters (A to Z), lower-case letters (a to z), digits (0 to 9), and special characters (such as !, @, #, $, and %).

Views

View for automatic online user information synchronization

Default Level

2: Configuration level

Usage Guidelines

By default, no shared key is set, and automatic online user synchronization or query messages are transmitted in plain text. For security, you are advised to set a shared key for encrypted transmission.

The encryption algorithm is AES128 for the configured shared key.

Example

# Set the shared key to Admin@123 for encrypted transmission of automatic online user synchronization messages.

<sysname> system-view
[sysname] user-manage auto-sync online-user
[sysname-auto-sync-online-user] shared-key Admin@123
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >