Examples
# Create reaction entry 1 for monitoring the average round-trip time of UDP jitter probe packets, setting
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 average packet round-trip time is
checked. If it exceeds the upper limit, the state is set to over-threshold. If it is below the lower limit, the
state is set to below-threshold. Once the reaction entry state 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
average threshold-value 50 5 action-type trap-only
# Create reaction entry 2 for monitoring the round-trip time of UDP jitter probe packets, setting 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 exceeds 100 (included), 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
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
mdc-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
{
probe-failure
consecutive-probe-failures
|
64
test-complete
|
test-failure