Part 12 - System Monitoring

11-NQA Commands

Chapters Download  (191.7 KB)

11-NQA Commands


NQA Client Configuration Commands

data-fill

Syntax

data-fill string

undo data-fill

View

ICMP echo, UDP echo, UDP jitter test type view

Default Level

2: System level

Parameters

string: String used to fill a probe packet, in the range 1 to 200. It is case sensitive.

Description

Use the data-fill command to configure the string used to fill a probe packet.

Use the undo data-fill command to restore the default.

By default, the string used to fill a probe packet is the hexadecimal number 00010203040506070809.

l   If the data field of a probe packet is smaller than the fill data, the system uses only the first part of the character string to encapsulate the packet.

l   If the data field of a probe packet is larger than the fill data, the system fills the character string cyclically to encapsulate the packet until it is full.

For example, when the fill data is abcd and the size of the data field of a probe packet is 3 byte, abc is used to fill the packet. When the data field of a probe packet is 6 byte, abcdab is used to fill the packet.

l   In an ICMP echo test, the configured character string is used to fill the data field in an ICMP echo message.

l   In a UDP echo test, because the first five bytes of the data field of a UDP packet have some specific usage, the configured character string is used to fill the remaining bytes in the UDP packet.

l   In a UDP jitter test, because the first 68 bytes of the data field of a UDP packet have some specific usage, the configured character string is used to fill the remaining bytes in the UDP packet.

Examples

# Configure the string used to fill an ICMP echo probe packet as abcd.

<Sysname> system-view

[Sysname] nqa entry admin test

[Sysname-nqa-admin-test] type icmp-echo

[Sysname-nqa-admin-test-icmp-echo] data-fill abcd

data-size

Syntax

data-size size

undo data-size

View

ICMP echo, UDP echo, UDP jitter,  test type view

Default Level

2: System level

Parameters

size: Size of a probe packet in bytes, in the range 20 to 8100 for an ICMP echo or a UDP echo test, in the range 68 to 8100 for a UDP jitter test.

Description

Use the data-size command to configure the size of a probe packet to be sent.

Use the undo data-size command to restore the default.

The default values are as shown in Table 1-1.

Table 1-1 Default values of the size of test packets sent

Test Type

Codec type

Default value (in bytes)

ICMP

None

100

UDP echo

None

100

UDP jitter

None

100

 

l   For an ICMP echo test, the size of a probe packet is the length of the data field in an ICMP echo message.

l   For a UDP echo test and UDP jitter test, the size of a probe packet is the length of the data field in a UDP packet.

Examples

# Configure the size of an ICMP echo probe packet as 80 bytes.

<Sysname> system-view

[Sysname] nqa entry admin test

[Sysname-nqa-admin-test] type icmp-echo

[Sysname-nqa-admin-test-icmp-echo] data-size 80

description (any NQA test type view)

Syntax

description text

undo description

View

Any NQA test type view

Default Level

2: System level

Parameters

text: Descriptive string of a test group, which is in the range 1 to 200. It is case sensitive.

Description

Use the description command to give a brief description of a test group, usually, the test type or test purpose of a test group.

Use the undo description command to remove the configured description information.

By default, no descriptive string is available for a test group.

Examples

# Configure the descriptive string for a test group as icmp-probe.

<Sysname> system-view

[Sysname] nqa entry admin test

[Sysname-nqa-admin-test] type icmp-echo

[Sysname-nqa-admin-test-icmp-echo] description icmp-probe

destination ip

Syntax

destination ip ip-address

undo destination ip

View

DLSw, FTP, DNS, HTTP, ICMP echo, SNMP, TCP, UDP echo, UDP jitter test type view

Default Level

2: System level

Parameters

ip-address: Destination IP address of a test operation.

Description

Use the destination ip command to configure a destination IP address for a test operation.

Use the undo destination ip command to remove the configured destination IP address.

By default, no destination IP address is configured for a test operation.

Examples

# Configure the destination IP address of an ICMP echo test operation as 10.1.1.1.

<Sysname> system-view

[Sysname] nqa entry admin test

[Sysname-nqa-admin-test] type icmp-echo

[Sysname-nqa-admin-test-icmp-echo] destination ip 10.1.1.1

destination port

Syntax

destination port port-number

undo destination port

View

TCP, UDP echo, UDP jitter test type view

Default Level

2: System level

Parameters

port-number: Destination port number of a test operation, in the range 1 to 65535.

Description

Use the destination port command to configure a destination port number for a test operation.

Use the undo destination port command to remove the configured destination port number.

By default, no destination port number is configured for a test operation.

Note that you are not recommended to perform a UDP jitter test on ports from 1 to 1023 (known ports). Otherwise, the NQA test fails or the corresponding services of this port are unavailable.

Examples

# Configure the destination port number of a test operation as 9000.

<Sysname> system-view

[Sysname] nqa entry admin test

[Sysname-nqa-admin-test] type udp-echo

[Sysname-nqa-admin-test-udp-echo] destination port 9000

display nqa history

Syntax

display nqa history [ admin-name operation-tag ]

View

Any view

Default Level

2: System level

Parameters

admin-name operation-tag: Displays history records of a test group. If these two arguments are not specified, history records of all test groups are displayed. admin-name represents the name of the administrator who creates the NQA operation. It is a case-insensitive string of 1 to 32 characters. operation-tag represents the test operation tag. It is a case-insensitive string of 1 to 32 characters.

Description

Use the display nqa history command to display history records of NQA tests.

The display nqa history command cannot show you the results of UDP jitter tests. Therefore, to know the result of a UDP jitter test, you are recommended to use the display nqa result command to view the probe results of the latest NQA test, or use the display nqa statistics command to view the statistics of NQA tests.

Examples

# Display the history records of the NQA test in which the administrator name is administrator, and the operation tag is test.

<Sysname> display nqa history administrator test

  NQA entry(admin administrator, tag test) history record(s):

    Index      Response     Status           Time

    10         329          Succeeded        2007-04-29 20:54:26.5

    9          344          Succeeded        2007-04-29 20:54:26.2

    8          328          Succeeded        2007-04-29 20:54:25.8

    7          328          Succeeded        2007-04-29 20:54:25.5

    6          328          Succeeded        2007-04-29 20:54:25.1

    5          328          Succeeded        2007-04-29 20:54:24.8

    4          328          Succeeded        2007-04-29 20:54:24.5

    3          328          Succeeded        2007-04-29 20:54:24.1

    2          328          Succeeded        2007-04-29 20:54:23.8

    1          328          Succeeded        2007-04-29 20:54:23.4

