< Home

protocol udp port

Function

The protocol udp port command configures the UDP port number through which the DCP and MCP communicate with each other.

The undo protocol udp port command restores the default UDP port number through which the DCP and MCP communicate with each other.

By default, the DCP and MCP communicate with each other through UDP port 65030. The default configuration is recommended.

Format

protocol udp port port-number

undo protocol udp port

Parameters

Parameter Description Value
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.

Views

IPFPM-MCP view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

The DCP uses UDP and default port 65030 to send statistics data to the MCP. To change the UDP port number, run this command.

Prerequisites

Global MCP has been enabled using the nqa ipfpm mcp command.

Precautions

The UDP port number of the DCP must be the same as the UDP port number configured by the mcp (IPFPM-DCP instance view) command on the DCP. If a UDP port number is changed on an MCP, it must be changed for all DCPs associated with this MCP in an IP FPM instance. Otherwise, the MCP cannot process the statistics reported by the DCPs.

Example

# Specify UDP port 1024 through which the DCP and MCP communicate with each other.

<HUAWEI> system-view
[HUAWEI] nqa ipfpm mcp
[HUAWEI-nqa-ipfpm-mcp] protocol udp port 1024
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >