Examples
# Create reaction entry 1 for monitoring the packet loss in each UDP jitter test. Before the NQA test group
starts, the initial state of the reaction entry is invalid. After each test, the packet loss is checked. If the total
number of lost packets exceeds 100 (included), the state of the reaction entry is set to over-threshold.
Otherwise, the state 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
[Sysname-nqa-admin-test-udp-jitter] reaction 1 checked-element packet-loss
threshold-type accumulate 100 action-type trap-only
reaction checked-element probe-duration
Syntax
reaction
accumulate-occurrences | average | consecutive consecutive-occurrences } threshold-value
upper-threshold lower-threshold [ action-type { none | trap-only } ]
undo reaction item-number
View
DHCP, DLSw, DNS, FTP, HTTP, ICMP echo, SNMP, TCP, UDP echo operation view
Default level
2: System level
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 15.
average: Specifies to check the average probe duration in each test.
consecutive consecutive-occurrences: Specifies the number of consecutive threshold violations since the
NQA test group starts. The value is in the range of 1 to 16.
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. This keyword is not supported in
DNS test view.
item-number
checked-element
probe-duration
149
threshold-type
{
accumulate