R3166-R3206-HP High-End Firewalls High Availability Configuration Guide-6PW101

76
Configuring trap delivery
Traps can be sent to the network management server when a test completes, fails or a probe fails.
Configuration prerequisites
Before you configure trap delivery, configure the destination address of the trap message with the
snmp-agent target-host command, create an NQA test group, and configure related parameters.
Configuring trap delivery
Follow these steps to configure trap delivery:
To do… Use the command…
Remarks
Enter system view system-view
Enter NQA test group view
nqa entry admin-name
operation-tag
Enter test type view of the test
group
type { dhcp | dlsw | dns | ftp |
http | icmp-echo | snmp | tcp |
udp-echo | udp-jitter | voice }
Configure to send traps to network
management server under
specified conditions
reaction trap { probe-failure
consecutive-probe-failures |
test-complete | test-failure
cumulate-probe-failures }
Optional
No traps are sent to the network
management server by default.
NOTE:
Only the reaction trap test-complete command is supported in a voice test, namely, in a voice test, traps
are sent to the NMS only if the test succeeds.
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 steps to configure the NQA statistics collection function:
To do… Use the command…
Remarks
Enter system view system-view
Enter NQA test group view
nqa entry admin-name
operation-tag
Enter test type view of the test
group
type { dlsw | dns | ftp | http |
icmp-echo | snmp | tcp |
udp-echo | udp-jitter | voice }