Table 1-2 display nqa history command output description

Field

Description

Index

History record number

Response

Round-trip delay of a test packet in the case of a successful test, timeout time in the case of timeout, or 0 in the case that a test cannot be completed (in milliseconds)

Status

Status value of test results, including:

l  Succeeded

l  Unknown error

l  Internal error

l  Timeout

Time

Time when the test is completed

 

display nqa result

Syntax

display nqa result [ admin-name operation-tag ]

View

Any view

Default Level

2: System level

Parameters

admin-name operation-tag: Displays results of the last test of a test group. If this argument is not specified, results of the last tests of all test groups are displayed. admin-name represents the name of the administrator who creates the NQA operation. It is a case-insensitive string of 1 to 32 characters. operation-tag represents the test operation tag. It is a case-insensitive string of 1 to 32 characters.

Description

Use the display nqa result command to display results of the last NQA test.

Examples

# Display the results of the last UDP jitter test.

<Sysname> display nqa result admin test

  NQA entry(admin admin, tag test) test results:

    Destination IP address: 192.168.1.42

      Send operation times: 10             Receive response times: 10

      Min/Max/Average round trip time: 15/46/26

      Square-Sum of round trip time: 8103

      Last succeeded probe time: 2008-05-29 10:56:38.7

    Extended results:

      Packet lost in test: 0%

      Failures due to timeout: 0

      Failures due to disconnect: 0

      Failures due to no connection: 0

      Failures due to sequence error: 0

      Failures due to internal error: 0

      Failures due to other errors: 0

      Packet(s) arrived late: 0

    UDP-jitter results:

     RTT number: 10

      Min positive SD: 8                     Min positive DS: 8

      Max positive SD: 18                    Max positive DS: 8

      Positive SD number: 5                  Positive DS number: 2

      Positive SD sum: 75                    Positive DS sum: 32

      Positive SD average: 15                Positive DS average: 16

      Positive SD square sum: 1189           Positive DS square sum: 640

      Min negative SD: 8                     Min negative DS: 1

      Max negative SD: 24                    Max negative DS: 30

      Negative SD number: 4                  Negative DS number: 7

      Negative SD sum: 56                    Negative DS sum: 99

      Negative SD average: 14                Negative DS average: 14

      Negative SD square sum: 946            Negative DS square sum: 1495

    One way results:

      Max SD delay: 22                       Max DS delay: 23

      Min SD delay: 7                        Min DS delay: 7

      Number of SD delay: 10                 Number of DS delay: 10

      Sum of SD delay: 125                   Sum of DS delay: 132

      Square sum of SD delay: 1805           Square sum of DS delay: 1988

      SD lost packet(s): 0                   DS lost packet(s): 0

      Lost packet(s) for unknown reason: 0

Table 1-3 display nqa result command output description

Field

Description

Destination IP address

IP address of the destination

Send operation times

Number of probe packets sent

Receive response times

Number of response packets received

Min/Max/Average round trip time

Minimum/maximum/average round-trip time in the unit of millisecond

Square-Sum of round trip time

Square sum of round-trip time

Last succeeded probe time

Time when the last successful probe was finished

Packet lost in test

Average packet loss ratio

Failures due to timeout

Number of timeout occurrences in a test

Failures due to disconnect

Number of disconnections by the peer

Failures due to no connection

Number of failures to connect with the peer

Failures due to sequence error

Number of failures owing to out-of-sequence packets

Failures due to internal error

Number of failures owing to internal errors

Failures due to other errors

Failures due to other errors

Packet(s) arrived late

Number of packets that arrived late

UDP-jitter results

UDP jitter test results, available only in UDP jitter tests.

RTT number

Number of response packets received

Min positive SD

Minimum positive jitter delay from source to destination

Min positive DS

Minimum positive jitter delay from destination to source

Max positive SD

Maximum positive jitter delay from source to destination

Max positive DS

Maximum positive jitter delay from destination to source

Positive SD number

Number of positive jitter delays from source to destination

Positive DS number

Number of positive jitter delays from destination to source

Positive SD sum

Sum of positive jitter delays from source to destination

Positive DS sum

Sum of positive jitter delays from destination to source

Positive SD average

Average of positive jitter delays from source to destination

Positive DS average

Average of positive jitter delays from destination to source

Positive SD square sum

Square sum of positive jitter delays from source to destination

Positive DS square sum

Square sum of positive jitter delays from destination to source

Min negative SD

Minimum absolute value among negative jitter delays from source to destination

Min negative DS

Minimum absolute value among negative jitter delays from destination to source

Max negative SD

Maximum absolute value among negative jitter delays from source to destination

Max negative DS

Maximum absolute value among negative jitter delays from destination to source

Negative SD number

Number of negative jitter delays from source to destination

Negative DS number

Number of negative jitter delays from destination to source

Negative SD sum

Sum of absolute values of negative jitter delays from source to destination

Negative DS sum

Sum of absolute values of negative jitter delays from destination to source

Negative SD average

Average absolute value of negative jitter delays from source to destination

Negative DS average

Average absolute value of negative jitter delays from destination to source

Negative SD square sum

Square sum of negative jitter delays from source to destination

Negative DS square sum

Square sum of negative jitter delays from destination to source

One way results

Uni-direction delay test result, displayed in a UDP jitter test

Max SD delay

Maximum delay from source to destination

Max DS delay

Maximum delay from destination to source

Min SD delay

Minimum delay from source to destination

Min DS delay

Minimum delay from destination to source

Number of SD delay

Number of delays from source to destination

Number of DS delay

Number of delays from destination to source

Sum of SD delay

Sum of delays from source to destination

Sum of DS delay

Sum of delays from destination to source

Square sum of SD delay

Square sum of delays from source to destination

Square sum of DS delay

Square sum of delays from destination to source

SD lost packet(s)

Number of lost packets from the source to the destination

DS lost packet(s)

Number of lost packets from the destination to the source

Lost packet(s) for unknown reason

Number of lost packets for unknown reasons

 

display nqa statistics

Syntax

display nqa statistics [ admin-name operation-tag ]

View

Any view

Default Level

2: System level

Parameters

admin-name operation-tag: Displays statistics of the specified test group. If this argument is not specified, statistics of all test groups are displayed. admin-name represents the name of the administrator who creates the NQA operation. It is a case-insensitive string of 1 to 32 characters. operation-tag represents the test operation tag. It is a case-insensitive string of 1 to 32 characters.

Description

Use the display nqa statistics command to display statistics of NQA test or tests.

After the test operation begins, if not all the probes in the first test have been finished, statistics cannot be generated. In this case, if you display the statistics using this command, the statistics is displayed as all 0s.

Examples

# Display statistics of UDP jitter tests.

<Sysname> display nqa statistics admin test

  NQA entry(admin admin, tag test) test statistics:

    NO. : 1

    Destination IP address: 192.168.1.42

      Start time: 2008-05-29 11:33:29.9

      Life time: 8

      Send operation times: 70             Receive response times: 70

      Min/Max/Average round trip time: 1/63/19

      Square-Sum of round trip time: 36330

    Extended results:

      Packet lost in test: 0%

      Failures due to timeout: 0

      Failures due to disconnect: 0

      Failures due to no connection: 0

      Failures due to sequence error: 0

      Failures due to internal error: 0

      Failures due to other errors: 0

      Packet(s) arrived late: 0

    UDP-jitter results:

     RTT number: 70

      Min positive SD: 1                     Min positive DS: 1

      Max positive SD: 24                    Max positive DS: 22

      Positive SD number: 34                 Positive DS number: 27

      Positive SD sum: 415                   Positive DS sum: 362

      Positive SD average: 12                Positive DS average: 13

      Positive SD square sum: 6593           Positive DS square sum: 6450

      Min negative SD: 1                     Min negative DS: 1

      Max negative SD: 40                    Max negative DS: 64

      Negative SD number: 28                 Negative DS number: 35

      Negative SD sum: 28                    Negative DS sum: 35

      Negative SD average: 13                Negative DS average: 12

      Negative SD square sum: 7814           Negative DS square sum: 420

    One way results:

      Max SD delay: 31                       Max DS delay: 31

      Min SD delay: 7                        Min DS delay: 7

      Number of SD delay: 70                 Number of DS delay: 70

      Sum of SD delay: 628                   Sum of DS delay: 656

      Square sum of SD delay: 8156           Square sum of DS delay: 8704

      SD lost packet(s): 0                   DS lost packet(s): 0

      Lost packet(s) for unknown reason: 0

Table 1-4 display nqa statistics command output description

Field

Description

No.

Statistics group number

Destination IP address

IP address of the destination

Start time

Test start time

Life time

Duration of the test, in seconds

Send operation times

Number of probe packets sent

Receive response times

Number of response packets received

Min/Max/Average round trip time

Minimum/maximum/average round-trip time in the unit of millisecond

Square-Sum of round trip time

Square sum of round-trip time

Packet lost in test

Average packet loss ratio

Failures due to timeout

Number of timeout occurrences in a test

Failures due to disconnect

Number of disconnections by the peer

Failures due to no connection

Number of failures to connect with the peer

Failures due to sequence error

Number of failures owing to out-of-sequence packets

Failures due to internal error

Number of failures owing to internal errors

Failures due to other errors

Failures due to other errors

Packet(s) arrived late

Number of response packets received after a probe times out

UDP-jitter results

UDP jitter test results, available only in UDP jitter tests.

RTT number

Number of response packets received

Min positive SD

Minimum positive jitter delay from source to destination

Min positive DS

Minimum positive jitter delay from destination to source

Max positive SD

Maximum positive jitter delay from source to destination

Max positive DS

Maximum positive jitter delay from destination to source

Positive SD number

Number of positive jitter delays from source to destination

Positive DS number

Number of positive jitter delays from destination to source

Positive SD sum

Sum of positive jitter delays from source to destination

Positive DS sum

Sum of positive jitter delays from destination to source

Positive SD average

Average of positive jitter delays from source to destination

Positive DS average

Average of positive jitter delays from destination to source

Positive SD square sum

Square sum of positive jitter delays from source to destination

Positive DS square sum

Square sum of positive jitter delays from destination to source

Min negative SD

Minimum absolute value among negative jitter delays from source to destination

Min negative DS

Minimum absolute value among negative jitter delays from destination to source

Max negative SD

Maximum absolute value among negative jitter delays from source to destination

Max negative DS

Maximum absolute value among negative jitter delays from destination to source

Negative SD number

Number of negative jitter delays from source to destination

Negative DS number

Number of negative jitter delays from destination to source

Negative SD sum

Sum of absolute values of negative jitter delays from source to destination

Negative DS sum

Sum of absolute values of negative jitter delays from destination to source

Negative SD average

Average absolute value of negative jitter delays from source to destination

Negative DS average

Average absolute value of negative jitter delays from destination to source

Negative SD square sum

Square sum of negative jitter delays from source to destination

Negative DS square sum

Square sum of negative jitter delays from destination to source

One way results

Uni-direction delay test result, displayed on in a UDP-Jitter test

Max SD delay

Maximum delay from source to destination

Max DS delay

Maximum delay from destination to source

Min SD delay

Minimum delay from source to destination

Min DS delay

Minimum delay from destination to source

Number of SD delay

Number of delays from source to destination

Number of DS delay

Number of delays from destination to source

Sum of SD delay

Sum of delays from source to destination

Sum of DS delay

Sum of delays from destination to source

Square sum of SD delay

Square sum of delays from source to destination

Square sum of DS delay

Square sum of delays from destination to source

SD lost packet(s)

Number of lost packets from the source to the destination

DS lost packet(s)

Number of lost packets from the destination to the source

Lost packet(s) for unknown reason

Number of lost packets for unknown reasons

 

filename

Syntax

filename filename

undo filename

View

FTP test type view

Default Level

2: System level

Parameters

filename: Name of the file transferred between the FTP server and the FTP client, which is a case sensitive string of 1 to 200 characters.

Description

Use the filename command to specify a file to be transferred between the FTP server and the FTP client.

Use the undo filename command to restore the default.

By default, no file is specified.

Examples

# Specify the file to be transferred between the FTP server and the FTP client as config.txt.

<Sysname> system-view

[Sysname] nqa entry admin test

[Sysname-nqa-admin-test] type ftp

[Sysname-nqa-admin-test-ftp] filename config.txt

frequency

Syntax

frequency interval

undo frequency

View

Any NQA test type view

Default Level

2: System level

Parameters

interval: Interval between two consecutive tests, in milliseconds, in the range 0 to 604800000. If the interval is 0, it indicates that only one test is performed, and no statistics are generated.

Description

Use the frequency command to configure the interval between two consecutive tests for a test group.

Use the undo frequency command to restore the default.

By default, the interval between two consecutive tests is 0 milliseconds. In other words, only one test is performed.

When you use the nqa schedule command to start an NQA test, one test is started at interval.

If the last test is not completed when the interval specified by the frequency command is reached, a new test is not started.

Examples

# Configure the interval between two consecutive tests as 1000 milliseconds.

