Configuring the nqa statistics function, Configuring nqa history records saving function – H3C Technologies H3C SecBlade LB Cards User Manual
Page 134
126
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
1.
Enter system view.
system-view
N/A
2.
Create an NQA operation
and enter NQA operation
view.
nqa entry admin-name
operation-tag
By default, no NQA operation is
created.
3.
Specify an NQA operation
type and enter its view.
type { dlsw | dns | ftp | http |
icmp-echo | snmp | tcp |
udp-echo | udp-jitter | voice }
N/A
4.
Configure the interval for
collecting the statistics.
statistics interval interval
Optional.
60 minutes by default.
5.
Configure the maximum
number of statistics groups
that can be saved.
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.
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.