The authentication-mode command configures the authentication mode and password for a data collecting point (DCP).
The undo authentication-mode command deletes the authentication mode and password of a DCP.
By default, no authentication mode or password is configured for a DCP.
Parameter | Description | Value |
---|---|---|
key-id key-id |
Specifies the key ID for an authentication password of a DCP. |
The value is an integer ranging from 1 to 64. |
cipher |
Indicates that an authentication password is displayed in ciphertext. |
- |
password |
Specifies the authentication password of an DCP. |
The value is a string of characters.
|
password |
Indicates the interactive mode for password configuration. |
- |
hmac-sha256 |
Indicates the hashed message authentication code - secure hash algorithm 256 (HMAC-SHA256) authentication algorithm to be used for packets sent by a DCP to an MCP. |
- |
Usage Scenario
To enhance network security and performance statistics reliability, run the authentication-mode command so that authentication is performed during IP FPM performance statistics. An MCP and its associated DCPs must have the same authentication mode and password configured. The MCP processes packets only from the authenticated DCPs.
Prerequisites
The nqa ipfpm dcp command has been run to enable DCP globally.
<HUAWEI> system-view [~HUAWEI] nqa ipfpm dcp [*HUAWEI-nqa-ipfpm-dcp] authentication-mode hmac-sha256 key-id 1 password Plain text with length of 1-255, Encrypted text with length of 24 or 32-432 Enter Password: Confirm Password:
<HUAWEI> system-view [~HUAWEI] nqa ipfpm dcp [*HUAWEI-nqa-ipfpm-dcp] authentication-mode hmac-sha256 key-id 1 cipher Huawei-123