23-20Configuring the NQA Statistics FunctionNQA puts the NQA tests completed in a specified interval into one group, and calculates the statisticsof the test results of the group. These statistics form a statistics group. You can use the display nqastatistics command to view information of the statistics group, and use the statistics intervalcommand to set the interval for collecting statistics.When the number of statistics groups kept reaches the upper limit, if a new statistics group isgenerated, the statistics group that is kept for the longest time is deleted. You can use the statisticsmax-group command to set the maximum number of statistics groups that can be kept.A statistics group is formed after the last test is completed within the specified interval. A statisticsgroup has the aging mechanism. A statistics group will be deleted after it is kept for a period of time.You can use the statistics hold-time command to set the hold time of a statistics group.Follow these steps to configure the NQA statistics 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 | ftp | http |icmp-echo | snmp | tcp |udp-echo | udp-jitter | voice }—Configure the interval forcollecting the statistics of thetest resultsstatistics interval interval Optional60 minutes by default.Configure the maximumnumber of statistics groups thatcan be keptstatistics max-group numberOptional2 by default.If the maximum number is 0, itindicates that no statistics isperformed.Configure the hold time of astatistics group statistics hold-time hold-time Optional120 minutes by default.z The NQA statistics function is not supported in a DHCP test.z If you specify the interval argument in the frequency interval command as 0, no statistics groupinformation is generated.Configuring Optional Parameters Common to an NQA Test GroupOptional parameters common to an NQA test group are valid only for tests in this test group.Unless otherwise specified, the following parameters are applicable to all test types and they can beconfigured according to the actual conditions.Follow these steps to configure optional parameters common to an NQA test group: