66
# Create reaction entry 2 for monitoring the round-trip time of UDP jitter probe packets, and set the
upper limit to 50 milliseconds and lower limit to 5 milliseconds. Before the NQA operation starts, the
initial state of the reaction entry is invalid. After the operation, the packet round-trip time is checked.
If the total number of threshold violations reaches or exceeds 100, the state of the entry is set to
over-threshold. Otherwise, the state of the entry is set to below-threshold. Once the state of the
reaction entry changes, a trap message is generated and sent to the NMS.
<Sysname> system-view
[Sysname] nqa entry admin test
[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 specific conditions.
Use
undo reaction trap
to restore the default.
Syntax
reaction trap
{
path-change
|
probe-failure
consecutive-probe-failures
|
test-complete
|
test-failure
[
cumulate-probe-failures
] }
undo reaction trap
{
path-change
|
probe-failure
|
test-complete
|
test-failure
}
Default
No traps are sent to the NMS.
Views
DHCP/DLSw/DNS/FTP/HTTP/SNMP/TCP/voice operation view
ICMP/UDP echo operation view
UDP jitter operation view
UDP tracert operation view
Predefined user roles
network-admin
mdc-admin
Parameters
path-change
: Sends a trap when the NQA client detects a path different than the last UDP tracert
operation. This keyword is available only for the UDP tracert operation.
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 the
consecutive-probe-failures
argument 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
: Sends a trap when an operation fails. For operations other than UDP tracert operation,
the system counts the total number of probe failures in an operation. If the number reaches or
exceeds the value for the
cumulate-probe-failures
argument, a trap is sent for the operation failure.
cumulate-probe-failures
: Specifies the total number of probe failures in an operation. The value
range for the
cumulate-probe-failures
argument is 1 to 15. This argument is not supported by the
UDP tracert operation.