< Home

easy-operation dtls psk

Function

The easy-operation dtls psk command configures the DTLS pre-shared key (PSK).

The undo easy-operation dtls psk command restores the default DTLS PSK.

By default, the DTLS PSK is easy-operation.

Format

easy-operation dtls psk psk

undo easy-operation dtls psk

Parameters

Parameter Description Value
psk Specifies the PSK. The value is a string of 6 to 32 characters in plain text or a string of 48 or 68 characters in cipher text.

Views

System view

Default Level

3: Management level

Usage Guidelines

Usage Scenario

After DTLS encryption is enabled, the default PSK is easy-operation. You can run this command to change the DTLS PSK.

Precautions

The same PSK must be configured on the Commander and clients simultaneously.

Example

# Set the DTLS PSK to test12345.

<HUAWEI> system-view
[HUAWEI] easy-operation dtls psk test12345
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >