72
Parameters
item-number
: Assigns an ID to the reaction entry, in the range of 1 to 10.
threshold-type
: Specifies a threshold type.
accumulate
accumulate-occurrences
: Checks the total number of threshold violations. Available
value ranges include:
•
1 to 15000 for the ICMP jitter and UDP jitter operations.
•
1 to 60000 for the voice operation.
average
: Checks the packet average round-trip time.
threshold-value
: Specifies threshold range in milliseconds.
upper-threshold
: Specifies the upper limit in the range of 0 to 3600000.
lower-threshold
: Specifies the lower limit in the range of 0 to 3600000. It must not be greater than the
upper limit.
action-type
: Specifies what action to be triggered. The default action is
none
.
none
: Specifies the action of displaying results on the terminal display.
trap-only
: Specifies the action of displaying results on the terminal display and meanwhile sending
SNMP trap messages to the NMS.
Usage guidelines
You cannot edit a reaction entry after it is created. To change the attributes in a reaction entry, use
the
undo reaction
command to delete the entry, and then configure a new one.
Only successful probe packets are monitored. Statistics about failed probe packets are not collected.
Examples
# Create reaction entry 1 for monitoring the average 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 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, 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.