HP MSR2000/3000/4000 Router Series Network Management and Monitoring Command Reference

63
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
DHCP operation view, DLSw operation view, DNS operation view, FTP operation view, HTTP operation
view, ICMP echo operation view, SNMP operation view, TCP operation view, UDP echo operation view,
UDP jitter operation view, voice operation view
Predefined user roles
network-admin
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 for
consecutive-probe-failures is in the range of 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 for cumulate-probe-failures is in the range of
1 to 15. The system counts the total probe failures after the last operation completes, so only one trap is
sent.
Usage guidelines
The reaction trap test-complete command is supported only for the UDP jitter and voice operations.
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
reaction trigger probe-fail
Use reaction trigger probe-fail to configure the number of consecutive probe failures that lead to an
operation failure.
Use undo reaction trigger probe-fail to restore the default.
Syntax
reaction trigger probe-fail count
undo reaction trigger probe-fail