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.
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. |
- |
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.