Configuring the nqa statistics function, Configuring nqa history records saving function – H3C Technologies H3C MSR 50 User Manual

Page 138

Advertising
background image

Configuring the NQA statistics function

NQA collects statistics for an operation in 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.
If a new statistics group is to be saved when the number of statistics groups reaches the upper limit, the

oldest statistics group is deleted. To set the maximum number of statistics groups that can be saved, use

the statistics max-group command.
A statistics group is formed after an operation is completed. Statistics groups have an aging mechanism.

A statistics group is deleted when its hold time expires. To set the hold time, use the statistics hold-time
command.
The DHCP operation does not support the NQA statistics function.
If you use the frequency command to set the interval between two consecutive operations to 0, only one

operation is performed, and no statistics group information is generated.
To configure the NQA statistics collection function:

Step Command

Remarks

368.

Enter system view.

system-view

N/A

369.

Create an NQA operation

and enter NQA operation
view.

nqa entry admin-name
operation-tag

By default, no NQA operation is
created.

type { dlsw | dns | ftp | http |
icmp-echo | snmp | tcp |

udp-echo | udp-jitter | voice }

370.

Specify an NQA operation
type and enter its view.

N/A

Optional.

371.

Configure the interval for
collecting the statistics.

statistics interval interval

60 minutes by default.

Optional.

372.

Configure the maximum
number of statistics groups

that can be saved.

2 by default.

statistics max-group number

To disable collecting NQA
statistics, set the maximum number

to 0.

Optional.

373.

Configure the hold time of

statistics groups.

statistics hold-time hold-time

120 minutes by default.

Configuring NQA history records saving function

Perform this task to enable the system to save the history records of NQA operations. To display NQA

history records, use the display nqa history command.
This task also configures the following parameters:

Lifetime of the history records.
The records are removed when the lifetime is reached.

Maximum number of history records that can be saved for an NQA operation.
If the maxim number is reached, the earliest history records are removed.

125

Advertising