133NOTE:• NQA DNS tests do not support the action of sending trap messages. The action to be triggered in DNStests 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 functionNQA groups tests completed in a time period for a test group, and calculates the test result statistics. Thestatistics form a statistics group. To view information about the statistics groups, use the display nqastatistics 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 besaved, the oldest statistics group is deleted. To set the maximum number of statistics groups that can bekept, use the statistics max-group command.A statistics group is formed after the last test is completed within the specified interval. Statistics groupshave an aging mechanism. A statistics group is deleted when its hold time expires. To set the hold timeof 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… RemarksEnter system view system-view —Enter NQA test group view nqa entry admin-nameoperation-tag —Enter test type view of the testgrouptype { dlsw | dns | ftp | http| icmp-echo | snmp | tcp |udp-echo | udp-jitter | voice }—Configure the interval for collectingthe statistics of test results statistics interval interval Optional60 minutes by default.Configure the maximum number ofstatistics groups that can be kept statistics max-group numberOptional2 by default.To disable collecting NQA statistics, setthe maximum number to 0.Configure the hold time of statisticsgroups statistics hold-time hold-time Optional120 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 testis performed, and no statistics group information is collected.Configuring the history records saving functionThe history records saving function enables the system to save the history records of NQA tests. To viewthe history records of a test group, use the display nqa history command.