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:

To configure the NQA statistics collection function:

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Enter NQA test group view.

nqa entry admin-name operation-tag

N/A

3. Enter test type view of the test group.

type { dlsw | dns | ftp | http | icmp-echo | snmp | tcp | udp-echo | udp-jitter | voice }

N/A

4. Configure the interval for collecting the statistics of test results.

statistics interval interval

Optional.

60 minutes by default.

5. 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.

6. Configure the hold time of statistics groups.

statistics hold-time hold-time

Optional.

120 minutes by default.