<Sysname> system-view

[Sysname] nqa entry admin test

[Sysname-nqa-admin-test] type icmp-echo

[Sysname-nqa-admin-test-icmp-echo] frequency 1000

history-record enable

Syntax

history-record enable

undo history-record enable

View

Any NQA test type view

Default level

2: System level

Parameters

None

Description

Use the history-record enable command to enable the saving of history records of an NQA test group.

Use the undo history-record enable command to disable the history records saving function.

By default, history records of an NQA test group are not saved.

Note that:

l   If the history records saving function is enabled, the system saves the history records. To view the history records of the NQA test group, use the display nqa history command.

l   If the history records saving function is disabled, the system does not save the history records of the NQA test group and the existing history records are also removed.

Related commands: display nqa history.

Examples

# Enable the history records saving function of an NQA test group.

<Sysname> system-view

[Sysname] nqa entry admin test

[Sysname-nqa-admin-test] type icmp-echo

[Sysname-nqa-admin-test-icmp-echo] history-record enable

history-record keep-time

Syntax

history-record keep-time keep-time

undo history-record keep-time

View

Any NQA test type view

Default Level

2: System level

Parameters

keep-time: Specifies how long the history records can be saved. The time ranges from 1 to 1440 minutes.

Description

Use the history-record keep-time command to set the lifetime of the history records in an NQA test group.

Use the undo history-record keep-time command to restore the default.

By default, the history records in an NQA test group are kept for 120 minutes.

When an NQA test completes, the timing starts. All the records are removed when the lifetime is reached.

Examples

# Configure the lifetime of the history records in an NQA test group as 100 minutes.

<Sysname> system-view

[Sysname] nqa entry admin test

[Sysname-nqa-admin-test] type icmp-echo

[Sysname-nqa-admin-test-icmp-echo] history-record keep-time 100

history-record number

Syntax

history-record number number

undo history-record number

View

Any NQA test type view

Default Level

2: System level

Parameters

number: Maximum number of history records that can be saved in a test group, in the range 0 to 50.

Description

Use the history-record number command to configure the maximum number of history records that can be saved in a test group.

Use the undo history-record number command to restore the default.

By default, the maximum number of records that can be saved in a test group is 50.

If the number of history records in a test group exceeds the maximum number, the earliest history record is removed.

Examples

# Configure the maximum number of history records that can be saved in a test group as 10.

<Sysname> system-view

[Sysname] nqa entry admin test

[Sysname-nqa-admin-test] type icmp-echo

[Sysname-nqa-admin-test-icmp-echo] history-record number 10

http-version

Syntax

http-version v1.0

undo http-version

View

HTTP test type view

Default Level

2: System level

Parameters

v1.0: The HTTP version is 1.0 in an HTTP test.

Description

Use the http-version command to configure the HTTP version used in an HTTP test.

Use the undo http-version command to restore the default.

By default, HTTP 1.0 is used in an HTTP test.

Examples

# Configure the HTTP version as 1.0 in an HTTP test.

<Sysname> system-view

[Sysname] nqa entry admin test

[Sysname-nqa-admin-test] type http

[Sysname-nqa-admin-test-http] http-version v1.0

next-hop

Syntax

next-hop ip-address

undo next-hop

View

ICMP echo test type view

Default Level

2: System level

Parameters

ip-address: IP address of the next hop.

Description

Use the next-hop command to configure the next hop IP address for an IP packet.

Use the undo next-hop command to remove the configured next hop IP address.

By default, no next hop IP address is configured.

Examples

# Configure the next hop IP address as 10.1.1.1.

<Sysname> system-view

[Sysname] nqa entry admin test

[Sysname-nqa-admin-test] type icmp-echo   

[Sysname-nqa-admin-test-icmp-echo] next-hop 10.1.1.1

nqa

Syntax

nqa entry admin-name operation-tag

undo nqa { all | entry admin-name operation-tag }

View

System view

Default Level

2: System level

Parameters

admin-name: Specifies the name of the administrator who creates the NQA test operation, a case-insensitive string of 1 to 32 characters, with “-” excluded.

operation-tag: Specifies the tag of a test operation, a case-insensitive string of 1 to 32 characters, with “-” excluded.

all: All NQA test groups.

Description

Use the nqa command to create an NQA test group and enter NQA test group view.

Use the undo nqa command to remove the test group.

Note that if the test type has been configured for the test group, you directly enter NQA test type view when you execute the nqa command.

Examples

# Create an NQA test group whose administrator name is admin and whose operation tag is test and enter NQA test group view.

<Sysname> system-view

[Sysname] nqa entry admin test

[Sysname-nqa-admin-test]

nqa agent enable

Syntax

nqa agent enable

undo nqa agent enable

View

System view

Default Level

2: System level

Parameters

None

Description

Use the nqa agent enable command to enable the NQA client.

Use the undo nqa agent enable command to disable the NQA client and stop all the tests being performed.

By default, the NQA client is enabled.

Related commands: nqa server enable.

Examples

# Enable the NQA client.

<Sysname> system-view

[Sysname] nqa agent enable

nqa agent max-concurrent

Syntax

nqa agent max-concurrent number

undo nqa agent max-concurrent

View

System view

Default Level

2: System level

Parameters

number: Maximum number of the tests that the NQA client can simultaneously perform, in the range of 1 to 5.

Description

Use the nqa agent max-concurrent command to configure the maximum number of tests that the NQA client can simultaneously perform.

Use the undo nqa agent max-concurrent command to restore the default.

By default, the maximum number of tests that the NQA client can simultaneously perform is 2.

From the beginning to the end of a test, the NQA test is in the test status; from the end of a test to the beginning of the next test, the NQA test is in the waiting status.

Examples

# Configure the maximum number of the tests that the NQA client can simultaneously perform as 5.

<Sysname> system-view

[Sysname] nqa agent max-concurrent 5

nqa schedule

Syntax

nqa schedule admin-name operation-tag start-time { hh:mm:ss [ yyyy/mm/dd ] | now } lifetime { lifetime | forever }

undo nqa schedule admin-name operation-tag

View

System view

Default Level

2: System level

Parameters

admin-name: Specifies the name of the administrator who creates the NQA test operation, a case-insensitive string of 1 to 32 characters.

operation-tag: Specifies the test operation tag, a case-insensitive string of 1 to 32 characters.

start-time: Specifies the start time and date of a test.

hh:mm:ss: Start time of a test.

yyyy/mm/dd: Start date of a test. The default value is the current system time, and yyyy ranges from 2000 to 2035.

now: Starts the tests for a test group immediately.

