< Home

authentication-mode (IPFPM-MCP view)

Function

The authentication-mode command configures the authentication mode and password on the Measurement Control Point (MCP).

The undo authentication-mode command deletes the authentication mode and password on the MCP.

By default, no authentication mode or password is configured on the MCP.

Format

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

undo authentication-mode hmac-sha256 key-id key-id

Parameters

Parameter Description Value
hmac-sha256 Uses HMAC-SHA256 to decrypt and authenticate packets sent by a DCP to the MCP. -
key-id key-id Specifies the ID of the authentication password configured on the MCP. The value is an integer that ranges from 1 to 64.
cipher Specifies the cipher-text authentication password configured on the MCP. -
password Specifies the authentication password configured on the MCP. The value is a case-sensitive character string without spaces.
  • The value is a string of 1 to 255 characters in plain text.
  • The value is a string of 32 to 392 characters in cipher text.

Views

IPFPM-MCP view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

On a network demanding high security, when iPCA is used to measure network-level packet loss, enable authentication. After the same authentication mode and password are configured on the MCP and DCPs, the MCP accepts the packets only from authenticated DCPs. This improves network security and reliability of packet loss measurement. The authentication-mode command configures the authentication mode and password on the MCP.

Prerequisites

Global MCP has been enabled using the nqa ipfpm mcp command.

Precautions

The MCP and DCP must be configured with the same authentication mode and password; otherwise, the MCP cannot obtain packet loss measurement from the DCP.

Example

# Configure the authentication mode and password on the MCP.

<HUAWEI> system-view
[HUAWEI] nqa ipfpm mcp
[HUAWEI-nqa-ipfpm-mcp] authentication-mode hmac-sha256 key-id 1 huawei
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >