
171
Parameters
item-number
: Specifies a reaction entry ID, in the range of 1 to 10.
threshold-type
: Specifies a threshold type.
accumulate
accumulate-occurrences
: Specifies the total number of threshold violations in a test. The value
is in the range of 1 to 15000 for UDP jitter tests and 1 to 60000 for voice tests.
average
: Specifies to check the packet average round-trip time in a test.
threshold-value
: Specifies threshold values in milliseconds.
upper-threshold
: Specifies an upper threshold, in the range of 0 to 3600000.
lower-threshold
: Specifies a lower threshold, in the range of 0 to 3600000. It must not be greater than
the upper threshold.
action-type
: Specifies what action to be triggered to react to certain measurement conditions and it
defaults to
none
.
none
: Specifies to only record events for terminal display, and not to send any trap messages.
trap-only
: Specifies to record events and send SNMP trap messages.
Description
Use the
reaction checked-element rtt
command to configure a reaction entry for monitoring packet
round-trip time. You cannot edit a reaction entry. To change the attributes in a reaction entry, use the
undo reaction
command to delete this entire entry and start over.
Use the
undo reaction
command to delete the specified reaction entry.
By default, no reaction entry for monitoring packet round-trip time is configured.
Only successful probe packets are monitored. The data of a failed probe packet is not counted.
Examples
# Create reaction entry 1 for monitoring the average round-trip time of UDP jitter probe packets. Set the
upper threshold to 50 milliseconds and lower threshold to 5 milliseconds. Before the NQA test group
starts, the initial state of the reaction entry is invalid. After each test, the average packet round-rip time is
checked. If it is out of the threshold range, the state is set to over-threshold; otherwise, the state is set to
below-threshold. Once the reaction entry state changes, a trap message is generated and sent to the
network management server.
<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. Set the upper
threshold to 50 milliseconds, and lower threshold to 5 milliseconds. Before the NQA test group starts, the
initial state of the reaction entry is invalid. After each test, the packet round-trip time is checked against
the threshold range. 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 network management server.
<Sysname> system-view
[Sysname] nqa entry admin test
[Sysname-nqa-admin-test] type udp-jitter