protocol udp port

Function

The protocol udp port command configures a User Datagram Protocol (UDP) port number for a measurement control point (MCP) to communicate with data collecting points (DCPs).

The undo protocol udp port command restores the default UDP port number for an MCP to communicate with DCPs.

By default, an MCP uses UDP port 65030 to communicate with DCPs.

Format

protocol udp port port-number

undo protocol udp port

Parameters

Parameter Description Value
port-number

Specifies the UDP port number for an MCP to communicate with DCPs.

The value is an integer ranging from 1024 to 65535.

Views

IPFPM-MCP view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
ipfpm write

Usage Guidelines

Usage Scenario

To change the default UDP port number for an MCP to communicate with DCPs, run the protocol udp port command.

Prerequisites

The nqa ipfpm mcp command has been run to enable MCP globally.

Precautions

The UDP port number configured on an MCP must be the same as that specified in the mcp command run in the IP FPM instance view of all DCPs associated with this MCP. 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.

This configuration cannot be deleted separately, if the device does not configure IPFPM license.

Example

# Specify UDP port 1024 for an MCP to communicate with DCPs.
<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 >