lifetime: Specifies the duration of the test operation.

lifetime: Duration of the test operation in seconds, in the range 1 to 2147483647.

forever: Specifies that the tests are performed for a test group forever.

Description

Use the nqa schedule command to configure the test start time and test duration for a test group.

Use the undo nqa schedule command to stop the test for the test group.

Note that:

l   It is not allowed to enter test group view or test type view after a test group is scheduled.

l   A test group performs a test when the system time is between the start time and the end time (the start time plus test duration). If the system time is behind the start time when you execute the nqa schedule command, a test is started when the system time reaches the start time; if the system time is between the start time and the end time, a test is started at once; if the system time is ahead of the end time, no test is started. To view the current system time, use the display clock command.

For the related configurations, refer to the display clock command in Device Management Commands in the Command Reference - Part 12 - System Monitoring.

Examples

# Start the tests for the test group with the administrator name admin and operation tag test. The start time and duration of the tests are 08:08:08 2008/08/08 and 1000 seconds respectively.

<Sysname> system-view

[Sysname] nqa schedule admin test start-time 08:08:08 2008/08/08 lifetime 1000

operation (FTP test type view)

Syntax

operation { get | put }

undo operation

View

FTP test type view

Default Level

2: System level

Parameters

get: Obtains a file from the FTP server.

put: Transfers a file to the FTP server.

Description

Use the operation command to configure the FTP operation type.

Use the undo operation command to restore the default.

By default, the FTP operation type is get.

Examples

# Configure the FTP operation type as put.

<Sysname> system-view

[Sysname] nqa entry admin test

[Sysname-nqa-admin-test] type ftp

[Sysname-nqa-admin-test-ftp] operation put

operation (HTTP test type view)

Syntax

operation { get | post }

undo operation

View

HTTP test type view

Default Level

2: System level

Parameters

get: Obtains data from the HTTP server.

post: Transfers data to the HTTP server.

Description

Use the operation command to configure the HTTP operation type.

Use the undo operation command to restore the default.

By default, the HTTP operation type is get.

Examples

# Configure the HTTP operation type as post.

<Sysname> system-view

[Sysname] nqa entry admin test

[Sysname-nqa-admin-test] type http

[Sysname-nqa-admin-test-http] operation post

operation interface

Syntax

operation interface interface-type interface-number

undo operation interface

View

DHCP test type view

Default Level

2: System level

Parameters

interface-type interface-number: Type and number of the interface that is performing a DHCP test.

Description

Use the operation interface command to specify the interface to perform a DHCP test.

Use the undo operation interface command to restore the default.

By default, no interface is specified to perform a DHCP test.

Note that the specified interface must be up; otherwise, the test will fail.

Examples

# Specify the interface to perform a DHCP test as VLAN-interface 2.

<Sysname> system-view

[Sysname] nqa entry admin test

[Sysname-nqa-admin-test] type dhcp

[Sysname-nqa-admin-test-dhcp] operation interface vlan-interface 2

password (FTP test type view)

Syntax

password password

undo password

View

FTP test type view

Default Level

2: System level

Parameters

password: Password used to log in to the FTP server, a case sensitive string of 1 to 32 characters.

Description

Use the password command to configure a password used to log in to the FTP server.

Use the undo password command to remove the configured password.

By default, no password is configured for logging in to the FTP server.

Related commands: username, operation.

Examples

# Configure the password used for logging onto the FTP server as ftpuser.

<Sysname> system-view

[Sysname] nqa entry admin test

[Sysname-nqa-admin-test] type ftp

[Sysname-nqa-admin-test-ftp] password ftpuser

probe count

Syntax

probe count times

undo probe count

View

DHCP, DNS, DLSw, FTP, HTTP, ICMP echo, SNMP, TCP, UDP echo, UDP jitter test type view

Default Level

2: System level

Parameters

times: Number of probes in an NQA test, in the range 1 to 15.

Description

Use the probe count command to configure the number of probes in an NQA test.

Use the undo probe count command to restore the default.

By default, one probe is performed in an NQA test.

l   For a TCP or DLSw test, one probe means one connection;

l   For a UDP jitter test, the number of packets sent in one probe depends on the probe packet-number command;

l   For an FTP, HTTP, DHCP or DNS test, one probe means to carry out a corresponding function;

l   For an ICMP echo or UDP echo test, one packet is sent in one probe;

l   For an SNMP test, three packets are sent in a probe.

If the number of probes in a test is greater than 1, the system performs a second probe after it performs the first probe and receives a response packet. If the system does not receive a response packet, it waits for the test timer to expire before performing a second probe. The process is repeated until the specified probes are completed.

Examples

# Configure the number of probes in an ICMP echo test as 10.

<Sysname> system-view

[Sysname] nqa entry admin-test

[Sysname-nqa-admin-test] type icmp-echo

[Syaname-nqa-admin-test-icmp-echo] probe count 10

probe packet-interval

Syntax

probe packet-interval packet-interval

undo probe packet-interval

View

UDP jitter test type view

Default Level

2: System level

Parameters

packet-interval: Interval for packets sent in a probe in a test, in milliseconds, in the range 10 to 60000.

Description

Use the probe packet-interval command to configure the interval for sending packets in a probe in a test.

Use the undo probe-interval command to restore the default.

By default, the interval is 20 milliseconds.

Examples

# Configure the interval for sending packets in a probe in a UDP jitter test as 100 milliseconds.

<Sysname> system-view

[Sysname] nqa entry admin test

[Sysname-nqa-admin-test] type udp-jitter

[Syaname-nqa-admin-test-udp-jitter] probe packet-interval 100

probe packet-number

Syntax

probe packet-number packet-number

undo probe packet-number

View

UDP jitter test type view

Default Level

2: System level

Parameters

packet-number: Number of packets sent in a UDP jitter probe. It is in the range 10 to 1000.

Description

Use the probe packet-number command to configure the number of packets sent in a UDP jitter probe.

Use the undo probe packet-number command to restore the default.

By default, the number of packets sent in a probe is 10 in a UDP jitter test.

Examples

# Configure the number of packets sent in a UDP jitter probe as 100.

<Sysname> system-view

[Sysname] nqa entry admin test

[Sysname-nqa-admin-test] type udp-jitter

[Syaname-nqa-admin-test-udp-jitter] probe packet-number 100

probe packet-timeout

Syntax

probe packet-timeout packet-timeout

undo probe packet-timeout

View

UDP jitter test type view

Default Level

2: System level

Parameters

packet-timeout: Timeout time for waiting for responses in a UDP jitter test, in the range 10 to 3600000 milliseconds.

