< Home

mcp (IPFPM-DCP instance view)

Function

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

The undo mcp command disassociates the MCP ID from a measurement instance 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 a measurement instance 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 65030 is recommended.
vpn-instance vpn-instance-name Specifies the VPN instance where the DCP and MCP communicate with each other. The value is a string of 1 to 31 case-sensitive characters without spaces.
net-manager-vpn Specifies the manager VPN where the DCP and MCP communicate with each other. -

Views

IPFPM-DCP instance view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

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 a measurement instance of a DCP.

A DCP encapsulates statistics data collected from Target Logical Ports (TLPs) and MCP ID associated with a measurement instance of 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

A measurement instance has been created on the DCP using the instance command.

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 VPN instance has been created on the DCP before you configure vpn-instance vpn-instance-name or net-manager-vpn to allow the DCP to report the statistics to the MCP through the specified VPN or management VPN.

Example

# Associate the MCP ID with a measurement instance of a DCP.

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