Example
tos
Syntax
View
Parameter
Description
Example
ttl
Syntax
View
Parameter
Description
By default, no source port number is specified.
# 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 value
undo tos
DLSw/FTP/HTTP/ICMP-echo/SNMP/TCP/UDP-echo/UDP-jitter test type view
value: Value of the ToS field in the IP header in an NQA probe packet, in the range
0 to 255.
Use the
tos
command to configure the value of the ToS field in the IP header in an
NQA probe packet.
Use the
command to restore the default.
undo tos
By default, the ToS field in the IP header of an NQA probe packet is 0.
# 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 value
undo ttl
DLSw/FTP/HTTP/ICMP-echo/SNMP/TCP/UDP-echo/UDP-jitter test type view
value: Maximum number of hops a probe packet traverses in the network, in the
range 1 to 255.
Use the
command to configure the maximum number of hops a probe packet
ttl
traverses in the network.
Use the
undo ttl
command to restore the default.
2285