82
<Sysname> system-view
[Sysname] nqa entry admin test
[Sysname-nqa-admin-test] type path-jitter
[Sysname-nqa-admin-test-path-jitter] target-only
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
Predefined user roles
network-admin
Parameters
value
: Specifies the ToS value in the range of 0 to 255.
Examples
# In ICMP echo operation view, 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
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 30 for probe packets of the UDP tracert operation, and is 20 for
probe packets of other types of operations.