exchange-port enable

Function

The exchange-port enable command enables a UDP source port number and UDP destination port number to be switched.

The undo exchange-port enable command disables a UDP source port number and UDP destination port number to be switched.

By default, a UDP source port number is not switched with a UDP destination port number.

Format

exchange-port enable

undo exchange-port enable

Parameters

None

Views

NQA view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
sla write

Usage Guidelines

Usage Scenario

If a UDP source port number is enabled to be switched with a UDP destination port number in a generalflow test, an initiator will first switch a UDP source port number with a UDP destination port number in received packets, and match the received packets against matching conditions and perform traffic statistics.

Example

# Enable a UDP source port number and UDP destination port number to be switched on the initiator.
<HUAWEI> system-view
[~HUAWEI] nqa test-instance user test
[*HUAWEI-nqa-user-test] commit
[~HUAWEI-nqa-user-test] test-type generalflow
[*HUAWEI-nqa-user-test] commit
[~HUAWEI-nqa-user-test] exchange-port enable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >