< Home

mcp (IPFPM-DCP view)

Function

The mcp command associates the MCP ID with all measurement instances of a DCP.

The undo mcp command disassociates the MCP ID from all measurement instances of a DCP.

By default, no MCP ID is associated with a measurement instance of a DCP.

Format

mcp mcp-id [ port port-number ] [ vpn-instance vpn-instance-name | net-manager-vpn ]

undo mcp

Parameters

Parameter Description Value
mcp-id Specifies the MCP ID associated with all measurement instances of a DCP. It is recommended that you configure the router ID of the device as the MCP ID. The value is in dotted decimal notation.
port port-number Specifies the UDP port number through which the DCP and MCP communicate with each other. The value is an integer that ranges from 1024 to 65535. The default value is 65030 and is recommended.
vpn-instance vpn-instance-name Specifies the VPN instance where the DCP and MCP communicate with each other. The value must be an existing VPN instance name.
net-manager-vpn Specifies the manager VPN where the DCP and MCP communicate with each other. -

Views

IPFPM-DCP view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

In the IP Flow Performance Measurement (FPM) system, each measurement instance belongs to an MCP. Before a DCP sends statistics data of a measurement instance from TLPs to the MCP, you must associate the MCP ID with the measurement instance. The mcp command associates the MCP ID with all measurement instances of a DCP.

A DCP encapsulates statistics data collected from Target Logical Ports (TLPs) and MCP ID associated with all measurement instances on the DCP in a packet, and sends the packet with the MCP ID as the destination IP address. After receiving the packet sent from the DCP, the MCP compares the MCP ID in the packet with the MCP ID configured by the mcp id command:
  • If the two MCP IDs are the same, the MCP accepts the packet, and then summarizes and calculates the statistics data.
  • If the two MCP IDs are different, the MCP considers the packet invalid and discards it.

Prerequisites

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

If the DCP is required to send statistics data to the MCP through a specified VPN instance or manager VPN, the VPN instance must have been created on the DCP before you run the mcp command with vpn-instance vpn-instance-name or net-manager-vpn specified.

Precautions

The MCP ID must be an IP address that DCPs can reach and must be the same as the MCP ID configured by the mcp id command on the MCP.

The UDP port number through which the DCP and MCP communicate with each other must be the same as the UDP port number configured by the protocol udp port command.

The mcp command associates the MCP ID with all measurement instances on the DCP. However, if some measurement instances on the DCP have been associated with the MCP ID configured by the mcp command, the measurement instances still use the MCP ID in the IPFPM-DCP instance view.

Example

# Associate the MCP ID with all measurement instances of a DCP.

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