Description

Use the probe packet-timeout command to configure the timeout time for waiting for responses in a UDP jitter test.

Use the undo probe packet-timeout command to restore the default.

By default, the timeout time in a UDP jitter test is 3000 and 5000 milliseconds respectively.

Examples

# Configure the timeout time for waiting for responses in a UDP jitter test as 100 milliseconds.

<Sysname> system-view

[Sysname] nqa entry admin test

[Sysname-nqa-admin-test] type udp-jitter

[Syaname-nqa-admin-test-udp-jitter] probe packet-timeout 100

probe timeout

Syntax

probe timeout timeout

undo probe timeout

View

DHCP, DNS, DLSw, FTP, HTTP, ICMP echo, SNMP, TCP, UDP echo test type view

Default Level

2: System level

Parameters

timeout: Timeout time in a probe except UDP jitter probe, in milliseconds. For an FTP or HTTP probe, the value range is 10 to 86400000; for a DHCP, DNS, DLSw, ICMP echo, SNMP, TCP or UDP echo probe, the value range is 10 to 3600000.

Description

Use the probe timeout command to configure the timeout time in a probe.

Use the undo probe timeout command to restore the default.

By default, the timeout time is 3000 milliseconds.

When an NQA probe begins, if the NQA probe is not finished within the time specified in the probe timeout command, the probe times out.

Examples

# Configure the timeout time in a DHCP probe as 10000 milliseconds.

<Sysname> system-view

[Sysname] nqa entry admin test

[Sysname-nqa-admin-test] type dhcp

[Syaname-nqa-admin-test-dhcp] probe timeout 10000

reaction

Syntax

reaction item-num checked-element probe-fail threshold-type consecutive occurrences [ action-type { none | trigger-only } ]

undo reaction item-num

View

DHCP, DNS, DLSw, FTP, HTTP, ICMP echo, SNMP, TCP, UDP echo test type view

Default Level

2: System level

Parameters

item-num: Number of the reaction entry, in the range 1 to 10.

checked-element: Type of the monitored element in collaboration. At present, the type of the monitored element can be probe failure only.

probe-fail: The type of the monitored element is probe failure.

threshold-type consecutive: Threshold type is consecutive probe failures.

occurrences: Number of consecutive probe failures, in the range 1 to 16.

action-type: Triggered action type, defaulting to none.

none: Performs no actions.

trigger-only: Triggers collaboration between other modules only.

Description

Use the reaction command to establish a collaboration entry to monitor the probe results of the current test group. If the number of consecutive probe failures reaches the threshold, collaboration with other modules is triggered.

Use the undo reaction command to remove the collaboration entry.

By default, no collaboration entries are configured.

Note that:

l   You cannot modify the content of a collaboration entry using the reaction command after the collaboration entry is created.

l   The collaboration function is not supported in a UDP jitter test.

Related commands: track in the Track Commands in the Command Reference - Part 9 - High Availability.

Examples

# Create collaboration entry 1. If the number of consecutive probe failures reaches 3, collaboration with other modules is triggered.

<Sysname> system-view

[Sysname] nqa entry admin test

[Sysname-nqa-admin-test] type tcp

[Sysname-nqa-admin-test-tcp] reaction 1 checked-element probe-fail threshold-type consecutive 3 action-type trigger-only

reaction trap

Syntax

reaction trap { probe-failure consecutive-probe-failures | test-complete | test-failure cumulate-probe-failures }

undo reaction trap { probe-failure | test-complete | test-failure }

View

Any NQA test type view

Default Level

2: System level

Parameters

probe-failure consecutive-probe-failures: Specifies to send a trap indicating a probe failure to the network management server after consecutive probe failures in an NQA test. consecutive-probe-failures is the number of consecutive probe failures in a test, in the range 1 to 15.

test-complete: Specifies to send a trap to indicate that the test is completed.

test-failure cumulate-probe-failures: Specifies to send a trap indicating a probe failure to the network management server if the total number of probe failures in an NQA test is larger than or equal to cumulate-probe-failures. For one test, the trap is sent only when the test is completed. cumulate-probe-failures is the total number of consecutive probe failures in a test, in the range 1 to 15.

Description

Use the reaction trap command to configure to send traps to network management server under specified conditions.

Use the undo reaction trap command to restore the default.

By default, no traps are sent to the network management server.

Examples

# Configure to send a trap indicating a probe failure after five consecutive probe failures in an ICMP echo test.

<Sysname> system-view

[Sysname] nqa entry admin test

[Sysname-nqa-admin-test] type icmp-echo

[Sysname-nqa-admin-test-icmp-echo] reaction trap probe-failure 5

resolve-target

Syntax

resolve-target domain-name

undo resolve-target

View

DNS test type view

Default Level

2: System level

Parameters

domain-name: Specifies the domain name to be resolved. It is a case insensitive string separated by dots (.), each part consisting of 1 to 63 characters. The total length must be within 255 characters, Valid characters in a part include letters, digits, hyphens (-), and underscores (_).

Description

Use the resolve-target command to set the domain name for a DNS test.

Use the undo resolve-target command to restore the default.

By default, no domain name is configured.

Examples

# Set the domain name for DNS resolution to domain1.

<Sysname> system-view

[Sysname] nqa entry admin test

[Sysname-nqa-admin-test] type dns

[Syaname-nqa-admin-test-dns] resolve-target domain1

route-option bypass-route

Syntax

route-option bypass-route

undo route-option bypass-route

View

DLSw, DNS, FTP, HTTP, ICMP echo, SNMP, TCP, UDP echo, UDP jitter test type view

Default Level

2: System level

Parameters

None

Description

Use the route-option bypass-route command to enable the routing table bypass function to test the direct connectivity to the direct destination.

Use the undo route-option bypass-route command to disable the routing table bypass function.

By default, the routing table bypass function is disabled.

Note that when this function is enabled, the routing table is not searched, and the packet is directly sent to the destination in a directly connected network.

Examples

# Enable the routing table bypass function.

<Sysname> system-view

[Sysname] nqa entry admin test

[Sysname-nqa-admin-test] type icmp-echo

[Sysname-nqa-admin-test-icmp-echo] route-option bypass-route

source interface

Syntax

source interface interface-type interface-number

undo source interface

View

ICMP echo test type view

Default Level

2: System level

Parameters

interface-type interface-number: Interface type and the interface number of the source interface of a probe packet.

Description

Use the source interface command to specify the IP address of an interface as the source IP address of ICMP echo probe requests.

Use the undo source interface command to remove the IP address of an interface as the source IP address of ICMP echo probe requests.

By default, no interface address is specified as the source IP address of ICMP test request packets.

Note that:

l   If you use the source ip command to configure the source IP address of ICMP probe requests, the source interface command is invalid.

l   The interface specified by the source interface command must be up; otherwise, the probe fails.

Related commands: source ip.

Examples

# Specify the IP address of interface VLAN-interface 2 as the source IP address of ICMP echo probe requests.

<Sysname> system-view

[Sysname] nqa entry admin test

[Sysname-nqa-admin-test] type icmp-echo

[Sysname-nqa-admin-test-icmp-echo] source interface vlan-interface 2

source ip

Syntax

source ip ip-address

undo source ip

View

DLSw, FTP, HTTP, ICMP echo, SNMP, TCP, UDP echo, UDP jitter test type view

Default Level

2: System level

Parameters

ip-address: Source IP address of a test operation.

Description

Use the source ip command to configure the source IP address of ICMP probe requests in a test operation.

Use the undo source ip command to remove the configured source address. That is, the IP address of the interface sending a probe request serves as the source IP address of the probe request.

By default, no source IP address is specified.

Note that:

l   For an ICMP echo test, if no source IP address is specified, but the source interface is specified, the IP address of the source interface is taken as the source IP address of ICMP probe requests.

l   The source IP address specified by the source ip command must be the IP address of an interface on the device, and the interface must be up; otherwise, the test fails.

Related commands: source interface.

Examples

# Configure the source IP address of an ICMP echo probe request as 10.1.1.1.

<Sysname> system-view

[Sysname] nqa entry admin test

[Sysname-nqa-admin-test] type icmp-echo

[Sysname-nqa-admin-test-icmp-echo] source ip 10.1.1.1

source port

Syntax

source port port-number

undo source port

View

SNMP, UDP echo, UDP jitter test type view

Default Level

2: System level

Parameters

port-number: Source port number for a test operation, in the range 1 to 50000.

Description

Use the source port command to configure the source port of ICMP probe requests in a test operation.

Use the undo source port command to remove the configured port number.

By default, no source port number is specified.

Examples

# Configure the source port number of a probe request as 8000.

<Sysname> system-view

[Sysname] nqa entry admin test

[Sysname-nqa-admin-test] type udp-echo

[Sysname-nqa-admin-test-udp-echo] source port 8000

statistics hold-time

Syntax

statistics hold-time hold-time

undo statistics hold-time

View

DLSw, DNS, FTP, HTTP, ICMP echo, SNMP, TCP, UDP echo, UDP jitter test type view

Default Levels

2: System level

Parameters

hold-time: Hold time of a statistics group in minutes, in the range 1 to 1440.

Description

Use the statistics hold-time command to configure the hold time of a statistics group.

Use the undo statistics hold-time command to restore the default.

By default, the hold time of a statistics group is 120 minutes.

A statistics group has the aging mechanism. A statistics group will be deleted after it is kept for a period of time so that information of a new statistics group will be recorded.

Note that this command is supported on all types of tests except DHCP tests.

Examples

# Configure the hold time of a statistics group as 3 minutes.

<Sysname> system-view

[Sysname] nqa entry admin test

[Sysname-nqa-admin-test] type icmp-echo

[Sysname-nqa-admin-test-icmp-echo] statistics hold-time 3

statistics max-group

Syntax

statistics max-group number

undo statistics max-group

View

DLSw, DNS, FTP, HTTP, ICMP echo, SNMP, TCP, UDP echo, UDP jitter test type view

Default Levels

2: System level

Parameters

number: Maximum number of statistics groups that can be kept, in the range 0 to 100.

Description

Use the statistics max-group command to configure the maximum number of statistics groups that can be kept.

Use the undo statistics max-group command to restore the default.

By default, the maximum number of statistics groups that can be kept is 2.

When the number of statistics groups kept reaches the upper limit, if a new statistics group is generated, the statistics group that is kept the longest is deleted.

Note that:

l   This command is supported in all tests except DHCP tests.

l   The value of 0 indicates that no statistics are collected.

Examples

# Configure the maximum number of statistics groups that can be kept as 5.

<Sysname> system-view

[Sysname] nqa entry admin test

[Sysname-nqa-admin-test] type icmp-echo

[Sysname-nqa-admin-test-icmp-echo] statistics max-group 5

statistics interval

Syntax

statistics interval interval

undo statistics interval

View

DLSw, DNS, FTP, HTTP, ICMP echo, SNMP, TCP, UDP echo, UDP jitter test type view

Default Levels

2: System level

Parameters

interval: Interval for collecting statistics of the test results in minutes, in the range 1 to 35791394.

Description

Use the statistics interval command to configure the interval for collecting statistics of the test results.

Use the undo statistics interval command to restore the default.

By default, the interval is 60 minutes.

NQA puts the NQA tests completed in a certain interval into one group, and calculates the statistics of the test results of the group. These statistics form a statistics group. To display information of the statistics group, use the display nqa statistics command.

Note that this command is supported on all types of tests except DHCP tests.

Examples

# Configure the interval for collecting statistics of the test results as 2 minutes.

<Sysname> system-view

[Sysname] nqa entry admin test

[Sysname-nqa-admin-test] type icmp-echo

[Sysname-nqa-admin-test-icmp-echo] statistics interval 2

tos

Syntax

tos value

undo tos

View

DLSw, DNS, FTP, HTTP, ICMP echo, SNMP, TCP, UDP echo, UDP jitter test type view

Default Level

2: System level

Parameters

value: Value of the ToS field in the IP header in an NQA probe packet, in the range 0 to 255.

Description

Use the tos command to configure the value of the ToS field in the IP header in an NQA probe packet.

Use the undo tos command to restore the default.

By default, the ToS field in the IP header of an NQA probe packet is 0.

Examples

# Configure the ToS field in a IP packet header in an NQA probe packet as 1.

<Sysname> system-view

[Sysname] nqa entry admin test

[Sysname-nqa-admin-test] type icmp-echo

[Sysname-nqa-admin-test-icmp-echo] tos 1

ttl

Syntax

ttl value

undo ttl

View

DLSw, DNS, FTP, HTTP, ICMP echo, SNMP, TCP, UDP echo, UDP jitter test type view

Default Level

2: System level

Parameters

value: Maximum number of hops a probe packet traverses in the network, in the range 1 to 255.

Description

Use the ttl command to configure the maximum number of hops a probe packet traverses in the network.

Use the undo ttl command to restore the default.

By default, the maximum number of hops that a probe packet can traverse in a network is 20.

Note that with the route-option bypass-route command configured, the maximum number of hops a probe packet traverses in the network is 1, and the ttl command does not take effect.

Examples

# Configure the maximum number of hops that a probe request can traverse in a network as 16.

<Sysname> system-view

[Sysname] nqa entry admin test

[Sysname-nqa-admin-test] type icmp-echo

[Sysname-nqa-admin-test-icmp-echo] ttl 16

type

Syntax

type { dhcp | dlsw | dns | ftp | http | icmp-echo | snmp | tcp | udp-echo | udp-jitter }

View

NQA test group view

Default Level

2: System level

Parameters

dhcp: DHCP test.

dlsw: DLSw test.

dns: DNS test.

ftp: FTP test.

http: HTTP test.

icmp-echo: ICMP echo test.

snmp: SNMP test.

tcp: TCP test.

udp-echo: UDP echo test.

udp-jitter: UDP jitter test.

Description

Use the type command to configure the test type of the current test group and enter test type view.

By default, no test type is configured.

Examples

# Configure the test type of a test group as FTP and enter test type view.

<Sysname> system-view

[Sysname] nqa entry admin test

[Sysname-nqa-admin-test] type ftp

[Sysname-nqa-admin-test-ftp]

url

Syntax

url url

undo url

View

HTTP test type view

Default Level

2: System level

Parameters

url: Website that an HTTP test visits, a case sensitive string of 1 to 185 characters.

Description

Use the url command to configure the website an HTTP test visits.

Use the undo url command to remove the configured website an HTTP test visits.

Note that the character string of the configured URL cannot contain spaces.

Examples

# Configure the website that an HTTP test visits as /index.htm.

<Sysname> system-view

[Sysname] nqa entry admin test

[Sysname-nqa-admin-test] type http

[Sysname-nqa-admin-test-http] url /index.htm

username (FTP test type view)

Syntax

username username

undo username

View

FTP test type view

Default Level

2: System level

Parameters

username: Username used to log onto the FTP server, a string of 1 to 32 characters. It is case sensitive.

Description

Use the username command to configure a username used to log onto the FTP server.

Use the undo username command to remove the configured username.

By default, no username is configured for logging in to the FTP server.

Related commands: password, operation.

Examples

# Configure the login username as administrator.

<Sysname> system-view

[Sysname] nqa entry admin test

[Sysname-nqa-admin-test] type ftp

[Sysname-nqa-admin-test-ftp] username administrator

vpn-instance (ICMP echo test type view)

Syntax

vpn-instance instance

undo vpn-instance

View

ICMP echo test type view

Default Level

2: System level

Parameters

instance: VPN instance name, a case sensitive string of 1 to 31 characters.

Description

Use the vpn-instance command to specify a VPN instance.

Use the undo vpn-instance command to restore the default.

By default, no VPN instance is specified.

When you specify a VPN instance, NQA tests the connectivity of the specified VPN tunnel.

Examples

# Specify the VPN instance vpn1.

<Sysname> system-view

[Sysname] nqa entry admin test

[Sysname-nqa-admin-test] type icmp-echo

[Sysname-nqa-admin-test-icmp-echo] vpn-instance vpn1

NQA Server Configuration Commands

 

You only need to configure the NQA server for UDP jitter, TCP and UDP echo tests.

 

display nqa server status

Syntax

display nqa server status

View

Any view

Default Level

2: System level

Parameters

None

Description

Use the display nqa server status command to display NQA server status.

Examples

# Display NQA server status.

<Sysname> display nqa server status

nqa server is: enabled

tcp-connect:

    IP Address     Port           Status

    2.2.2.2        2000           active

udp-echo:

    IP Address     Port            Status

    3.3.3.3        3000            inactive

Table 1-5 display nqa server status command output description

Field

Description

tcp-connect

NQA server status in the NQA TCP test

udp-echo

NQA server status in the NQA UDP test

IP Address

IP address specified for the TCP/UDP listening service on the NQA server

Port

Port number of the TCP/UDP listening service on the NQA server

Status

Listening service status:

active: Listening service is ready;

inactive: Listening service is not ready.

 

nqa server enable

Syntax

nqa server enable

undo nqa server enable

View

System view

Default Level

2: System level

Parameters

None

Description

Use the nqa server enable command to enable the NQA server.

Use the undo nqa server enable command to disable the NQA server.

By default, the NQA server is disabled.

Related commands: nqa server tcp-connect, nqa server udp-echo, display nqa server status.

Examples

# Enable the NQA server.

<Sysname> system-view

[Sysname] nqa server enable

nqa server tcp-connect

Syntax

nqa server tcp-connect ip-address port-number

undo nqa server tcp-connect ip-address port-number

View

System view

Default Level

2: System level

Parameters

ip-address: IP address specified for the TCP listening service on the NQA server.

port-number: Port number specified for the TCP listening service on the NQA server, in the range 1 to 50000.

Description

Use the nqa server tcp-connect command to create a TCP listening service on the NQA server.

Use the undo nqa server tcp-connect command to remove the TCP listening service created.

Note that:

l   Configure the command on the NQA server for TCP tests only.

l   The IP address and port number must be consistent with those on the NQA client and must be different from those for an existing listening service.

l   The IP address must be that of an interface on the NQA server. Otherwise, the configuration becomes invalid.

Related commands: nqa server enable, display nqa server status.

Examples

# Create a TCP listening service by using the IP address 169.254.10.2 and port 9000.

<Sysname> system-view

[Sysname] nqa server tcp-connect 169.254.10.2 9000

nqa server udp-echo

Syntax

nqa server udp-echo ip-address port-number

undo nqa server udp-echo ip-address port-number

View

System view

Default Level

2: System level

Parameters

ip-address: IP address specified for the UDP listening service on the NQA server.

port-number: Port number specified for the UDP listening service on the NQA server, in the range 1 to 50000.

Description

Use the nqa server udp-echo command to create a UDP listening service on the NQA server.

Use the undo nqa server udp-echo command to remove the UDP listening service created.

Note that:

l   Configure the command on the NQA server for UDP jitter and UDP echo tests only.

l   The IP address and port number must be consistent with those configured on the NQA client and must be different from those of an existing listening service.

l   The IP address must be that of an interface on the NQA server. Otherwise, the configuration becomes invalid.

Related commands: nqa server enable, display nqa server status.

Examples

# Create a UDP listening service by using IP address 169.254.10.2 and port 9000.

<Sysname> system-view

[Sysname] nqa server udp-echo 169.254.10.2 9000

H3C reserves the right to modify its collaterals without any prior notice. For the latest information of the collaterals, please consult H3C sales or call 400 hotline.