- Table of Contents
-
- 12-Network Management and Monitoring
- 00-Preface
- 01-System maintenance and debugging commands
- 02-NQA commands
- 03-NTP commands
- 04-SNMP commands
- 05-RMON commands
- 06-NETCONF commands
- 07-EAA commands
- 08-Process monitoring and maintenance commands
- 09-PoE commands
- 10-Flow log commands
- 11-Packet capture commands
- 12-Information center commands
- 13-Mirroring commands
- Related Documents
-
Title | Size | Download |
---|---|---|
02-NQA commands | 253.28 KB |
description (any NQA operation type view)
operation (FTP operation view)
operation (HTTP/HTTPS operation view)
reaction checked-element { jitter-ds | jitter-sd }
reaction checked-element { owd-ds | owd-sd }
reaction checked-element packet-loss
reaction checked-element probe-duration
reaction checked-element probe-fail (for trap)
reaction checked-element probe-fail (for trigger)
NQA commands
NQA client commands
data-fill
Use data-fill to configure the payload fill string for probe packets.
Use undo data-fill to restore the default.
Syntax
data-fill string
undo data-fill
Default
The payload fill string is the hexadecimal number 00010203040506070809.
Views
ICMP/UDP echo operation view
UDP jitter operation view
ICMP/TCP/UDP template view
Predefined user roles
network-admin
Parameters
string: Specifies a case-sensitive string of 1 to 200 characters.
Usage guidelines
If the payload length is smaller than the string length, only the first part of the string is filled. For example, if you configure the string as abcd and set the payload size to 3 bytes, abc is filled.
If the payload length is greater than the string length, the system fills the payload with the string cyclically until the payload is full. For example, if you configure the string as abcd and the payload size as 6 bytes, abcdab is filled.
How the string is filled depends on the operation type.
· For the ICMP echo operation, the string fills the whole payload of an ICMP echo request.
· For the UDP echo operation, the first five bytes of the payload of a UDP packet are for special purpose. The string fills the remaining part of payload.
· For the UDP jitter operation, the first 68 bytes of the payload of a UDP packet are for special purpose. The string fills the remaining part of the payload.
Examples
# Specify abcd as the payload fill string for ICMP echo requests.
<Sysname> system-view
[Sysname] nqa entry admin test
[Sysname-nqa-admin-test] type icmp-echo
[Sysname-nqa-admin-test-icmp-echo] data-fill abcd
# In TCP template view, specify abcd as the payload fill string for requests.
<Sysname> system-view
[Sysname] nqa template tcp tcptplt
[Sysname-nqatplt-tcp-tcptplt] data-fill abcd
data-size
Use data-size to set the payload size for each probe packet.
Use undo data-size to restore the default.
Syntax
data-size size
undo data-size
Default
The default payload size of a probe packet for different operations is described in Table 1.
Table 1 Default payload size of a probe packet
Operation type |
Codec type |
Default size (bytes) |
ICMP echo |
N/A |
100 |
UDP echo |
N/A |
100 |
UDP jitter |
N/A |
100 |
Views
ICMP/UDP echo operation view
UDP jitter operation view
ICMP/UDP template view
Predefined user roles
network-admin
Parameters
size: Specifies the payload size. Available value ranges include:
· 20 to 65507 bytes for the ICMP echo and UDP echo operations.
· 68 to 65507 bytes for the UDP jitter operation.
Usage guidelines
In ICMP echo operations, the command sets the payload size for each ICMP echo request.
In UDP echo and UDP jitter operations, the command sets the payload size for each UDP packet.
Examples
# Set the payload size to 80 bytes for each ICMP echo request.
<Sysname> system-view
[Sysname] nqa entry admin test
[Sysname-nqa-admin-test] type icmp-echo
[Sysname-nqa-admin-test-icmp-echo] data-size 80
# In ICMP template view, set the payload size to 80 bytes for each request.
<Sysname> system-view
[Sysname] nqa template icmp icmptplt
[Sysname-nqatplt-icmp-icmptplt] data-size 80
description (any NQA operation type view)
Use description to configure a description for an NQA operation, such as the operation type or purpose.
Use undo description to remove the description.
Syntax
description text
undo description
Default
No description is configured for an NQA operation.
Views
Any NQA operation type view
Any NQA template view
Predefined user roles
network-admin
Parameters
text: Specifies a case-sensitive string of 1 to 200 characters.
Examples
# Configure the description as icmp-probe for an NQA operation.
<Sysname> system-view
[Sysname] nqa entry admin test
[Sysname-nqa-admin-test] type icmp-echo
[Sysname-nqa-admin-test-icmp-echo] description icmp-probe
# In ICMP template view, configure the description as icmp-probe for an NQA operation.
<Sysname> system-view
[Sysname] nqa template icmp icmptplt
[Sysname-nqatplt-icmp-icmptplt] description icmp-probe
destination ip
Use destination ip to configure the destination IPv4 address for the operation.
Use undo destination ip to remove the destination IPv4 address.
Syntax
destination ip ip-address
undo destination ip
Default
No destination IPv4 address is configured for the operation.
Views
SNMP/TCP operation view
ICMP/UDP echo operation view
ICMP/UDP jitter operation view
ICMP/RADIUS/SSL/TCP/UDP template view
TCP half open template view
Predefined user roles
network-admin
Parameters
ip-address: Specifies the destination IPv4 address for the operation.
Examples
# Specify 10.1.1.1 as the destination IPv4 address for the ICMP echo operation.
<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
# In ICMP template view, specify 10.1.1.1 as the destination IPv4 address for the ICMP echo operation.
<Sysname> system-view
[Sysname] nqa template icmp icmptplt
[Sysname-nqatplt-icmp-icmptplt] destination ip 10.1.1.1
destination ipv6
Use destination ipv6 to configure the destination IPv6 address for the operation.
Use undo destination ipv6 to remove the destination IPv6 address.
Syntax
destination ipv6 ipv6-address
undo destination ipv6
Default
No destination IPv6 address is configured for the operation.
Views
ICMP echo operation view
ICMP/RADIUS/SSL/TCP/UDP template view
TCP half open template view
Predefined user roles
network-admin
Parameters
ipv6-address: Specifies the destination IPv6 address for the operation. IPv6 link-local addresses are not supported.
Examples
# In ICMP template view, specify 1::1 as the destination IPv6 address for the operation.
<Sysname> system-view
[Sysname] nqa template icmp icmptplt
[Sysname-nqatplt-icmp-icmptplt] destination ipv6 1::1
destination port
Use destination port to configure the destination port number for the operation.
Use undo destination port to remove the destination port number.
Syntax
destination port port-number
undo destination port
Default
The destination port numbers for the operations that use the following NQA templates are:
· 21 for the FTP template.
· 80 for the HTTP template.
· 443 for the HTTPS template.
· 1812 for the RADIUS template.
No destination port number is configured for other types of operations.
Views
TCP operation view
UDP echo operation view
UDP jitter operation view
RADIUS/SSL/TCP/UDP template view
Predefined user roles
network-admin
Parameters
port-number: Specifies the destination port number for the operation, in the range of 1 to 65535.
Examples
# Set the destination port number to 9000 for the UDP echo operation.
<Sysname> system-view
[Sysname] nqa entry admin test
[Sysname-nqa-admin-test] type udp-echo
[Sysname-nqa-admin-test-udp-echo] destination port 9000
# In TCP template view, set the destination port number to 9000 for the UDP echo operation.
<Sysname> system-view
[Sysname] nqa template tcp tcptplt
[Sysname-nqatplt-tcp-tcptplt] destination port 9000
display nqa history
Use display nqa history to display the history records of NQA operations.
Syntax
display nqa history [ admin-name operation-tag ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
admin-name operation-tag: Specifies an NQA operation by its administrator name and operation tag. The admin-name argument represents the name of the administrator who creates the NQA operation. The operation-tag argument represents the operation tag. Each of the arguments is a case-insensitive string of 1 to 32 characters that cannot contain hyphens (-). If you do not specify an NQA operation, the command displays the history records of all NQA operations.
Usage guidelines
The display nqa history command does not display the results or statistics of the ICMP jitter or UDP jitter operation. To view the results or statistics of these operations, use the display nqa result or display nqa statistics command.
Examples
# Display the history records of the NQA operation with the administrator name administrator and the operation tag test.
<Sysname> display nqa history administrator test
NQA entry (admin administrator, tag test) history records:
Index Response Status Time
10 329 Succeeded 2011-04-29 20:54:26.5
9 344 Succeeded 2011-04-29 20:54:26.2
8 328 Succeeded 2011-04-29 20:54:25.8
7 328 Succeeded 2011-04-29 20:54:25.5
6 328 Succeeded 2011-04-29 20:54:25.1
5 328 Succeeded 2011-04-29 20:54:24.8
4 328 Succeeded 2011-04-29 20:54:24.5
3 328 Succeeded 2011-04-29 20:54:24.1
2 328 Succeeded 2011-04-29 20:54:23.8
1 328 Succeeded 2011-04-29 20:54:23.4
Table 2 Command output
Field |
Description |
Index |
History record ID. |
TTL |
TTL value in the probe packet. |
Response |
Round-trip time if the operation succeeds, timeout time upon timeout, or 0 if the operation cannot be completed, in milliseconds. |
IP address of the node that sent the reply packet. |
|
Status |
Status of the operation result: · Succeeded. · Unknown error. · Internal error. · Timeout. |
Time |
Time when the operation was completed. |
display nqa reaction counters
Use display nqa reaction counters to display the current monitoring results of reaction entries.
Syntax
display nqa reaction counters [ admin-name operation-tag [ item-number ] ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
admin-name operation-tag: Specifies an NQA operation by its administrator name and operation tag. The admin-name argument represents the name of the administrator who creates the NQA operation. The operation-tag argument represents the operation tag. Each of the arguments is a case-insensitive string of 1 to 32 characters that cannot contain hyphens (-). If you do not specify an NQA operation, the command displays the current monitoring results of reaction entries for all NQA operations.
item-number: Specifies a reaction entry by its ID in the range of 1 to 10. If you do not specify a reaction entry, the command displays the results of all reaction entries.
Usage guidelines
The result fields display hyphens (-) if the threshold type is the average value.
The monitoring results of an operation are accumulated, and are not cleared after the operation completes.
Examples
# Display the monitoring results of all reaction entries of the ICMP echo operation with the administrator name admin and the operation tag test.
<Sysname> display nqa reaction counters admin test
NQA entry (admin admin, tag test) reaction counters:
Index Checked Element Threshold Type Checked Num Over-threshold Num
1 probe-duration accumulate 12 4
2 probe-duration average - -
3 probe-duration consecutive 160 56
4 probe-fail accumulate 12 0
5 probe-fail consecutive 162 2
Table 3 Command output
Field |
Description |
Index |
ID of a reaction entry. |
Checked Element |
Monitored performance metric. |
Threshold Type |
Threshold type. |
Checked Num |
Number of targets that have been monitored for data collection. |
Over-threshold Num |
Number of threshold violations. |
Table 4 Description of the threshold monitoring fields
Monitored performance metric |
Threshold type |
Collect data in |
Checked Num |
Over-threshold Num |
probe-duration |
accumulate |
Probes after the operation starts. |
Number of completed probes. |
Number of probes with duration exceeding the threshold. |
average |
N/A |
N/A |
N/A |
|
consecutive |
Probes after the operation starts. |
Number of completed probes. |
Number of probes with duration exceeding the threshold. |
|
probe-fail |
accumulate |
Probes after the operation starts. |
Number of completed probes. |
Number of probe failures. |
consecutive |
Probes after the operation starts. |
Number of completed probes. |
Number of probe failures. |
|
RTT |
accumulate |
Packets sent after the operation starts. |
Number of sent packets. |
Number of packets with round-trip time exceeding threshold. |
average |
N/A |
N/A |
N/A |
|
jitter-DS/jitter-SD |
accumulate |
Packets sent after the operation starts. |
Number of sent packets. |
Number of packets with the one-way jitter exceeding the threshold. |
average |
N/A |
N/A |
N/A |
|
OWD-DS/OWD-SD |
N/A |
Packets sent after the operation starts. |
Number of sent packets. |
Number of packets with the one-way delay exceeding the threshold. |
packet-loss |
accumulate |
Packets sent after the operation starts. |
Number of sent packets. |
Total packet loss. |
ICPIF |
N/A |
N/A |
N/A |
N/A |
MOS |
N/A |
N/A |
N/A |
N/A |
display nqa result
Use display nqa result to display the most recent result of the specified NQA operation.
Syntax
display nqa result [ admin-name operation-tag ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
admin-name operation-tag: Specifies an NQA operation by its administrator name and operation tag. The admin-name argument represents the name of the administrator who creates the NQA operation. The operation-tag argument represents the operation tag. Each of the arguments is a case-insensitive string of 1 to 32 characters that cannot contain hyphens (-). If you do not specify an NQA operation, the command displays the most recent results of all NQA operations.
Examples
# Display the most recent result of the TCP operation.
<Sysname> display nqa result admin test
NQA entry (admin admin, tag test) test results:
Send operation times: 1 Receive response times: 1
Min/Max/Average round trip time: 35/35/35
Square-Sum of round trip time: 1225
Last succeeded probe time: 2011-05-29 10:50:33.2
Extended results:
Packet loss ratio: 0%
Failures due to timeout: 0
Failures due to disconnect: 0
Failures due to no connection: 0
Failures due to internal error: 0
Failures due to other errors: 0
# Display the most recent result of the ICMP jitter operation.
<Sysname> display nqa result admin test
NQA entry (admin admin, tag test) test results:
Send operation times: 10 Receive response times: 10
Min/Max/Average round trip time: 1/2/1
Square-Sum of round trip time: 13
Last packet received time: 2015-03-09 17:40:29.8
Extended results:
Packet loss ratio: 0%
Failures due to timeout: 0
Failures due to internal error: 0
Failures due to other errors: 0
Packets out of sequence: 0
Packets arrived late: 0
ICMP-jitter results:
RTT number: 10
Min positive SD: 0 Min positive DS: 0
Max positive SD: 0 Max positive DS: 0
Positive SD number: 0 Positive DS number: 0
Positive SD sum: 0 Positive DS sum: 0
Positive SD average: 0 Positive DS average: 0
Positive SD square-sum: 0 Positive DS square-sum: 0
Min negative SD: 1 Min negative DS: 2
Max negative SD: 1 Max negative DS: 2
Negative SD number: 1 Negative DS number: 1
Negative SD sum: 1 Negative DS sum: 2
Negative SD average: 1 Negative DS average: 2
Negative SD square-sum: 1 Negative DS square-sum: 4
One way results:
Max SD delay: 1 Max DS delay: 2
Min SD delay: 1 Min DS delay: 2
Number of SD delay: 1 Number of DS delay: 1
Sum of SD delay: 1 Sum of DS delay: 2
Square-Sum of SD delay: 1 Square-Sum of DS delay: 4
Lost packets for unknown reason: 0
# Display the most recent result of the UDP jitter operation.
<Sysname> display nqa result admin test
NQA entry (admin admin, tag test) test results:
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 packet received time: 2011-05-29 10:56:38.7
Extended results:
Packet loss ratio: 0%
Failures due to timeout: 0
Failures due to internal error: 0
Failures due to other errors: 0
Packets out of sequence: 0
Packets 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 packets: 0 DS lost packets: 0
Lost packets for unknown reason: 0
Table 5 Command output
Field |
Description |
Send operation times |
Number of operations. |
Receive response times |
Number of response packets received. |
Min/Max/Average round trip time |
Minimum/maximum/average round-trip time in milliseconds. |
Square-Sum of round trip time |
Square sum of round-trip time. |
Last succeeded probe time |
Time when the last successful probe was completed. If no probes are successful in an operation, the field displays 0. This field is not available for UDP jitter operations. |
Last packet received time |
Time when the last response packet was received. If no response packets in a probe were received, the field displays 0. This field is available only for UDP jitter operations. |
Packet loss ratio |
Average packet loss ratio. |
Failures due to timeout |
Number of timeout occurrences in an operation. |
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 internal error |
Number of failures due to internal errors. |
Failures due to other errors |
Failures due to other errors. |
Packets out of sequence |
Number of failures due to out-of-sequence packets. |
Packets arrived late |
Number of response packets received after a probe times out. |
UDP-jitter results |
UDP jitter operation results. This field is available only for the UDP jitter operation. |
ICMP-jitter results |
ICMP jitter operations results. This field is available only for the ICMP jitter operation. |
RTT number |
Number of response packets received. |
Min positive SD |
Minimum positive jitter from source to destination. |
Min positive DS |
Minimum positive jitter from destination to source. |
Max positive SD |
Maximum positive jitter from source to destination. |
Max positive DS |
Maximum positive jitter from destination to source. |
Positive SD number |
Number of positive jitters from source to destination. |
Positive DS number |
Number of positive jitters from destination to source. |
Positive SD sum |
Sum of positive jitters from source to destination. |
Positive DS sum |
Sum of positive jitters from destination to source. |
Positive SD average |
Average positive jitters from source to destination. |
Positive DS average |
Average positive jitters from destination to source. |
Positive SD square-sum |
Square sum of positive jitters from source to destination. |
Positive DS square-sum |
Square sum of positive jitters from destination to source. |
Min negative SD |
Minimum absolute value among negative jitters from source to destination. |
Min negative DS |
Minimum absolute value among negative jitters from destination to source. |
Max negative SD |
Maximum absolute value among negative jitters from source to destination. |
Max negative DS |
Maximum absolute value among negative jitters from destination to source. |
Negative SD number |
Number of negative jitters from source to destination. |
Negative DS number |
Number of negative jitters from destination to source. |
Negative SD sum |
Sum of absolute values of negative jitters from source to destination. |
Negative DS sum |
Sum of absolute values of negative jitters from destination to source. |
Negative SD average |
Average absolute value of negative jitters from source to destination. |
Negative DS average |
Average absolute value of negative jitters from destination to source. |
Negative SD square-sum |
Square sum of negative jitters from source to destination. |
Negative DS square-sum |
Square sum of negative jitters from destination to source. |
One way results |
Unidirectional delay. This field is available only for the ICMP jitter and UDP jitter operations. |
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 packets |
Number of lost packets from the source to the destination. |
DS lost packets |
Number of lost packets from the destination to the source. |
Lost packets for unknown reason |
Number of lost packets for unknown reasons. |
display nqa statistics
Use display nqa statistics to display NQA operation statistics.
Syntax
display nqa statistics [ admin-name operation-tag ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
admin-name operation-tag: Specifies an NQA operation by its administrator name and operation tag. The admin-name argument represents the name of the administrator who creates the NQA operation. The operation-tag argument represents the operation tag. Each of the arguments is a case-insensitive string of 1 to 32 characters that cannot contain hyphens (-). If you do not specify an NQA operation, the command displays statistics for all NQA operations.
Usage guidelines
The statistics are generated after the NQA operation completes. If you execute the display nqa statistics command before the operation completes, the statistics are displayed as all 0s.
If a reaction entry is configured, the command displays the monitoring results of the reaction entry in the period specified by the statistics internal command.
Examples
# Display the statistics for the TCP operation.
<Sysname> display nqa statistics admin test
NQA entry (admin admin, tag test) test statistics:
NO. : 1
Start time: 2007-01-01 09:30:20.0
Life time: 2 seconds
Send operation times: 1 Receive response times: 1
Min/Max/Average round trip time: 13/13/13
Square-Sum of round trip time: 169
Extended results:
Packet loss ratio: 0%
Failures due to timeout: 0
Failures due to disconnect: 0
Failures due to no connection: 0
Failures due to internal error: 0
Failures due to other errors: 0
# Display the statistics for the ICMP jitter operation.
<Sysname> display nqa statistics admin test
NQA entry (admin admin, tag test) test statistics:
NO. : 1
Start time: 2015-03-09 17:42:10.7
Life time: 156 seconds
Send operation times: 1560 Receive response times: 1560
Min/Max/Average round trip time: 1/2/1
Square-Sum of round trip time: 1563
Extended results:
Packet loss ratio: 0%
Failures due to timeout: 0
Failures due to internal error: 0
Failures due to other errors: 0
Packets out of sequence: 0
Packets arrived late: 0
ICMP-jitter results:
RTT number: 1560
Min positive SD: 1 Min positive DS: 1
Max positive SD: 1 Max positive DS: 2
Positive SD number: 18 Positive DS number: 46
Positive SD sum: 18 Positive DS sum: 49
Positive SD average: 1 Positive DS average: 1
Positive SD square-sum: 18 Positive DS square-sum: 55
Min negative SD: 1 Min negative DS: 1
Max negative SD: 1 Max negative DS: 2
Negative SD number: 24 Negative DS number: 57
Negative SD sum: 24 Negative DS sum: 58
Negative SD average: 1 Negative DS average: 1
Negative SD square-sum: 24 Negative DS square-sum: 60
One way results:
Max SD delay: 1 Max DS delay: 2
Min SD delay: 1 Min DS delay: 1
Number of SD delay: 4 Number of DS delay: 4
Sum of SD delay: 4 Sum of DS delay: 5
Square-Sum of SD delay: 4 Square-Sum of DS delay: 7
Lost packets for unknown reason: 0
Reaction statistics:
Index Checked Element Threshold Type Checked Num Over-threshold Num
1 jitter-DS accumulate 1500 10
2 jitter-SD average - -
3 OWD-DS - 1560 2
4 OWD-SD - 1560 0
5 packet-loss accumulate 0 0
6 RTT accumulate 1560 0
# Display the statistics for the UDP jitter operation.
<Sysname> display nqa statistics admin test
NQA entry (admin admin, tag test) test statistics:
NO. : 1
Start time: 2007-01-01 09:33:22.3
Life time: 23 seconds
Send operation times: 100 Receive response times: 100
Min/Max/Average round trip time: 1/11/5
Square-Sum of round trip time: 24360
Extended results:
Packet loss ratio: 0%
Failures due to timeout: 0
Failures due to internal error: 0
Failures due to other errors: 0
Packets out of sequence: 0
Packets arrived late: 0
UDP-jitter results:
RTT number: 550
Min positive SD: 1 Min positive DS: 1
Max positive SD: 7 Max positive DS: 1
Positive SD number: 220 Positive DS number: 97
Positive SD sum: 283 Positive DS sum: 287
Positive SD average: 1 Positive DS average: 2
Positive SD square-sum: 709 Positive DS square-sum: 1937
Min negative SD: 2 Min negative DS: 1
Max negative SD: 10 Max negative DS: 1
Negative SD number: 81 Negative DS number: 94
Negative SD sum: 556 Negative DS sum: 191
Negative SD average: 6 Negative DS average: 2
Negative SD square-sum: 4292 Negative DS square-sum: 967
One way results:
Max SD delay: 5 Max DS delay: 5
Min SD delay: 1 Min DS delay: 1
Number of SD delay: 550 Number of DS delay: 550
Sum of SD delay: 1475 Sum of DS delay: 1201
Square-Sum of SD delay: 5407 Square-Sum of DS delay: 3959
SD lost packets: 0 DS lost packets: 0
Lost packets for unknown reason: 0
Reaction statistics:
Index Checked Element Threshold Type Checked Num Over-threshold Num
1 jitter-DS accumulate 90 25
2 jitter-SD average - -
3 OWD-DS - 100 24
4 OWD-SD - 100 13
5 packet-loss accumulate 0 0
6 RTT accumulate 100 52
Table 6 Command output
Field |
Description |
No. |
Statistics group ID. |
Start time |
Time when the operation started. |
Life time |
Duration of the operation 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 milliseconds. |
Square-Sum of round trip time |
Square sum of round-trip time. |
Packet loss ratio |
Average packet loss ratio. |
Failures due to timeout |
Number of timeout occurrences in an operation. |
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 internal error |
Number of failures due to internal errors. |
Failures due to other errors |
Failures due to other errors. |
Packets out of sequence |
Number of failures due to out-of-sequence packets. |
Packets arrived late |
Number of response packets received after a probe times out. |
UDP-jitter results |
UDP jitter operation results. This field is available only for the UDP jitter operation. |
ICMP-jitter results |
ICMP jitter operation results. This field is available only for the ICMP jitter operation. |
RTT number |
Number of response packets received. |
Min positive SD |
Minimum positive jitter from source to destination. |
Min positive DS |
Minimum positive jitter from destination to source. |
Max positive SD |
Maximum positive jitter from source to destination. |
Max positive DS |
Maximum positive jitter from destination to source. |
Positive SD number |
Number of positive jitters from source to destination. |
Positive DS number |
Number of positive jitters from destination to source. |
Positive SD sum |
Sum of positive jitters from source to destination. |
Positive DS sum |
Sum of positive jitters from destination to source. |
Positive SD average |
Average positive jitters from source to destination. |
Positive DS average |
Average positive jitters from destination to source. |
Positive SD square-sum |
Square sum of positive jitters from source to destination. |
Positive DS square-sum |
Square sum of positive jitters from destination to source. |
Min negative SD |
Minimum absolute value among negative jitters from source to destination. |
Min negative DS |
Minimum absolute value among negative jitters from destination to source. |
Max negative SD |
Maximum absolute value among negative jitters from source to destination. |
Max negative DS |
Maximum absolute value among negative jitters from destination to source. |
Negative SD number |
Number of negative jitters from source to destination. |
Negative DS number |
Number of negative jitters from destination to source. |
Negative SD sum |
Sum of absolute values of negative jitters from source to destination. |
Negative DS sum |
Sum of absolute values of negative jitters from destination to source. |
Negative SD average |
Average absolute value of negative jitters from source to destination. |
Negative DS average |
Average absolute value of negative jitters from destination to source. |
Negative SD square-sum |
Square sum of negative jitters from source to destination. |
Negative DS square-sum |
Square sum of negative jitters from destination to source. |
One way results |
Unidirectional delay result. This field is available only for the ICMP jitter and UDP jitter operations. |
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 packets |
Number of lost packets from the source to the destination. |
DS lost packets |
Number of lost packets from the destination to the source. |
Lost packets for unknown reason |
Number of lost packets for unknown reasons. |
Reaction statistics |
Statistics about the reaction entry in the counting interval. |
Index |
ID of a reaction entry. |
Checked Element |
Monitored element. |
Threshold Type |
Threshold type. |
Checked Num |
Number of targets that have been monitored for data collection. |
Over-threshold Num |
Number of threshold violations. |
Table 7 Description of the threshold monitoring fields
Monitored performance metric |
Threshold type |
Collect data in |
Checked Num |
Over-threshold Num |
probe-duration |
accumulate |
Probes in the counting interval. |
Number of completed probes. |
Number of probes of which the duration exceeds the threshold. |
average |
N/A |
N/A |
N/A |
|
consecutive |
Probes in the counting interval. |
Number of completed probes. |
Number of probes of which the duration exceeds the threshold. |
|
probe-fail |
accumulate |
Probes in the counting interval. |
Number of completed probes. |
Number of probe failures. |
consecutive |
Probes in the counting interval. |
Number of completed probes. |
Number of probe failures. |
|
RTT |
accumulate |
Packets sent in the counting interval. |
Number of sent packets. |
Number of packets of which the round-trip time exceeds the threshold. |
average |
N/A |
N/A |
N/A |
|
jitter-DS/jitter-SD |
accumulate |
Packets sent in the counting interval. |
Number of sent packets. |
Number of packets of which the one-way jitter exceeds the threshold. |
average |
N/A |
N/A |
N/A |
|
OWD-DS/OWD-SD |
N/A |
Packets sent in the counting interval. |
Number of sent packets. |
Number of packets of which the one-way delay exceeds the threshold. |
packet-loss |
accumulate |
Packets sent in the counting interval. |
Number of sent packets. |
Number of packet loss. |
ICPIF |
N/A |
N/A |
N/A |
N/A |
MOS |
N/A |
N/A |
N/A |
N/A |
Related commands
statistics interval
expect data
Use expect data to configure the expected data.
Use undo expect data to restore the default.
Syntax
expect data expression [ offset number ]
undo expect data
Default
No expected data is configured.
Views
HTTP template view
HTTPS template view
TCP template view
UDP template view
Predefined user roles
network-admin
Parameters
expression: Specifies the expected data, a case-sensitive string of 1 to 200 characters.
offset number: Specifies the offset in bytes after which the first match operation starts. The value range for the number argument is 0 to 1000, and the default value is 0. If you do not specify an offset, the client performs only one lookup operation.
Usage guidelines
Upon receiving a response packet, the NQA client looks up the target payload content for the expected data.
· If a match is found, the NQA client verifies the NQA destination device as legal.
· If no match is found, the NQA client looks up the entire payload for a match. If no match is found again, the NQA destination device is verified as illegal.
The first five bytes of the UDP packet payload identify the probe packet type. The start byte of the offset is the sixth byte of the UDP payload.
Expected data check takes place in the following conditions:
· For features that use the HTTP or HTTPS template, the NQA client checks for the expected data if the response contains the Content-Length header.
· For features that use the TCP or UDP template, the NQA client checks for the expected data if the data-fill command is configured.
Examples
# In HTTP template view, set the expected data to welcome!.
<Sysname> system-view
[Sysname] nqa template http httptplt
[Sysname-nqatplt-http-httptplt] expect data welcome!
filename
Use filename to specify a file to be transferred between the FTP server and the FTP client.
Use undo filename to restore the default.
Syntax
filename filename
undo filename
Default
No file is specified.
Views
FTP operation view
FTP template view
Predefined user roles
network-admin
Parameters
filename: Specifies the name of a file, a case-sensitive string of 1 to 200 characters that cannot contain slashes (/).
Examples
# Specify config.txt as the file to be transferred between the FTP server and the FTP client.
<Sysname> system-view
[Sysname] nqa entry admin test
[Sysname-nqa-admin-test] type ftp
[Sysname-nqa-admin-test-ftp] filename config.txt
# In FTP template view, specify config.txt as the file to be transferred between the FTP server and the FTP client.
<Sysname> system-view
[Sysname] nqa template ftp ftptplt
[Sysname-nqatplt-ftp-ftptplt] filename config.txt
frequency
Use frequency to specify the interval at which the NQA operation repeats.
Use undo frequency to restore the default.
Syntax
frequency interval
undo frequency
Default
In NQA operation view, the interval between two consecutive operations is 0 milliseconds.
In NQA template view, the interval between two consecutive operations is 5000 milliseconds.
Views
FTP/HTTP/SNMP/TCP operation view
ICMP/UDP echo operation view
ICMP/UDP jitter operation view
Any NQA template view
Predefined user roles
network-admin
Parameters
interval: Specifies the interval between two consecutive operations, in the range of 0 to 604800000 milliseconds. An interval of 0 milliseconds sets NQA to perform the operation only once, and not to generate any statistics.
Usage guidelines
If an operation is not completed when the interval is reached, the next operation does not start.
Examples
# Configure the ICMP echo operation to repeat every 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
Use history-record enable to enable the saving of history records for the NQA operation.
Use undo history-record enable to disable the saving of history records.
Syntax
history-record enable
undo history-record enable
Default
The saving of history records is disabled.
Views
FTP/HTTP/SNMP/TCP operation view
ICMP/UDP echo operation view
Predefined user roles
network-admin
Usage guidelines
To display the history records of the NQA operation, use the display nqa history command.
The undo form of the command also removes existing history records of an NQA operation.
Examples
# Enable the saving of history records for the NQA operation.
<Sysname> system-view
[Sysname] nqa entry admin test
[Sysname-nqa-admin-test] type icmp-echo
[Sysname-nqa-admin-test-icmp-echo] history-record enable
Related commands
display nqa history
history-record keep-time
Use history-record keep-time to set the lifetime of history records for an NQA operation.
Use undo history-record keep-time to restore the default.
Syntax
history-record keep-time keep-time
undo history-record keep-time
Default
The history records of an NQA operation are kept for 120 minutes.
Views
FTP/HTTP/SNMP/TCP operation view
ICMP/UDP echo operation view
Predefined user roles
network-admin
Parameters
keep-time: Specifies how long the history records can be saved. The value is in the range of 1 to 1440 minutes.
Usage guidelines
When an NQA operation completes, the timer starts. All records are removed when the lifetime is reached.
Examples
# Set the lifetime of the history records to 100 minutes for an NQA operation.
<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
Use history-record number to set the maximum number of history records that can be saved for an NQA operation.
Use undo history-record number to restore the default.
Syntax
history-record number number
undo history-record number
Default
A maximum of 50 history records can be saved for an NQA operation.
Views
FTP/HTTP/SNMP/TCP operation view
ICMP/UDP echo operation view
Predefined user roles
network-admin
Parameters
number: Specifies the maximum number of history records that can be saved for an NQA operation. The value is in the range of 0 to 50.
Usage guidelines
If the number of history records for an NQA operation exceeds the maximum number, earliest history records are removed.
Examples
# Set the maximum number of history records to 10 for an NQA operation.
<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
key
Use key to set the shared key for secure RADIUS authentication.
Use undo key to restore the default.
key { cipher | simple } string
No shared key is configured for secure RADIUS authentication.
RADIUS template view
network-admin
cipher: Sets a ciphertext shared key.
simple: Sets a plaintext shared key.
string: Specifies the shared key string. This argument is case sensitive. If you specify the simple keyword, the shared key must be a string of 1 to 64 characters. If you specify the cipher keyword, the shared key must be a string of 1 to 117 characters.
Make sure the NQA client and the RADIUS server have the same shared key.
# Set the shared key to abc in plain text for secure RADIUS authentication.
[Sysname] nqa template radius radiustplt
[Sysname-nqatplt-radius-radiustplt] key simple abc
mode
Use mode to set the data transmission mode for the FTP operation.
Use undo mode to restore the default.
Syntax
mode { active | passive }
undo mode
Default
The FTP operation uses the data transmission mode active.
Views
FTP operation view
FTP template view
Predefined user roles
network-admin
Parameters
active: Sets the data transmission mode to active. The FTP server initiates a connection request.
passive: Sets the data transmission mode to passive. The FTP client initiates a connection request.
Examples
# Set the data transmission mode to passive for the FTP operation.
<Sysname> system-view
[Sysname] nqa entry admin test
[Sysname-nqa-admin-test] type ftp
[Sysname-nqa-admin-test-ftp] mode passive
# In FTP template view, set the data transmission mode to passive for the FTP operation.
<Sysname> system-view
[Sysname] nqa template ftp ftptplt
[Sysname-nqatplt-ftp-ftptplt] mode passive
next-hop ip
Use next-hop ip to specify the next hop IPv4 address for the ICMP echo operation.
Use undo next-hop ip to remove the next hop IPv4 address.
Syntax
next-hop ip ip-address
undo next-hop ip
Default
No next hop IPv4 address is specified for the ICMP echo operation.
Views
ICMP echo operation view
ICMP template view
TCP half open template view
Predefined user roles
network-admin
Parameters
ip-address: Specifies the IPv4 address of the next hop.
Usage guidelines
If the next hop IPv4 address is not configured, the device searches the routing table to determine the next hop IPv4 address for the probe packets.
Examples
# Specify 10.1.1.1 as the next hop IPv4 address for the ICMP echo operation.
<Sysname> system-view
[Sysname] nqa entry admin test
[Sysname-nqa-admin-test] type icmp-echo
[Sysname-nqa-admin-test-icmp-echo] next-hop ip 10.1.1.1
next-hop ipv6
Use next-hop ipv6 to specify the next hop IPv6 address for the ICMP echo operation.
Use undo next-hop ipv6 to remove the next hop IPv6 address.
Syntax
next-hop ipv6 ipv6-address
undo next-hop ipv6
Default
No next hop IPv6 address is specified for the ICMP echo operation.
Views
ICMP echo operation view
ICMP template view
TCP half open template view
Predefined user roles
network-admin
Parameters
ipv6-address: Specifies the IPv6 address of the next hop. IPv6 link-local addresses are not supported.
Usage guidelines
If the next hop IPv6 address is not configured, the device searches the routing table to determine the next hop IPv6 address for the probe packets.
Examples
# Specify 10::1 as the next hop IPv6 address for the ICMP echo operation.
[Sysname] nqa entry admin test
[Sysname-nqa-admin-test] type icmp-echo
[Sysname-nqa-admin-test-icmp-echo] next-hop ipv6 10::1
nqa
Use nqa to create an NQA operation and enter its view.
Use undo nqa to remove the operation.
Syntax
nqa entry admin-name operation-tag
undo nqa { all | entry admin-name operation-tag }
Default
No NQA operation is created.
Views
System view
Predefined user roles
network-admin
Parameters
admin-name operation-tag: Specifies an NQA operation by its administrator name and operation tag. The admin-name argument represents the name of the administrator who creates the NQA operation. The operation-tag argument represents the operation tag. Each of the arguments is a case-insensitive string of 1 to 32 characters that cannot contain hyphens (-).
all: Removes all NQA operations.
Usage guidelines
If the operation type has been configured for the operation, the command directly places you to NQA operation view.
Examples
# Create an NQA operation with administrator name admin and operation tag test, and enter NQA operation view.
<Sysname> system-view
[Sysname] nqa entry admin test
[Sysname-nqa-admin-test]
nqa agent enable
Use nqa agent enable to enable the NQA client.
Use undo nqa agent enable to disable the NQA client and stop all operations being performed.
Syntax
nqa agent enable
undo nqa agent enable
Default
The NQA client is enabled.
Views
System view
Predefined user roles
network-admin
Examples
# Enable the NQA client.
<Sysname> system-view
[Sysname] nqa agent enable
Related commands
nqa server enable
nqa schedule
Use nqa schedule to configure scheduling parameters for an NQA operation.
Use undo nqa schedule to stop the operation.
Syntax
nqa schedule admin-name operation-tag start-time { hh:mm:ss [ yyyy/mm/dd | mm/dd/yyyy ] | now } lifetime { lifetime | forever } [ recurring ]
undo nqa schedule admin-name operation-tag
Default
No schedule is configured for an NQA operation.
Views
System view
Predefined user roles
network-admin
Parameters
admin-name operation-tag: Specifies an NQA operation by its administrator name and operation tag. The admin-name argument represents the name of the administrator who creates the NQA operation. The operation-tag argument represents the operation tag. Each of the arguments is a case-insensitive string of 1 to 32 characters that cannot contain hyphens (-).
start-time: Specifies the start time and date of the NQA operation.
hh:mm:ss: Specifies the start time of an NQA operation.
yyyy/mm/dd: Specifies the start date of an NQA operation. The default value is the current system time, and the value for the yyyy argument is in the range of 2000 to 2035.
mm/dd/yyyy: Specifies the start date of an NQA operation. The default value is the current system time, and the value for the yyyy argument is in the range of 2000 to 2035.
now: Starts the operation immediately.
lifetime: Specifies the duration of an operation.
lifetime: Specifies the duration of an operation in seconds, in the range of 1 to 2147483647.
forever: Performs the operation until you stop it by using the undo nqa schedule command.
recurring: Runs the operation automatically at the start time and for the specified duration.
Usage guidelines
You cannot enter the operation view or operation type view of a scheduled NQA operation.
Specify a lifetime long enough for an operation to complete.
Examples
# Schedule the operation with the administrator name admin and operation tag test to start on 08:08:08 2008/08/08 and last 1000 seconds.
<Sysname> system-view
[Sysname] nqa schedule admin test start-time 08:08:08 2008/08/08 lifetime 1000 recurring
Related commands
· destination ip
· nqa entry
· type
nqa template
Use nqa template to create an NQA template and enter its view.
Use undo nqa template to remove the NQA template.
Syntax
nqa template { ftp | http | https | icmp | radius | ssl | tcp | tcphalfopen | udp } name
undo nqa template { ftp | http | https | icmp | radius | ssl | tcp | tcphalfopen | udp } name
Default
No NQA template is created.
Views
System view
Predefined user roles
network-admin
Parameters
ftp: Specifies the FTP template.
http: Specifies the HTTP template.
https: Specifies the HTTPS template.
icmp: Specifies the ICMP template.
radius: Specifies the RADIUS template.
ssl: Specifies the SSL template.
tcp: Specifies the TCP template.
tcphalfopen: Specifies the TCP half open template.
udp: Specifies the UDP template.
name: Specifies the name of the NQA template, a case-insensitive string of 1 to 32 characters.
Examples
# Create an ICMP template named icmptplt, and enter its view.
<Sysname> system-view
[Sysname] nqa template icmp icmptplt
[Sysname-nqatplt-icmp-icmptplt]
operation (FTP operation view)
Use operation to specify the operation type for the FTP operation.
Use undo operation to restore the default.
Syntax
operation { get | put }
undo operation
Default
The FTP operation type is get.
Views
FTP operation view
FTP template view
Predefined user roles
network-admin
Parameters
get: Gets a file from the FTP server.
put: Transfers a file to the FTP server.
Usage guidelines
When you perform the put operation with the filename command configured, make sure the file exists on the NQA client.
If you get a file from the FTP server, make sure the file specified in the URL exists on the FTP server. The NQA client does not save the file obtained from the FTP server.
Use a small file for the FTP operation. A big file might result in transfer failure because of timeout, or might affect other services for occupying much network bandwidth.
Examples
# Set the operation type to put for the FTP operation.
<Sysname> system-view
[Sysname] nqa entry admin test
[Sysname-nqa-admin-test] type ftp
[Sysname-nqa-admin-test-ftp] operation put
# In FTP template view, set the operation type to put for the FTP operation.
<Sysname> system-view
[Sysname] nqa template ftp ftptplt
[Sysname-nqatplt-ftp-ftptplt] operation put
Related commands
operation (HTTP/HTTPS operation view)
Use operation to specify the operation type for the HTTP or HTTPS operation.
Use undo operation to restore the default.
Syntax
operation { get | post | raw }
undo operation
Default
The HTTP or HTTPS operation type is get.
Views
HTTP operation view
HTTP template view
HTTPS template view
Predefined user roles
network-admin
Parameters
get: Gets data from the HTTP or HTTPS server.
post: Transfers data to the HTTP or HTTPS server.
raw: Sends the RAW request to the HTTP or HTTPS server.
Usage guidelines
The HTTP and HTTPS operations use HTTP and HTTPS requests as probe packets.
For the get or post operation, the content in the request is obtained from the URL specified by the url command.
For the raw operation, the content in the request is configured in raw request view. You can use the raw-request command to enter the raw request view.
Examples
# Set the operation type to raw for the HTTP operation.
<Sysname> system-view
[Sysname] nqa entry admin test
[Sysname-nqa-admin-test] type http
[Sysname-nqa-admin-test-http] operation raw
# In HTTP template view, set the operation type to raw for the HTTP operation.
[Sysname] nqa template http httptplt
[Sysname-nqatplt-http-httptplt] operation raw
· password
· raw-request
· username
out interface
Use out interface to specify the output interface for probe packets.
Use undo out interface to restore the default.
Syntax
out interface interface-type interface-number
Default
The output interface for probe packets is not specified. The NQA client determines the output interface based on the routing table lookup.
Views
Predefined user roles
Parameters
interface-type interface-number: Specifies an interface by its type and number.
Usage guidelines
For successful operation, the specified output interface must be up.
Examples
# Specify VLAN-interface 2 as the output interface for probe packets in the ICMP echo operation.
[Sysname] nqa entry admin test
[Sysname-nqa-admin-test] type icmp-echo
[Sysname-nqa-admin-test-icmp-echo] out interface vlan-interface 2
password
Use password to specify a password.
Use undo password to restore the default.
Syntax
password { cipher | simple } password
undo password
Default
No password is specified.
Views
FTP/HTTP operation view
FTP/HTTP/HTTPS/RADIUS template view
Predefined user roles
network-admin
Parameters
cipher: Sets a ciphertext password.
simple: Sets a plaintext password.
password: Specifies the password string. This argument is case sensitive. The value of the argument varies as follows:
· For FTP, HTTP, and HTTPS operations:
¡ If you specify the simple keyword, the password must be a string of 1 to 32 characters.
¡ If you specify the cipher keyword, the password must be a string of 1 to 73 characters.
· For RADIUS templates:
¡ If you specify the simple keyword, the password must be a string of 1 to 64 characters.
¡ If you specify the cipher keyword, the password must be a string of 1 to 117 characters.
Usage guidelines
For security purposes, all passwords, including passwords configured in plain text, are saved in cipher text.
Examples
# Set the FTP login password to ftpuser.
<Sysname> system-view
[Sysname] nqa entry admin test
[Sysname-nqa-admin-test] type ftp
[Sysname-nqa-admin-test-ftp] password simple ftpuser
# Set the FTP login password to ftpuser in FTP template view.
<Sysname> system-view
[Sysname] nqa template ftp ftptplt
[Sysname-nqatplt-ftp-ftptplt] password simple ftpuser
Related commands
· operation
· username
probe count
Use probe count to specify the probe times.
Use undo probe count to restore the default.
Syntax
probe count times
undo probe count
Default
The NQA client performs one probe to the destination per operation.
Views
FTP/HTTP/SNMP/TCP operation view
ICMP/UDP echo operation view
UDP jitter operation view
Predefined user roles
network-admin
Parameters
times: Specifies the probe times. The value range is 1 to 15.
Usage guidelines
The following describes how NQA performs different types of operations:
· A TCP operation sets up a connection.
· An ICMP jitter or UDP jitter operation sends a number of probe packets. The number of probe packets is set by using the probe packet-number command.
· An FTP operation uploads or downloads a file.
· An HTTP operation gets a Web page.
· An ICMP echo sends an ICMP echo request.
· A UDP echo operation sends a UDP packet.
· An SNMP operation sends one SNMPv1 packet, one SNMPv2c packet, and one SNMPv3 packet.
Examples
# Configure the ICMP echo operation to perform 10 probes.
<Sysname> system-view
[Sysname] nqa entry admin test
[Sysname-nqa-admin-test] type icmp-echo
[Sysname-nqa-admin-test-icmp-echo] probe count 10
probe packet-interval
Use probe packet-interval to configure the packet sending interval in the probe.
Use undo probe packet-interval to restore the default.
Syntax
probe packet-interval packet-interval
undo probe packet-interval
Default
The packet sending interval is 20 milliseconds.
Views
UDP jitter operation view
Predefined user roles
network-admin
Parameters
packet-interval: Specifies the sending interval in the range of 10 to 60000 milliseconds.
Examples
# Configure the UDP jitter operation to send packets every 100 milliseconds.
<Sysname> system-view
[Sysname] nqa entry admin test
[Sysname-nqa-admin-test] type udp-jitter
[Sysname-nqa-admin-test-udp-jitter] probe packet-interval 100
probe packet-number
Use probe packet-number to set the number of packets to be sent per probe.
Use undo probe packet-number to restore the default.
Syntax
probe packet-number packet-number
undo probe packet-number
Default
An ICMP jitter or UDP jitter probe sends 10 packets per probe.
Views
ICMP/UDP jitter operation view
Predefined user roles
network-admin
Parameters
packet-number: Specifies the number of packets to be sent per probe. The value range is 10 to 1000.
Examples
# Configure the UDP jitter probe to send 100 packets.
<Sysname> system-view
[Sysname] nqa entry admin test
[Sysname-nqa-admin-test] type udp-jitter
[Sysname-nqa-admin-test-udp-jitter] probe packet-number 100
probe packet-timeout
Use probe packet-timeout to set the amount of time the NQA client waits for a response from the destination device.
Use undo probe packet-timeout to restore the default.
Syntax
probe packet-timeout packet-timeout
undo probe packet-timeout
Default
The response timeout time in the ICMP jitter or UDP jitter operation is 3000 milliseconds.
Views
ICMP/UDP jitter operation view
Predefined user roles
network-admin
Parameters
packet-timeout: Specifies the timeout time in milliseconds. The value is in the range of 10 to 3600000.
Examples
# Set the timeout time for waiting for a response to 100 milliseconds in the UDP jitter operation.
<Sysname> system-view
[Sysname] nqa entry admin test
[Sysname-nqa-admin-test] type udp-jitter
[Sysname-nqa-admin-test-udp-jitter] probe packet-timeout 100
probe timeout
Use probe timeout to set the probe timeout time.
Use undo probe timeout to restore the default.
Syntax
probe timeout timeout
undo probe timeout
Default
The timeout time of a probe is 3000 milliseconds.
Views
FTP/HTTP/SNMP/TCP operation view
ICMP/UDP echo operation view
Any NQA template view
Predefined user roles
network-admin
Parameters
timeout: Specifies the probe timeout time in milliseconds. Available value ranges include:
· 10 to 86400000 for the FTP or HTTP operation.
· 10 to 3600000 for the ICMP echo, SNMP, TCP, or UDP echo operation.
Usage guidelines
If a probe does not complete within the period, the probe is timed out.
Examples
# Set the probe timeout time to 10000 milliseconds for the ICMP echo operation.
<Sysname> system-view
[Sysname] nqa entry admin test
[Sysname-nqa-admin-test] type icmp-echo
[Sysname-nqa-admin-test-icmp-echo] probe timeout 10000
# In HTTP template view, set the probe timeout time to 10000 milliseconds for the HTTP operation.
<Sysname> system-view
[Sysname] nqa template http httptplt
[Sysname-nqatplt-http-httptplt] probe timeout 10000
raw-request
Use raw-request to enter raw request view and specify the content of an HTTP or HTTPS request.
Use undo raw-request to delete the content of an HTTP or HTTPS request.
Syntax
raw-request
undo raw-request
Default
The contents of an HTTP or HTTPS raw request is not specified.
Views
HTTP operation view
HTTP template view
HTTPS template view
Predefined user roles
network-admin
Usage guidelines
This command places you in raw request view and deletes the previously configured request content. To ensure successful operations, make sure the request content is in the correct format.
If the HTTP or HTTPS operation type is set to raw, you must enter raw request view and configure the request content to be sent to the HTTP or HTTPS server.
Examples
# Enter raw request view and specify the content of a GET request for the HTTP operation.
<Sysname> system-view
[Sysname] nqa entry admin test
[Sysname-nqa-admin-test] type http
[Sysname-nqa-admin-test-http] raw-request
[Sysname-nqa-admin-test-http-raw-request] GET /sdn/ui/app/index HTTP/1.0\r\nHost: 172.0.0.2\r\n\r\n
# In HTTP template view, enter raw request view and specify the content of a POST request for the HTTP operation.
<Sysname> system-view
[Sysname] nqa template http httptplt
[Sysname-nqatplt-http-httptplt] raw-request
[Sysname-nqatplt-http-httptplt-raw-request] POST /sdn/ui/app/index HTTP/1.0\r\nHost:
172.0.0.2\r\nAuthorization: Basic cm9vdDoxMjM0NTY=\r\n\r\n
reaction checked-element { jitter-ds | jitter-sd }
Use reaction checked-element { jitter-ds | jitter-sd } to configure a reaction entry for monitoring one-way jitter in the NQA operation.
Use undo reaction to delete the specified reaction entry.
Syntax
reaction item-number checked-element { jitter-ds | jitter-sd } threshold-type { accumulate accumulate-occurrences | average } threshold-value upper-threshold lower-threshold [ action-type { none | trap-only } ]
undo reaction item-number
Default
No reaction entry for monitoring one-way jitter is configured.
Views
ICMP/UDP jitter operation view
Predefined user roles
network-admin
Parameters
item-number: Assigns an ID to the reaction entry, in the range of 1 to 10.
jitter-ds: Specifies the destination-to-source jitter of each probe packet as the monitored element (or performance metric).
jitter-sd: Specifies source-to-destination jitter of each probe packet as the monitored element.
threshold-type: Specifies a threshold type.
accumulate accumulate-occurrences: Checks the total number of threshold violations in the operation. The value is in the range of 1 to 14999.
average: Checks the average one-way jitter.
threshold-value: Specifies threshold range in milliseconds.
upper-threshold: Specifies the upper limit in the range of 0 to 3600000.
lower-threshold: Specifies the lower limit in the range of 0 to 3600000. It must not be greater than the upper limit.
action-type: Specifies the action to be triggered. The default action is none.
none: Specifies the action of displaying results on the terminal display.
trap-only: Specifies the action of displaying results on the terminal display and meanwhile sending SNMP trap messages to the NMS.
Usage guidelines
You cannot edit a reaction entry after it is created. To change the attributes in a reaction entry, use the undo reaction command to delete the entry, and then configure a new one.
Only successful probe packets are monitored. Statistics about failed probe packets are not collected.
Examples
# Create reaction entry 1 for monitoring the average destination-to-source jitter of UDP jitter packets, and set the upper limit to 50 milliseconds and the lower limit to 5 milliseconds. Before the NQA operation starts, the initial state of the reaction entry is invalid. After the operation, the average destination-to-source jitter is checked against the threshold range. If it exceeds the upper limit, the state of the reaction entry is set to over-threshold. If it is below the lower limit, the state is set to below-threshold. Once the state of the reaction entry changes, a trap message is generated and sent to the NMS.
<Sysname> system-view
[Sysname] nqa entry admin test
[Sysname-nqa-admin-test] type udp-jitter
[Sysname-nqa-admin-test-udp-jitter] reaction 1 checked-element jitter-ds threshold-type average threshold-value 50 5 action-type trap-only
# Create reaction entry 2 for monitoring the destination-to-source jitter of UDP jitter probe packets, and set the upper limit to 50 milliseconds, and the lower limit to 5 milliseconds. Before the NQA operation starts, the initial state of the reaction entry is invalid. After the operation, the destination-to-source jitter is checked against the threshold range. If the total number of threshold violations reaches or exceeds 100, the state of the entry is set to over-threshold. Otherwise, the state of the entry is set to below-threshold. Once the state of the reaction entry changes, a trap message is generated and sent to the NMS.
<Sysname> system-view
[Sysname] nqa entry admin test
[Sysname-nqa-admin-test] type udp-jitter
[Sysname-nqa-admin-test-udp-jitter] reaction 2 checked-element jitter-ds threshold-type accumulate 100 threshold-value 50 5 action-type trap-only
reaction checked-element { owd-ds | owd-sd }
Use reaction checked-element { owd-ds | owd-sd } to configure a reaction entry for monitoring the one-way delay.
Use undo reaction to delete the specified reaction entry.
Syntax
reaction item-number checked-element { owd-ds | owd-sd } threshold-value upper-threshold lower-threshold
undo reaction item-number
Default
No reaction entry for monitoring the one-way delay is configured.
Views
ICMP/UDP jitter operation view
Predefined user roles
network-admin
Parameters
item-number: Assigns an ID to the reaction entry, in the range of 1 to 10.
owd-ds: Specifies the destination-to-source delay of each probe packet as the monitored element.
owd-sd: Specifies the source-to-destination delay of each probe packet as the monitored element.
threshold-value: Specifies threshold range in milliseconds.
upper-threshold: Specifies the upper limit in the range of 0 to 3600000.
lower-threshold: Specifies the lower limit in the range of 0 to 3600000. It must not be greater than the upper limit.
Usage guidelines
You cannot edit a reaction entry after it is created. To change the attributes in a reaction entry, use the undo reaction command to delete the entry, and then configure a new one.
Only successful probe packets are monitored. Statistics about failed probe packets are not collected.
No actions can be configured for a reaction entry of monitoring one-way delays. To display the monitoring results and statistics, use the display nqa reaction counters and display nqa statistics commands.
Examples
# Create reaction entry 1 for monitoring the destination-to-source delay of every UDP jitter packet, and set the upper limit to 50 milliseconds and lower limit to 5 milliseconds. Before the NQA operation starts, the initial state of the reaction entry is invalid. The destination-to-source delay is calculated after the response to the probe packet arrives. If the delay exceeds the upper limit, the state of the reaction entry is set to over-threshold. If it is below the lower limit, the state is set to below-threshold. Once the state of the reaction entry changes, a trap message is generated and sent to the NMS.
<Sysname> system-view
[Sysname] nqa entry admin test
[Sysname-nqa-admin-test] type udp-jitter
[Sysname-nqa-admin-test-udp-jitter] reaction 1 checked-element owd-ds threshold-value 50 5
reaction checked-element packet-loss
Use reaction checked-element packet-loss to configure a reaction entry for monitoring packet loss in the UDP jitter operation.
Use undo reaction to delete the specified reaction entry.
Syntax
reaction item-number checked-element packet-loss threshold-type accumulate accumulate-occurrences [ action-type { none | trap-only } ]
undo reaction item-number
Default
No reaction entry for monitoring packet loss is configured.
Views
ICMP/UDP jitter operation view
Predefined user roles
network-admin
Parameters
item-number: Assigns an ID to the reaction entry, in the range of 1 to 10.
threshold-type: Specifies a threshold type.
accumulate accumulate-occurrences: Specifies the total number of lost packets in the operation. The value range is 1 to 15000.
action-type: Specifies what action to be triggered. The default action is none.
none: Specifies the action of displaying results on the terminal display.
trap-only: Specifies the action of displaying results on the terminal display and meanwhile sending SNMP trap messages to the NMS.
Usage guidelines
You cannot edit a reaction entry after it is created. To change the attributes in a reaction entry, use the undo reaction command to delete the entry, and then configure a new one.
Examples
# Create reaction entry 1 for monitoring packet loss in the UDP jitter operation. Before the NQA operation starts, the initial state of the reaction entry is invalid. After the operation, the total number of the lost packets is checked against the threshold. If the number reaches or exceeds 100, the state of the reaction entry is set to over-threshold. Otherwise, the state is set to below-threshold. Once the state of the reaction entry changes, a trap message is generated and sent to the NMS.
<Sysname> system-view
[Sysname] nqa entry admin test
[Sysname-nqa-admin-test] type udp-jitter
[Sysname-nqa-admin-test-udp-jitter] reaction 1 checked-element packet-loss threshold-type accumulate 100 action-type trap-only
reaction checked-element probe-duration
Use reaction checked-element probe-duration to configure a reaction entry for monitoring the probe duration.
Use undo reaction to delete the specified reaction entry.
Syntax
reaction item-number checked-element probe-duration threshold-type { accumulate accumulate-occurrences | average | consecutive consecutive-occurrences } threshold-value upper-threshold lower-threshold [ action-type { none | trap-only } ]
undo reaction item-number
Default
No reaction entry for monitoring the probe duration is configured.
Views
FTP/HTTP/SNMP/TCP operation view
ICMP/UDP echo operation view
Predefined user roles
network-admin
Parameters
item-number: Assigns an ID to the reaction entry, in the range of 1 to 10.
threshold-type: Specifies a threshold type.
accumulate accumulate-occurrences: Checks the total number of threshold violations. The value is in the range of 1 to 15.
average: Checks the average probe duration.
consecutive consecutive-occurrences: Specifies the number of consecutive threshold violations after the NQA operation starts. The value is in the range of 1 to 16.
threshold-value: Specifies threshold range in milliseconds.
upper-threshold: Specifies the upper limit in the range of 0 to 3600000.
lower-threshold: Specifies the lower limit in the range of 0 to 3600000. It must not be greater than the upper threshold.
action-type: Specifies what action to be triggered. The default action is none.
none: Specifies the action of displaying results on the terminal display.
trap-only: Specifies the action of displaying results on the terminal display and meanwhile sending SNMP trap messages to the NMS.
Usage guidelines
You cannot edit a reaction entry after it is created. To change the attributes in a reaction entry, use the undo reaction command to delete the entry, and then configure a new one.
Only successful probe packets are monitored. Statistics about failed probe packets are not collected.
Examples
# Create reaction entry 1 for monitoring the average probe duration of ICMP echo operation, and set the upper limit to 50 milliseconds and lower limit to 5 milliseconds. Before the NQA operation starts, the initial state of the reaction entry is invalid. After the operation, the average probe duration is checked. If it exceeds the upper limit, the state is set to over-threshold. If it is below the lower limit, the state of the reaction entry is set to below-threshold. Once the state of the reaction entry changes, a trap message is generated and sent to the NMS.
<Sysname> system-view
[Sysname] nqa entry admin test
[Sysname-nqa-admin-test] type icmp-echo
[Sysname-nqa-admin-test-icmp-echo] reaction 1 checked-element probe-duration threshold-type average threshold-value 50 5 action-type trap-only
# Create reaction entry 2 for monitoring the probe duration of ICMP echo operation, and set the upper limit to 50 milliseconds and the lower limit to 5 milliseconds. Before the NQA operation starts, the initial state of the reaction entry is invalid. After the operation, the accumulated probe duration is checked against the threshold range. If the total number of threshold violations reaches or exceeds 10, the state of the entry is set to over-threshold. If it is below the lower threshold, the state of the entry is set to below-threshold. Once the state of the reaction entry changes, a trap message is generated and sent to the NMS.
<Sysname> system-view
[Sysname] nqa entry admin test
[Sysname-nqa-admin-test] type icmp-echo
[Sysname-nqa-admin-test-icmp-echo] reaction 2 checked-element probe-duration threshold-type accumulate 10 threshold-value 50 5 action-type trap-only
# Create reaction entry 3 for monitoring the probe duration time of ICMP echo operation, and set the upper limit to 50 milliseconds and the lower limit to 5 milliseconds. Before the NQA operation starts, the initial state of the reaction entry is invalid. After the operation, the consecutive probe duration is checked against the threshold range. If the total number of consecutive threshold violations reaches or exceeds 10, the state of the entry is set to over-threshold. If it is below the lower threshold, the state of the entry is set to below-threshold. Once the state of the reaction entry changes, a trap message is generated and sent to the NMS.
<Sysname> system-view
[Sysname] nqa entry admin test
[Sysname-nqa-admin-test] type icmp-echo
[Sysname-nqa-admin-test-icmp-echo] reaction 3 checked-element probe-duration threshold-type consecutive 10 threshold-value 50 5 action-type trap-only
reaction checked-element probe-fail (for trap)
Use reaction checked-element probe-fail to configure a reaction entry for monitoring the probe failures of the operation.
Use undo reaction to delete the specified reaction entry.
Syntax
reaction item-number checked-element probe-fail threshold-type { accumulate accumulate-occurrences | consecutive consecutive-occurrences } [ action-type { none | trap-only } ]
undo reaction item-number
Default
No reaction entry for monitoring probe failures is configured.
Views
FTP/HTTP/SNMP/TCP operation view
ICMP/UDP echo operation view
Predefined user roles
network-admin
Parameters
item-number: Assigns an ID to the reaction entry, in the range of 1 to 10.
threshold-type: Specifies a threshold type.
accumulate accumulate-occurrences: Checks the total number of probe failures. The value is in the range of 1 to 15.
consecutive consecutive-occurrences: Checks the maximum number of consecutive probe failures. The value is in the range of 1 to 16.
action-type: Specifies what action to be triggered. The default action is none.
none: Specifies the action of displaying results on the terminal display.
trap-only: Specifies the action of displaying results on the terminal display and meanwhile sending SNMP trap messages to the NMS.
Usage guidelines
You cannot edit a reaction entry after it is created. To change the attributes in a reaction entry, use the undo reaction command to delete the entry, and then configure a new one.
Examples
# Create reaction entry 1 for monitoring the probe failures in ICMP echo operation. Before the NQA operation starts, the initial state of the reaction entry is invalid. If the total number of probe failures reaches or exceeds 10, the state of the entry is set to over-threshold. If it is below the threshold, the state of the entry is set to below-threshold. Once the state of the reaction entry changes, a trap message is generated and sent to the NMS.
<Sysname> system-view
[Sysname] nqa entry admin test
[Sysname-nqa-admin-test] type icmp-echo
[Sysname-nqa-admin-test-icmp-echo] reaction 1 checked-element probe-fail threshold-type accumulate 10 action-type trap-only
# Create reaction entry 2 for monitoring the probe failures in ICMP echo operation. Before the NQA operation starts, the initial state of the reaction entry is invalid. If the number of consecutive probe failures reaches or exceeds 10, the state of the entry is set to over-threshold. If it is below the threshold, the state of the entry is set to below-threshold. Once the state of the reaction entry changes, a trap message is generated and sent to the NMS.
<Sysname> system-view
[Sysname] nqa entry admin test
[Sysname-nqa-admin-test] type icmp-echo
[Sysname-nqa-admin-test-icmp-echo] reaction 2 checked-element probe-fail threshold-type consecutive 10 action-type trap-only
reaction checked-element probe-fail (for trigger)
Use reaction checked-element probe-fail to configure a reaction entry for monitoring probe failures.
Use undo reaction to remove the specified reaction entry.
Syntax
reaction item-number checked-element probe-fail threshold-type consecutive consecutive-occurrences action-type trigger-only
undo reaction item-number
Default
No reaction entry for monitoring probe failures is configured.
Views
FTP/HTTP/SNMP/TCP operation view
ICMP/UDP echo operation view
Predefined user roles
network-admin
Parameters
item-number: Assigns an ID to the reaction entry, in the range of 1 to 10.
threshold-type: Specifies a threshold type.
consecutive consecutive-occurrences: Checks the maximum number of consecutive probe failures, in the range of 1 to 16.
action-type: Specifies what action to be triggered.
trigger-only: Triggers other modules to react to certain conditions.
Usage guidelines
You cannot edit a reaction entry after it is created. To change the attributes in a reaction entry, use the undo reaction command to delete the entry, and then configure a new one.
Examples
# Create reaction entry 1. If the number of consecutive probe failures reaches 3, collaboration 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
Related commands
track (High Availability Command Reference)
reaction checked-element rtt
Use reaction checked-element rtt to configure a reaction entry for monitoring packet round-trip time.
Use undo reaction to delete the specified reaction entry.
Syntax
reaction item-number checked-element rtt threshold-type { accumulate accumulate-occurrences | average } threshold-value upper-threshold lower-threshold [ action-type { none | trap-only } ]
undo reaction item-number
Default
No reaction entry for monitoring packet round-trip time is configured.
Views
ICMP/UDP jitter operation view
Predefined user roles
network-admin
Parameters
item-number: Assigns an ID to the reaction entry, in the range of 1 to 10.
threshold-type: Specifies a threshold type.
accumulate accumulate-occurrences: Checks the total number of threshold violations. The value range is 1 to 15000.
average: Checks the packet average round-trip time.
threshold-value: Specifies threshold range in milliseconds.
upper-threshold: Specifies the upper limit in the range of 0 to 3600000.
lower-threshold: Specifies the lower limit in the range of 0 to 3600000. It must not be greater than the upper limit.
action-type: Specifies what action to be triggered. The default action is none.
none: Specifies the action of displaying results on the terminal display.
trap-only: Specifies the action of displaying results on the terminal display and meanwhile sending SNMP trap messages to the NMS.
Usage guidelines
You cannot edit a reaction entry after it is created. To change the attributes in a reaction entry, use the undo reaction command to delete the entry, and then configure a new one.
Only successful probe packets are monitored. Statistics about failed probe packets are not collected.
Examples
# Create reaction entry 1 for monitoring the average round-trip time of UDP jitter probe packets, and set the upper limit to 50 milliseconds and lower limit to 5 milliseconds. Before the NQA operation starts, the initial state of the reaction entry is invalid. After the operation, the average packet round-trip time is checked. If it exceeds the upper limit, the state is set to over-threshold. If it is below the lower limit, the state is set to below-threshold. Once the reaction entry state changes, a trap message is generated and sent to the NMS.
<Sysname> system-view
[Sysname] nqa entry admin test
[Sysname-nqa-admin-test] type udp-jitter
[Sysname-nqa-admin-test-udp-jitter] reaction 1 checked-element rtt threshold-type average threshold-value 50 5 action-type trap-only
# Create reaction entry 2 for monitoring the round-trip time of UDP jitter probe packets, and set the upper limit to 50 milliseconds and lower limit to 5 milliseconds. Before the NQA operation starts, the initial state of the reaction entry is invalid. After the operation, the packet round-trip time is checked. If the total number of threshold violations reaches or exceeds 100, the state of the entry is set to over-threshold. Otherwise, the state of the entry is set to below-threshold. Once the state of the reaction entry changes, a trap message is generated and sent to the NMS.
<Sysname> system-view
[Sysname] nqa entry admin test
[Sysname-nqa-admin-test] type udp-jitter
[Sysname-nqa-admin-test-udp-jitter] reaction 1 checked-element rtt threshold-type accumulate 100 threshold-value 50 5 action-type trap-only
reaction trap
Use reaction trap to configure the sending of traps to the NMS under specific conditions.
Use undo reaction trap to restore the default.
Syntax
reaction trap { probe-failure consecutive-probe-failures | test-complete | test-failure [ cumulate-probe-failures ] }
undo reaction trap { probe-failure | test-complete | test-failure }
Default
No traps are sent to the NMS.
Views
FTP/HTTP/SNMP/TCP operation view
ICMP/UDP echo operation view
ICMP/UDP jitter operation view
Predefined user roles
network-admin
Parameters
probe-failure consecutive-probe-failures: Sends a trap to the NMS if the number of consecutive probe failures in an operation is greater than or equal to consecutive-probe-failures. The value range for the consecutive-probe-failures argument is 1 to 15. The system counts the number of consecutive probe failures for each operation, so multiple traps might be sent.
test-complete: Sends a trap to indicate that the operation is completed.
test-failure: Sends a trap when an operation fails. The system counts the total number of probe failures in an operation. If the number reaches or exceeds the value for the cumulate-probe-failures argument, a trap is sent for the operation failure.
cumulate-probe-failures: Specifies the total number of probe failures in an operation. The value range is 1 to 15.
Usage guidelines
The ICMP jitter and UDP jitter operations support only the test-complete keyword.
Examples
# Configure the system to send a trap if five or more consecutive probe failures occur in an ICMP echo operation.
<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
reaction trigger per-probe
Use reaction trigger per-probe to configure the probe result sending on a per-probe basis.
Use undo reaction trigger per-probe to restore the default.
reaction trigger per-probe
undo reaction trigger per-probe
The probe result is send to the feature that uses the template after three consecutive failed or successful probes.
ICMP template view
TCP half open template view
network-admin
The feature enables the NQA client to send the probe result to the feature that uses the NQA template every time a probe is completed.
If you execute this command with the reaction trigger probe-fail or reaction trigger probe-pass command, the most recent configuration takes effect.
# In ICMP template view, configure the probe result sending on a per-probe basis.
[Sysname] nqa template icmp icmptplt
[Sysname-nqatplt-icmp-icmptplt] reaction trigger per-probe
· reaction trigger probe-fail
reaction trigger probe-fail
Use reaction trigger probe-fail to set the number of consecutive probe failures that lead to an operation failure.
Use undo reaction trigger probe-fail to restore the default.
Syntax
reaction trigger probe-fail count
undo reaction trigger probe-fail
Default
When the number of consecutive probe failures reaches 3, the operation fails.
Views
Any NQA template view
Predefined user roles
network-admin
Parameters
count: Specifies the number of consecutive probe failures, in the range of 1 to 15.
Usage guidelines
If the operation fails, the NQA client notifies the feature that uses the NQA template of the operation failure.
If you execute this command and the reaction trigger per-probe command, the most recent configuration takes effect.
Examples
# In HTTP template view, if the number of consecutive probe failures reaches 5, the operation fails.
<Sysname> system-view
[Sysname] nqa template http httptplt
[Sysname-nqatplt-http-httptplt] reaction trigger probe-fail 5
· reaction trigger per-probe
reaction trigger probe-pass
Use reaction trigger probe-pass to set the number of consecutive successful probes that lead to a successful operation.
Use undo reaction trigger probe-fail to restore the default.
Syntax
reaction trigger probe-pass count
undo reaction trigger probe-pass
Default
When the number of consecutive successful probes reaches 3, the operation succeeds.
Views
Any NQA template view
Predefined user roles
network-admin
Parameters
count: Specifies the number of consecutive successful probes, in the range of 1 to 15.
Usage guidelines
If the operation succeeds, the NQA client notifies the feature that uses the template of the successful operation event.
If you execute this command and the reaction trigger per-probe command, the most configuration takes effect.
Examples
# In HTTP template view, if the number of consecutive successful probes reaches 5, the operation succeeds.
<Sysname> system-view
[Sysname] nqa template http httptplt
[Sysname-nqatplt-http-httptplt] reaction trigger probe-pass 5
Related commands
· reaction trigger per-probe
· reaction trigger probe-fail
route-option bypass-route
Use route-option bypass-route to enable the routing table bypass feature to test the connectivity to the direct destination.
Use undo route-option bypass-route to disable the routing table bypass feature.
Syntax
route-option bypass-route
undo route-option bypass-route
Default
The routing table bypass feature is disabled.
Views
FTP/HTTP/SNMP/TCP operation view
ICMP/UDP echo operation view
ICMP/UDP jitter operation view
Predefined user roles
network-admin
Usage guidelines
When the routing table bypass feature is enabled, the following events occur:
· The routing table is not searched. Packets are sent to the destination in a directly connected network.
· The TTL value in the probe packet is set to 1. The TTL set in the ttl command does not take effect.
Examples
# Enable the routing table bypass feature.
<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
Use source interface to specify the IP address of the specified interface as the source IP address of probe packets.
Use undo source interface to restore the default.
Syntax
source interface interface-type interface-number
undo source interface
Default
No source IP address is specified for probe packets. The probe packets take the primary IP address of the outgoing interface as their source IP address.
Views
ICMP echo operation view
ICMP template view
Predefined user roles
network-admin
Parameters
interface-type interface-number: Specifies an interface by its type and number.
Usage guidelines
If you configure the source interface command with the source ip or source ipv6 command, the most recent configuration takes effect.
The specified source interface must be up. Otherwise, no probe requests can be sent out.
Examples
# Specify the IP address of interface VLAN-interface 2 as the source IP address of ICMP echo request packets.
<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
# In ICMP template view, specify the IP address of interface VLAN-interface 2 as the source IP address of ICMP echo request packets.
<Sysname> system-view
[Sysname] nqa template icmp icmptplt
[Sysname-nqatplt-icmp-icmptplt] source interface vlan-interface 2
Related commands
· source ip
source ip
Use source ip to configure the source IPv4 address for probe packets.
Use undo source ip to remove the configured source IPv4 address. The source IPv4 address of probe packets is the IP address of their outgoing interface.
Syntax
source ip ip-address
undo source ip
Default
No source IPv4 address is configured for probe packets.
Views
FTP/HTTP/SNMP/TCP operation view
ICMP/UDP echo operation view
ICMP/UDP jitter operation view
Any NQA template view
Predefined user roles
network-admin
Parameters
ip-address: Specifies the source IPv4 address for probe packets.
Usage guidelines
If you configure both the source interface and source ip commands for an ICMP echo operation, the most recent configuration takes effect.
The specified source IPv4 address must be the IPv4 address of a local interface, and the local interface must be up. Otherwise, no probe packets can be sent out.
For an NQA template, if the source and destination addresses have different IP versions, the source address does not take effect.
Examples
# Specify 10.1.1.1 as the source IPv4 address for ICMP echo requests.
<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
# In ICMP template view, specify 10.1.1.1 as the source IPv4 address for ICMP echo requests.
<Sysname> system-view
[Sysname] nqa template icmp icmptplt
[Sysname-nqatplt-icmp-icmptplt] source ip 10.1.1.1
Related commands
source interface
source ipv6
Use source ipv6 to configure the source IPv6 address for probe packets.
Use undo source ipv6 to remove the configured source IPv6 address. The IPv6 address of the interface that sends a probe packet is the source IPv6 address of the probe packet.
Syntax
source ipv6 ipv6-address
undo source ipv6
Default
No source IPv6 address is configured for probe packets.
Views
ICMP echo template view
Any NQA template view
Predefined user roles
network-admin
Parameters
ipv6-address: Specifies the source IPv6 address for probe packets. IPv6 link-local addresses are not supported.
Usage guidelines
If you configure both the source interface and source ipv6 commands for an ICMP echo operation, the most recent configuration takes effect.
The specified source IPv6 address must be the IPv6 address of a local interface. The local interface must be up. Otherwise, no probe packets can be sent out.
For an NQA template, if the source and destination addresses have different IP versions, the source address does not take effect.
Examples
# In ICMP template view, specify 1::1 as the source IPv6 address for ICMP echo requests.
<Sysname> system-view
[Sysname] nqa template icmp icmptplt
[Sysname-nqatplt-icmp-icmptplt] source ipv6 1::1
Related commands
source interface
source port
Use source port to configure the source port number for probe packets.
Use undo source port to remove the configured source port number.
Syntax
source port port-number
undo source port
Default
No source port number is configured for probe packets.
Views
SNMP operation view
UDP echo operation view
UDP jitter operation view
Predefined user roles
network-admin
Parameters
port-number: Specifies the source port number in the range of 1 to 65535.
Examples
# Set the source port number to 8000 for probe packets in the UDP echo operation.
<Sysname> system-view
[Sysname] nqa entry admin test
[Sysname-nqa-admin-test] type udp-echo
[Sysname-nqa-admin-test-udp-echo] source port 8000
ssl-client-policy
Use ssl-client-policy to specify an SSL client policy for an HTTPS or SSL template.
Use undo ssl-client-policy to remove the SSL client policy.
Syntax
ssl-client-policy policy-name
undo ssl-client-policy
No SSL client policy is specified for an HTTPS or SSL template.
Views
HTTPS template view
SSL template view
Predefined user roles
network-admin
Parameters
policy-name: Specifies an SSL client policy by its name, a case-insensitive string of 1 to 31 characters.
Usage guidelines
In the HTTPS or SSL operation, the NQA client uses the specified SSL client policy to establish an SSL connection to the server.
Examples
# Specify the SSL client policy named policy for the SSL template ssltplt.
<Sysname> system-view
[Sysname] nqa template ssl ssltplt
[Sysname-nqatplt-ssl-ssltplt] ssl-client-policy policy
statistics interval
Use statistics interval to set the statistics collection interval for an NQA operation.
Use undo statistics interval to restore the default.
Syntax
statistics interval interval
undo statistics interval
Default
The statistics collection interval is 60 minutes.
Views
FTP/HTTP/SNMP/TCP operation view
ICMP/UDP echo operation view
ICMP/UDP jitter operation view
Predefined user roles
network-admin
Parameters
interval: Specifies the interval in minutes, in the range of 1 to 35791394.
Usage guidelines
NQA forms statistics within the same collection interval as a statistics group. To display information about the statistics groups, use the display nqa statistics command.
Examples
# Configure the system to collect the ICMP echo operation statistics every 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
statistics max-group
Use statistics max-group to set the maximum number of statistics groups that can be saved.
Use undo statistics max-group to restore the default.
Syntax
statistics max-group number
undo statistics max-group
Default
A maximum of two statistics groups can be saved.
Views
FTP/HTTP/SNMP/TCP operation view
ICMP/UDP echo operation view
ICMP/UDP jitter operation view
Predefined user roles
network-admin
Parameters
number: Specifies the maximum number of statistics groups, in the range of 0 to 100. To disable statistics collection, set the value to 0.
Usage guidelines
When the maximum number of statistics groups is reached and a new statistics group is to be saved, the earliest statistics group is deleted.
Examples
# Configure the NQA to save up to five statistics groups for the ICMP operation.
<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
tos
Use tos to set the ToS value in the IP header for probe packets.
Use undo tos to restore the default.
Syntax
tos value
undo tos
Default
The ToS value in the IP header of probe packets is 0.
Views
Any operation view
Any NQA template view
Predefined user roles
network-admin
Parameters
value: Specifies the ToS value in the range of 0 to 255.
Examples
# Set the ToS value to 1 in the IP header for probe packets.
<Sysname> system-view
[Sysname] nqa entry admin test
[Sysname-nqa-admin-test] type icmp-echo
[Sysname-nqa-admin-test-icmp-echo] tos 1
# In ICMP template view, set the ToS value to 1 in the IP header for probe packets.
<Sysname> system-view
[Sysname] nqa template icmp icmptplt
[Sysname-nqatplt-icmp-icmptplt] tos 1
ttl
Use ttl to set the maximum number of hops that the probe packets can traverse.
Use undo ttl to restore the default.
Syntax
ttl value
undo ttl
Default
The maximum number of hops is 20 for probe packets of an NQA operation.
Views
FTP/HTTP/SNMP/TCP operation view
ICMP/UDP echo operation view
ICMP/UDP jitter operation view
Any NQA template view
Predefined user roles
network-admin
Parameters
value: Specifies the maximum number of hops that the probe packets can traverse, in the range of 1 to 255.
Usage guidelines
The route-option bypass-route command sets the TTL to 1 for probe packets. The ttl command does not take effect.
Examples
# Set the maximum number of hops to 16 for probe packets.
<Sysname> system-view
[Sysname] nqa entry admin test
[Sysname-nqa-admin-test] type icmp-echo
[Sysname-nqa-admin-test-icmp-echo] ttl 16
# In ICMP template view, set the maximum number of hops to 16 for probe packets.
<Sysname> system-view
[Sysname] nqa template icmp icmptplt
[Sysname-nqatplt-icmp-icmptplt] ttl 16
type
Use type to specify the operation type of the NQA operation and enter operation type view.
Syntax
type { ftp | http | icmp-echo | icmp-jitter |snmp | tcp | udp-echo | udp-jitter }
Default
No operation type is specified.
Views
NQA operation view
Predefined user roles
network-admin
Parameters
ftp: Specifies the FTP operation type.
http: Specifies the HTTP operation type.
icmp-echo: Specifies the ICMP echo operation type.
icmp-jitter: Specifies the ICMP jitter operation type.
snmp: Specifies the SNMP operation type.
tcp: Specifies the TCP operation type.
udp-echo: Specifies the UDP echo operation type.
udp-jitter: Specifies the UDP jitter operation type.
Examples
# Specify FTP as the NQA operation type and enter FTP operation view.
<Sysname> system-view
[Sysname] nqa entry admin test
[Sysname-nqa-admin-test] type ftp
[Sysname-nqa-admin-test-ftp]
url
Use url to specify the URL of the destination.
Use undo url to remove the URL.
Syntax
url url
undo url
Default
The destination URL is not specified.
Views
FTP/HTTP operation view
FTP/HTTP/HTTPS template view
Predefined user roles
network-admin
Parameters
url: Specifies the URL of the destination server, a case-sensitive string of 1 to 255 characters. The following table describes the URL format and parameters for different operations.
Operation |
URL format |
Parameter description |
HTTP operation |
http://host/resource http://host:port/resource |
The host parameter represents the host name of the destination server. The host name is a dot-separated case-sensitive string including letters, digits, hyphens (-), and underscores (_). Host names are composed of series of labels, aabbcc.com for example. Each label consists of 1 to 63 characters. Consecutive dots (.) and question marks are not allowed. For description about the filename parameter, see Fundamentals Configuration Guide. |
HTTPS operation |
https://host/resource https://host:port/resource |
|
FTP operation |
ftp://host/filename ftp://host:port/filename |
Examples
# Configure the URL that the HTTP operation visits as http://www.company.com/index.htm.
<Sysname> system-view
[Sysname] nqa entry admin test
[Sysname-nqa-admin-test] type http
[Sysname-nqa-admin-test-http] url http://www.company.com/index.html
# In HTTP template view, configure the URL that the HTTP operation visits as http://www.company.com/index.htm.
<Sysname> system-view
[Sysname] nqa template http httptplt
[Sysname-nqatplt-http-httptplt] url http://www.company.com/index.html
username
Use username to specify a username.
Use undo username to restore the default.
Syntax
username username
undo username
Default
No username is configured.
Views
FTP/HTTP operation view
FTP/HTTP/HTTPS/RADIUS template view
Predefined user roles
network-admin
Parameters
username: Specifies the username. This argument is case sensitive. It is a string of 1 to 32 characters for an FTP, HTTP, or HTTPS username, and a string of 1 to 253 characters for a RADIUS authentication username.
Examples
# Set the FTP login username to administrator.
<Sysname> system-view
[Sysname] nqa entry admin test
[Sysname-nqa-admin-test] type ftp
[Sysname-nqa-admin-test-ftp] username administrator
# Set the FTP login username to administrator in FTP template view.
<Sysname> system-view
[Sysname] nqa template ftp ftptplt
[Sysname-nqatplt-ftp-ftptplt] username administrator
Related commands
· operation
· password
version
Use version to specify the version used in the HTTP or HTTPS operation.
Use undo version to restore the default.
Syntax
version { v1.0 | v1.1 }
undo version
Default
Version 1.0 is used in the HTTP operation or HTTPS operation.
Views
HTTP operation view
HTTP/HTTPS template view
Predefined user roles
network-admin
Parameters
v1.0: Uses version 1.0.
v1.1: Uses version 1.1.
Examples
# Configure the HTTP operation to use the HTTP version 1.1.
<Sysname> system-view
[Sysname] nqa entry admin test
[Sysname-nqa-admin-test] type http
[Sysname-nqa-admin-test-http] version v1.1
NQA server commands
|
IMPORTANT: Configure the NQA server only for UDP jitter, TCP, and UDP echo operations. |
display nqa server
Use display nqa server status to display NQA server status.
Syntax
display nqa server
Views
Any view
Predefined user roles
network-admin
network-operator
Examples
# Display NQA server status.
<Sysname> display nqa server
NQA server status: enabled
TCP connect:
IP Address Port ToS VPN instance
2.2.2.2 2000 200 -
UDP echo:
IP Address Port ToS VPN instance
3.3.3.3 3000 255 vpn1
Table 8 Command output
Field |
Description |
Whether the NQA server is enabled. |
|
TCP-connect |
Information about the TCP listening service on the NQA server. |
UDP-echo |
Information about the UDP listening service on the NQA server. |
IP Address |
IP address specified for the TCP/UDP listening service on the NQA server. |
Port |
Port number specified for the TCP/UDP listening service on the NQA server. |
ToS value in reply packets sent by the NQA server. |
|
VPN instance |
Name of the MPLS L3VPN instance to which the IP address that the NQA server listens on belongs. This field displays a hyphen (-) if the NQA server listens on a public IP address. The device does not support this field in the current software version. |
· nqa server enable
nqa server enable
Use nqa server enable to enable the NQA server.
Use undo nqa server enable to disable the NQA server.
Syntax
nqa server enable
undo nqa server enable
Default
The NQA server is disabled.
Views
System view
Predefined user roles
network-admin
Examples
# Enable the NQA server.
<Sysname> system-view
[Sysname] nqa server enable
Related commands
· display nqa server
· nqa server tcp-connect
· nqa server udp-echo
nqa server tcp-connect
Use nqa server tcp-connect to configure a TCP listening service to enable the NQA server to listen and respond to the specified IP address and port.
Use undo nqa server tcp-connect to remove a TCP listening service.
Syntax
nqa server tcp-connect ip-address port-number [ tos tos ]
undo nqa server tcp-connect ip-address port-number
Default
The NQA server does not have any TCP listening service configured.
Views
System view
Predefined user roles
network-admin
Parameters
ip-address: Specifies the IP address for the TCP listening service.
port-number: Specifies the port number for the TCP listening service, in the range of 1 to 65535.
tos tos: Specifies the ToS value in the IP header for reply packets. The value range for this argument is 0 to 255, and the default value is 0.
Usage guidelines
Use this command on the NQA server only for the TCP operation.
When you configure the IP address and port number for a TCP listening service on the NQA server, follow these restrictions and guidelines:
· The IP address and port number must be unique on the NQA server and match the configuration on the NQA client.
· The IP address must be the address of an interface on the NQA server.
· To ensure successful NQA operations and avoid affecting existing services, do not configure the TCP listening service on well-known ports from 1 to 1023.
Examples
# Configure a TCP listening service to enable the NQA server to listen and respond to the IP address 169.254.10.2 and port 9000.
<Sysname> system-view
[Sysname] nqa server tcp-connect 169.254.10.2 9000
Related commands
· display nqa server
· nqa server enable
nqa server udp-echo
Use nqa server udp-echo to configure a UDP listening service to enable the NQA server to listen and respond on the specified IP address and port.
Use undo nqa server udp-echo to remove the UDP listening service created.
Syntax
nqa server udp-echo ip-address port-number [ tos tos ]
undo nqa server udp-echo ip-address port-number
Default
The NQA server does not have any UDP listening service configured.
Views
System view
Predefined user roles
network-admin
Parameters
ip-address: Specifies the IP address for the UDP listening service.
port-number: Specifies the port number for the UDP listening service, in the range of 1 to 65535.
tos tos: Specifies the ToS value in the IP header for reply packets. The value range for this argument is 0 to 255, and the default value is 0.
Usage guidelines
Use this command on the NQA server only for the UDP jitter, and UDP echo operations.
When you configure the IP address and port number for a UDP listening service on the NQA server, follow these restrictions and guidelines:
· The IP address and port number must be unique on the NQA server and match the configuration on the NQA client.
· The IP address must be the address of an interface on the NQA server.
· To ensure successful NQA operations and avoid affecting existing services, do not configure the UDP listening service on well-known ports from 1 to 1023.
Examples
# Configure a UDP listening service to enable the NQA server to listen and respond on the IP address 169.254.10.2 and port 9000.
<Sysname> system-view
[Sysname] nqa server udp-echo 169.254.10.2 9000
Related commands
· display nqa server
· nqa server enable