Configuring the nqa statistics collection function, Configuring the saving of nqa history records – H3C Technologies H3C S6300 Series Switches User Manual
Page 145
132
Configuring the NQA statistics collection function
NQA collects statistics for operations completed within a specific period. The statistics forms a statistics
group. A statistics group is generated after an operation is completed. To view information about the
statistics groups, use the display nqa statistics command.
A statistics group is deleted when its hold time expires. When the maximum number of statistics groups
is reached, to save a new statistics group, the oldest statistics group is deleted.
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 { dhcp | dlsw | dns | ftp |
http | icmp-echo | path-jitter |
snmp | tcp | udp-echo | udp-jitter
| voice }
N/A
4.
(Optional.) Specify the
interval for collecting the
statistics.
statistics interval interval
The default setting is 60 minutes.
5.
(Optional.) Specify the
maximum number of statistics
groups that can be saved.
statistics max-group number
The default setting is 2 groups.
To disable collecting NQA
statistics, set the maximum number
to 0.
6.
(Optional.) Specify the hold
time of statistics groups.
statistics hold-time hold-time
The default setting is 120 minutes.
Configuring the saving of NQA history records
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—A record is deleted when its lifetime is reached.
•
Maximum number of history records for an NQA operation—If the maxim number is reached, the
earliest history records are deleted.
To configure the saving of history records function:
Step Command
Remarks
1.
Enter system view.
system-view
N/A