< Home

dcp id

Function

The dcp id command sets the DCP ID.

The undo dcp id command deletes the DCP ID.

By default, no DCP ID is configured.

Format

dcp id dcp-id

undo dcp id

Parameters

Parameter Description Value
dcp-id Specifies the DCP ID. It is recommended that you configure the router ID of the device as the DCP ID. The value is in dotted decimal notation.

Views

IPFPM-DCP view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

When the MCP communicates with a DCP, the DCP encapsulates statistics data collected from Target Logical Ports (TLPs) in a packet and sends the packet with the DCP ID as the source IP address. After receiving the packet sent from the DCP, the MCP compares the DCP ID in the packet with the DCP ID configured by the dcp command:
  • If the two DCP IDs are the same, the MCP accepts the packet, and then summarizes and calculates the statistics data.
  • If the two DCP IDs are different, the MCP considers the packet invalid and discards it.

Prerequisites

Global DCP has been enabled using the nqa ipfpm dcp command.

Precautions

Each DCP has a unique ID on the network. It is recommended that you configure the router ID of the device as the DCP ID. The DCP ID must be the same as the DCP ID in the measurement instance configured by the dcp command on the MCP.

Example

# Set the DCP ID.

<HUAWEI> system-view
[HUAWEI] nqa ipfpm dcp
[HUAWEI-nqa-ipfpm-dcp] dcp id 10.1.1.1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >