Reaction Trap - HP E4510-48G Command Reference Manual

4510g series
Table of Contents

Advertisement

[Sysname-nqa-admin-test] type tcp
[Sysname-nqa-admin-test-tcp]
consecutive 3 action-type trigger-only

reaction trap

Syntax
reaction
trap
cumulate-probe-failures }
undo reaction trap { probe-failure | test-complete | test-failure }
View
Any NQA test type view
Default Level
2: System level
Parameters
probe-failure consecutive-probe-failures: Specifies to send a trap indicating a probe failure to the
network
management
consecutive-probe-failures is the number of consecutive probe failures in a test, in the range 1 to 15.
test-complete: Specifies to send a trap to indicate that the test is completed.
test-failure cumulate-probe-failures: Specifies to send a trap indicating a probe failure to the network
management server if the total number of probe failures in an NQA test is larger than or equal to
cumulate-probe-failures. For one test, the trap is sent only when the test is completed.
cumulate-probe-failures is the total number of consecutive probe failures in a test, in the range 1 to 15.
Description
Use the reaction trap command to configure to send traps to network management server under
specified conditions.
Use the undo reaction trap command to restore the default.
By default, no traps are sent to the network management server.
Note that 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.
Examples
# Configure to send a trap indicating a probe failure after five consecutive probe failures in an ICMP
echo test.
<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
{
probe-failure
consecutive-probe-failures
server
after
1
checked-element
|
consecutive
probe
18-29
probe-fail
threshold-type
test-complete
|
test-failure
failures
in
an
NQA
test.

Advertisement

Table of Contents
loading

Table of Contents