221
reaction checked-element packet-loss
Use
reaction checked-element packet-loss
to configure a reaction entry for monitoring packet
loss in UDP jitter or voice operation.
Use
undo reaction
to delete the specified reaction entry.
Syntax
reaction
item-number
checked-element packet-loss threshold-type
accumulate
accumulate-occurrences
[
action-type
{
none
|
trap-only
} ]
undo reaction item-number
Default
No reaction entry for monitoring packet loss is configured.
Views
UDP jitter operation view, voice operation view
Predefined user roles
network-admin
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
: Specifies the total number of lost packets in the operation.
The value is in the range of 1 to 15000 for the UDP jitter operation and 1 to 60000 for the voice
operation.
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.
Examples
# Create reaction entry 1 for monitoring packet loss in the UDP jitter operation. Before the NQA
operation starts, the initial state of the reaction entry is invalid. After the operation, the total number of
the lost packets is checked against the threshold. If the number reaches or exceeds 100, 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 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 packet-loss
threshold-type accumulate 100 action-type trap-only
reaction checked-element probe-duration
Use
reaction checked-element probe-duration
to configure a reaction entry for monitoring the
probe duration.