[Sysname-nqa-admin-test-udp-echo] source port 8000
# In DNS template view, configure port 8000 as the source port for probe packets in the DNS operation.
<Sysname> system-view
[Sysname] nqa template dns dnstplt
[Sysname-nqatplt-dns-dnstplt] source port 8000
statistics hold-time
Use statistics hold-time to configure the hold time of statistics groups for an NQA operation.
Use undo statistics hold-time to restore the default.
Syntax
statistics hold-time hold-time
undo statistics hold-time
Default
The hold time of statistics groups is 120 minutes.
Views
Any operation view
Predefined user roles
network-admin
mdc-admin
Parameters
hold-time: Specifies the hold time in minutes, in the range of 1 to 1440.
Usage guidelines
A statistics group is deleted when its hold time expires.
Examples
# Configure the hold time of statistics groups as 3 minutes.
<Sysname> system-view
[Sysname] nqa entry admin test
[Sysname-nqa-admin-test] type icmp-echo
[Sysname-nqa-admin-test-icmp-echo] statistics hold-time 3
statistics interval
Use statistics interval to configure the interval for collecting statistics for an NQA operation.
Use undo statistics interval to restore the default.
Syntax
statistics interval interval
undo statistics interval
Default
The interval is 60 minutes.
72