< Home

destination-port (NQA view)

Function

The destination-port command configures the destination port number of an NQA test.

The undo destination-port command restores the default setting.

Format

destination-port port-number

undo destination-port

Parameters

Parameter Description Value
port-number

Specifies the destination port number.

The value is an integer ranging from 1 to 65535.

Views

NQA view

Default Level

2: Configuration level

Usage Guidelines

Prerequisites

Before running the destination-port command, run the test-type command to specify the type of a test instance, which may be one of the following:
  • FTP
  • HTTP
  • UDP-tracert
  • TCP
  • UDP
  • UDP-jitter

Precautions

The destination port number of a running test instance cannot be changed.

Example

# Set the destination port number of the test named admin http.

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