3com S7906E Guía De Referencia
1-21
[Sysname-nqa-admin-test-tcp] reaction 1 checked-element probe-fail threshold-type
consecutive 3 action-type trigger-only
reaction trap
Syntax
reaction trap { probe-failure consecutive-probe-failures | test-complete | test-failure
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 server after consecutive probe failures in an NQA test.
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.
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
route-option bypass-route
Syntax
route-option bypass-route
undo route-option bypass-route