Reaction Trap; Resolve-Target - H3C SR6600 Command Reference Manual

Network management and monitoring command reference
Hide thumbs Also See for SR6600:
Table of Contents

Advertisement

[Sysname-nqa-admin-test] type udp-jitter
[Sysname-nqa-admin-test-udp-jitter] reaction 1 checked-element rtt threshold-type
accumulate 100 threshold-value 50 5 action-type trap-only

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
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 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 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.
{
probe-failure
consecutive-probe-failures
|
55
test-complete
|
test-failure

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sr6600-x

Table of Contents