Configuring the MCP
Context
The MCP is the controller in network-level packet loss measurement. It collects, summarizes, and calculates statistics data, and sends measurement results to user terminals or NMS. Generally, the MCP is a dedicated device in the network management center or a high-performance switch. Perform the following operations on the MCP:
The MCP parameters configured in this task must be the same as the parameters set on the DCPs involved in measurement instances on MCP; otherwise, the DCPs cannot send statistics data to the MCP.
Procedure
- Run the system-view command to enter the system view.
- Run the nqa ipfpm mcp command to enable the global MCP function and enter the IPFPM-MCP view.
- Run the mcp id mcp-id command to set the MCP ID.
By default, an MCP has no ID. It is recommended that you configure the router ID of the device as the MCP ID.
The MCP ID must be an IP address that DCPs can reach. If you have changed the MCP ID, you must change the MCP IDs specified in the measurement instances associated with the DCPs; otherwise, the DCPs cannot report the statistics data received from TLPs to the MCP.
- (Optional) Run the protocol udp port port-number command to configure the UDP port number on the MCP. The MCP and DCPs communicate with each
other through this port.
By default, the UDP port used between DCPs and MCP is port 65030. The default port is recommended.
- (Optional) Run the authentication-mode hmac-sha256 key-id key-id [ cipher ] password command to configure the authentication mode and password on the MCP.
By default, no authentication mode or password is configured on an MCP.
After the authentication mode and password are configured, the MCP receives the packets only from authenticated DCPs. This improves statistics data security and reliability.
- Configure measurement instances on the MCP.
The MCP reports measurement results based on measurement instances. The MCP summarizes and analyzes statistics data of the same measurement instance on all DCPs, and reports measurement results of target flows. After the configuration is complete, you can view packet loss measurement results on the MCP based on measurement instances.