Parameters
value: Specifies the ToS value in the IP packet header, in the range of 0 to 255.
Examples
# Configure the ToS value in an IP packet header of probe packets 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
# In ICMP template view, configure the ToS value in an IP packet header of probe packets as 1.
<Sysname> system-view
[Sysname] nqa template icmp icmptplt
[Sysname-nqatplt-icmp-icmptplt] tos 1
ttl
Use ttl to specify the TTL for probe packets.
Use undo ttl to restore the default.
Syntax
ttl value
undo ttl
Default
The TTL for probe packets is 20.
Views
DLSw operation view, DNS operation view, FTP operation view, HTTP operation view, ICMP echo
operation view, SNMP operation view, TCP operation view, UDP echo operation view, UDP jitter
operation view, voice operation view, any NQA template view
Predefined user roles
network-admin
mdc-admin
Parameters
value: Specifies the TTL for probe packets, 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
# Configure the TTL for probe packets as 16.
<Sysname> system-view
[Sysname] nqa entry admin test
[Sysname-nqa-admin-test] type icmp-echo
[Sysname-nqa-admin-test-icmp-echo] ttl 16
# In ICMP template view, configure the TTL for probe packets as 16.
75