dcn encrypt

Function

The dcn encrypt command encrypts the channel to the NE with a specified ID.

The undo dcn encrypt command deletes the encryption configuration for the channel to the NE with a specified ID.

By default, no encrypts the channel is configured.

Format

dcn encrypt neid neid authkey auth-key

dcn encrypt neid neid authkey auth-key dh-algorithm { dh1024 | dh2048 } *

undo dcn encrypt neid neid

Parameters

Parameter Description Value
neid neid

Specifies the ID of an NE.

The value ranges from 10001 to fefffe, in hexadecimal notation. The default value is 10001.

authkey auth-key

Specifies an authentication key.

In the case of plaintext mode, the key is a string of 12 to 16 characters. In the case of ciphertext mode, the key is a string of 48 or 128 characters.

A password must contain at least three types of characters, such as upper-case letters, lower-case letters, digits, and special characters.The?default?value?is?0x0.

dh-algorithm

Specifies the dh-algorithm.

-

dh1024

Specifies the dh-algorithm as dh1024.

-

dh2048

Specifies the dh-algorithm as dh2048.

-

Views

DCN view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
dcn write

Usage Guidelines

Usage Scenario

If the DCN channel between a GNE and an NE is not encrypted, the channel is prone to attacks. To encrypt the channel to the NE with a specified NE ID, run the dcn encrypt command.

Precautions

This command is supported only on the admin VS.

To delete the encryption configuration for the channel to the NE with a specified NE ID, run the undo dcn encrypt neid neid command on the NE and then on the GNE. Otherwise, the NE fails to be managed by the GNE.

Example

# Encrypt the channel to the NE with a specified NE ID.
<HUAWEI> system-view
[~HUAWEI] dcn
[*HUAWEI-dcn] dcn encrypt neid 123123 authkey 123456_QAZqaz dh-algorithm dh2048
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >