The easy-operation shared-key command configures a shared key for the Commander or a client.
The undo easy-operation shared-key command deletes the configured shared key of the Commander or client.
By default, no shared key is configured on a Commander or client.
Parameter | Description | Value |
---|---|---|
cipher |
Configures a shared key in cipher text. |
- |
key-string |
Specifies a shared key. |
The value is a string of case-sensitive characters without spaces. A plain text key contains 1 to 64 characters, and a cipher text key contains 48 to 108 characters. |
Usage Scenario
In batch upgrade and configuration scenarios, to enhance security for communication between the Commander and clients and prevent a bogus Commander from controlling clients, run the easy-operation shared-key command to configure the same shared key for the Commander and clients.
Precautions
After DTLS encryption is enabled, the shared key configured using the easy-operation shared-key command does not take effect.