
133
NOTE:
•
NQA DNS tests do not support the action of sending trap messages. The action to be triggered in DNS
tests can only be the default one,
none
.
•
Only the
test-complete
keyword is supported for the
reaction trap
command in a voice test.
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 steps to configure the NQA statistics collection function:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter NQA test group view
nqa
entry
admin-name
operation-tag
—
Enter test type view of the test
group
type
{
dlsw
|
dns
|
ftp
|
http
|
icmp-echo
|
snmp
|
tcp
|
udp-echo
|
udp-jitter
|
voice
}
—
Configure the interval for collecting
the statistics of test results
statistics interval
interval
Optional
60 minutes by default.
Configure the maximum number of
statistics groups that can be kept
statistics max-group
number
Optional
2 by default.
To disable collecting NQA statistics, set
the maximum number to 0.
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.