Parameters
value: Specifies the maximum number of hops that a probe packet traverses in the network, in the range
of 1 to 255.
Description
Use ttl to configure the maximum number of hops that a probe packet traverses in the network.
Use undo ttl to restore the default.
By default, the maximum number of hops that a probe packet can traverse in a network is 20.
After you configure the route-option bypass-route command, the maximum number of hops that a probe
packet traverses in the network is 1, and the ttl command does not take effect.
Examples
# Configure the maximum number of hops that a probe packet can traverse in a network 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
type
Syntax
type { dhcp | dlsw | dns | ftp | http | icmp-echo | snmp | tcp | udp-echo | udp-jitter | voice }
View
NQA test group view
Default level
2: System level
Parameters
dhcp: Specifies a DHCP test.
dlsw: Specifies a DLSw test.
dns: Specifies a DNS test.
ftp: Specifies an FTP test.
http: Specifies an HTTP test.
icmp-echo: Specifies an ICMP echo test.
snmp: Specifies an SNMP test.
tcp: Specifies a TCP test.
udp-echo: Specifies a UDP echo test.
udp-jitter: Specifies a UDP jitter test.
voice: Specifies a voice test.
Description
Use type to configure the test type of the current test group and enter operation view.
By default, no test type is configured.
161