73
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.
Views
DLSw/DNS/FTP/HTTP/SNMP/TCP/voice operation view
ICMP/UDP echo operation view
ICMP/UDP jitter operation view
UDP tracert operation view
Predefined user roles
network-admin
Parameters
value: Specifies the maximum number of hops that the probe packets can traverse, in the range of 1
to 255.
Usage guidelines
The route-option bypass-route command sets the TTL to 1 for probe packets. If you configure both
the route-option bypass-route and ttl commands for an operation, the ttl command does not take
effect.
For a successful UDP tracert operation, make sure the maximum number of hops is not smaller than
the value set in the init-ttl command.
Examples
# Set the maximum number of hops to 16 for probe packets in the ICMP echo operation.
<Sysname> system-view
[Sysname] nqa entry admin test
[Sysname-nqa-admin-test] type icmp-echo
[Sysname-nqa-admin-test-icmp-echo] ttl 16
type
Use type to specify an NQA operation type and enter its view.
Syntax
type { dhcp | dlsw | dns | ftp | http | icmp-echo | icmp-jitter | path-jitter | snmp | tcp | udp-echo |
udp-jitter | udp-tracert | voice }
Default
No operation type is specified.
Views
NQA operation view
Predefined user roles
network-admin