udp destination-port

Function

The udp destination-port command sets the destination UDP port number or a port range carried in NQA test flows.

The undo udp destination-port command restores the default destination UDP port number or a port range carried in NQA test flows.

By default, the destination UDP port number is 7.

Format

udp destination-port destination-port [ end-destination-port ]

undo udp destination-port

Parameters

Parameter Description Value
destination-port

Specifies the destination UDP port number or the start destination UDP port number in a range.

The value is an integer ranging from 7 to 65535.

end-destination-port

Specifies the end destination UDP port number.

The value is an integer ranging from 1025 to 65535.

Views

NQA test flow view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
sla write

Usage Guidelines

Usage Scenario

To set the destination UDP port number carried in Ethernet service activation test packets, run the udp destination-port command. The reflector can loop packets carrying the specified destination UDP port numbers.

Precautions

For the same test flow, a range can be specified only in one of the traffic-type, vlan, pe-vid, udp destination-port, and udp source-port commands. In addition, the difference between the start and end values cannot be more than 127, and the end value must be greater than the start value.

Example

# Set the destination UDP port number carried in Ethernet service activation test packets.
<HUAWEI> system-view
[~HUAWEI] nqa test-flow 1
[*HUAWEI-nqa-testflow-1] udp destination-port 1234
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >