30
To do… Use the command… Remarks
6. Configure the hold time of
statistics groups.
statistics hold-time hold-time
Optional.
120 minutes by default.
NOTE:
• The NQA statistics collection function is not supported in DHCP tests.
• If you use the frequency command to set the frequency between two consecutive tests to 0, only one
test is performed, and no statistics group information is collected.
Configuring the history records saving function
The history records saving function enables the system to save the history records of NQA tests. To view
the history records of a test group, use the display nqa history command.
In addition, you can configure the following elements:
• Lifetime of the history records—Records are removed when the lifetime is reached.
• The maximum number of history records that can be saved in a test group—If the number of history
records in a test group exceeds the maximum number, the earliest history records are removed.
To configure the history records saving function of an NQA test group:
To do… Use the command… Remarks
1. Enter system view.
system-view —
2. Enter NQA test group
view.
nqa entry admin-name operation-tag —
3. Enter NQA test type
view.
type { dhcp | dlsw | dns | ftp | http |
icmp-echo | snmp | tcp | udp-echo | udp-
jitter | voice }
—
4. Enable the saving of the
history records of the
NQA test group.
history-record enable
Required.
By default, history records of
the NQA test group are not
saved.
5. Set the lifetime of the
history records in an
NQA test group.
history-record keep-time keep-time
Optional.
By default, the history records
in the NQA test group are kept
for 120 minutes.
6. Configure the maximum
number of history
records that can be
saved for a test group.
history-record number number
Optional.
By default, the maximum
number of records that can be
saved for a test group is 50