< Home

source-port (NQA view)

Function

The source-port command sets the source port number of the NQA test instance.

The undo source-port command deletes the source port number configuration.

Format

source-port port-number

undo source-port

Parameters

Parameter Description Value
port-number Specifies the source port number of the NQA test. The value is an integer ranging from 1 to 65535.

Views

NQA view

Default Level

2: Configuration level

Usage Guidelines

Prerequisites

Before running the datafill command, run the test-type command to specify the type of a test instance, which may be one of the following:
  • UDP
  • UDP-jitter
  • ICMP
  • UDP-tracert

Precautions

You cannot change the parameter value when the test is performed.

Example

# Set the source port number of test instance admin http to 9999.

<sysname> system-view
[sysname] nqa test-instance admin http
[sysname-nqa-admin-http] test-type http
[sysname-nqa-admin-http] source-port 9999
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >