2285
By default, no source port number is specified.
Example # Configure the source port number of a probe request as 8000.
<Sysname> system-view
[Sysname] nqa entry admin test
[Sysname-nqa-admin-test] type udp-echo
[Sysname-nqa-admin-test-udp-echo] source port 8000
tos
Syntax tos value
undo tos
View DLSw/FTP/HTTP/ICMP-echo/SNMP/TCP/UDP-echo/UDP-jitter test type view
Parameter value: Value of the ToS field in the IP header in an NQA probe packet, in the range
0 to 255.
Description Use the tos command to configure the value of the ToS field in the IP header in an
NQA probe packet.
Use the undo tos command to restore the default.
By default, the ToS field in the IP header of an NQA probe packet is 0.
Example # Configure the ToS field in a IP packet header in an NQA probe packet as 1.
<Sysname> system-view
[Sysname] nqa entry admin test
[Sysname-nqa-admin-test] type icmp-echo
[Sysname-nqa-admin-test-icmp-echo] tos 1
ttl
Syntax ttl value
undo ttl
View DLSw/FTP/HTTP/ICMP-echo/SNMP/TCP/UDP-echo/UDP-jitter test type view
Parameter value: Maximum number of hops a probe packet traverses in the network, in the
range 1 to 255.
Description Use the ttl command to configure the maximum number of hops a probe packet
traverses in the network.
Use the undo ttl command to restore the default.