Configuring the NQA statistics collection function
NQA groups tests completed in a time period for a test group, and calculates the test result statistics. The
statistics form a statistics group. To view information about the statistics groups, use the display nqa
statistics command. To set the interval for collecting statistics, use the statistics interval command.
When the number of statistics groups kept reaches the upper limit and a new statistics group is to be
saved, the oldest statistics group is deleted. To set the maximum number of statistics groups that can be
kept, use the statistics max-group command.
A statistics group is formed after the last test is completed within the specified interval. Statistics groups
have an aging mechanism. A statistics group is deleted when its hold time expires. To set the hold time
of statistics groups for a test group, use the statistics hold-time command.
Follow these guidelines when you configure the NQA statistics collection function:
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.
To configure the NQA statistics collection function:
Step
1.
Enter system view.
2.
Enter NQA test group view.
3.
Enter test type view of the test
group.
4.
Configure the interval for
collecting the statistics of test
results.
5.
Configure the maximum number
of statistics groups that can be
kept.
6.
Configure the hold time of
statistics groups.
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.
The configuration task also allows you to configure the following elements:
•
Lifetime of the history records—The 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:
Command
system-view
nqa entry admin-name operation-tag
type { dlsw | dns | ftp | http |
icmp-echo | snmp | tcp | udp-echo |
udp-jitter | voice }
statistics interval interval
statistics max-group number
statistics hold-time hold-time
115
Remarks
N/A
N/A
N/A
Optional.
60 minutes by default.
Optional.
2 by default.
To disable collecting NQA
statistics, set the maximum
number to 0.
Optional.
120 minutes by default.