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.
mcp mcp-id [ port port-number ] [ vpn-instance vpn-instance-name | net-manager-vpn ]
undo mcp
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. | - |
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.
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.