HP VPN Firewall Appliances High Availability Command Reference

95
reaction trap
Use reaction trap to configure the sending of traps to the NMS under specified conditions.
Use undo reaction trap to restore the default.
Syntax
reaction trap { probe-failure consecutive-probe-failures | test-complete | test-failure
cumulate-probe-failures }
undo reaction trap { probe-failure | test-complete | test-failure }
Default
No traps are sent to the NMS.
Views
Any NQA operation view
Default command level
2: System level
Parameters
probe-failure consecutive-probe-failures: Sends a trap to the NMS if the number of consecutive probe
failures in an operation is greater than or equal to consecutive-probe-failures. The value range for
consecutive-probe-failures is 1 to 15. The system counts the number of consecutive probe failures for each
operation, so multiple traps might be sent.
test-complete: Sends a trap to indicate that the operation is completed.
test-failure cumulate-probe-failures: Sends a trap if the total number of probe failures in an operation is
greater than or equal to cumulate-probe-failures. The value range for cumulate-probe-failures is 1 to 15.
The system counts the total probe failures after the last operation completes, so one trap at most is sent.
Usage guidelines
Only the reaction trap test-complete command is supported for the voice operation.
Examples
# Configure the system to send a trap if the number of consecutive probe failures in an ICMP echo
operation is greater than or equal to 5.
<Sysname> system-view
[Sysname] nqa entry admin test
[Sysname-nqa-admin-test] type icmp-echo
[Sysname-nqa-admin-test-icmp-echo] reaction trap probe-failure 5
resolve-target
Use resolve-target to set the domain name for the DNS operation.
Use undo resolve-target to restore the default.
Syntax
resolve-target domain-name
undo resolve-target