authentication-mode (IPFPM-DCP view)

Function

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.

Format

authentication-mode hmac-sha256 key-id key-id [ cipher ] password

authentication-mode hmac-sha256 key-id key-id [ cipher ] password

undo authentication-mode hmac-sha256

Parameters

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.

  • The value ranges from 1 to 255 for simple passwords.
  • The value ranges from 24 or 32 to 432 for ciphertext passwords.
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.

-

Views

IPFPM-DCP view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
ipfpm write

Usage Guidelines

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.

Example

# Configure the authentication mode for a DCP and enter the interactive mode for password configuration.
<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:
# Configure the authentication mode and password for a DCP.
<HUAWEI> system-view
[~HUAWEI] nqa ipfpm dcp
[*HUAWEI-nqa-ipfpm-dcp] authentication-mode hmac-sha256 key-id 1 cipher Huawei-123
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >