40
Usage guidelines
If the number of history records for an NQA operation exceeds the maximum number, earliest history
records are removed.
Examples
# Set the maximum number of history records to 10 for 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] history-record number 10
init-ttl
Use init-ttl to set the TTL value for UDP packets in the start round of the UDP tracert operation.
Use undo init-ttl to restore the default.
Syntax
init-ttl value
undo init-ttl
Default
The NQA client sends a UDP packet with the TTL value 1 to start the UDP tracert operation.
Views
UDP tracert operation view
Predefined user roles
network-admin
Parameters
value: Specifies the TTL value in the range of 1 to 255.
Examples
# Set the TTL value to 5 for the UDP packets in the start round.
<Sysname> system-view
[Sysname] nqa entry admin test
[Sysname-nqa-admin-test] type udp-tracert
[Sysname-nqa-admin-test-udp-tracert] init-ttl 5
lsr-path
Use lsr-path to specify a loose source routing (LSR) path.
Use undo lsr-path to restore the default.
Syntax
lsr-path ip-address&<1-8>
undo lsr-path
Default
No LSR path is configured.