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.
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.
<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