R3303-HP HSR6800 Routers Network Management and Monitoring Command Reference
51
accumulate accumulate-occurrences: Specifies the total number of threshold violations. The value is in the
range of 1 to 15.
average: Specifies to check the average operation duration.
consecutive consecutive-occurrences: Specifies the number of consecutive threshold violations after the
NQA operation starts. The value is in the range of 1 to 16.
threshold-value: Specifies threshold values in milliseconds.
upper-threshold: Specifies the upper threshold in the range of 0 to 3600000.
lower-threshold: Specifies the 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. The default action is none.
none: Specifies the action of only 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. This keyword is not supported for the DNS operation.
Usage guidelines
You cannot edit a reaction entry. To change the attributes in a reaction entry, use undo reaction to delete
the entry first and then configure a new one.
Only successful operations are monitored. Failed operations are not counted.
Examples
# Create reaction entry 1 for monitoring the average duration of ICMP echo operation. Set the upper
threshold to 50 milliseconds and lower threshold to 5 milliseconds. Before the NQA operation starts, the
initial state of the reaction entry is invalid. After the operation, the average probe duration is checked. If
it exceeds the upper threshold, the state is set to over-threshold. If it is below the lower threshold, the state
of the reaction 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 icmp-echo
[Sysname-nqa-admin-test-icmp-echo] reaction 1 checked-element probe-duration
threshold-type average threshold-value 50 5 action-type trap-only
# Create reaction entry 2 for monitoring the duration of ICMP echo operation. Set the upper threshold to
50 milliseconds, and the lower threshold to 5 milliseconds. Before the NQA operation starts, the initial
state of the reaction entry is invalid. After the operation, the probe duration is checked against the
threshold range. If the total number of threshold violations exceeds 10 (included), the state of the entry is
set to over-threshold. If it is below the lower threshold, 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 icmp-echo
[Sysname-nqa-admin-test-icmp-echo] reaction 2 checked-element probe-duration
threshold-type accumulate 10 threshold-value 50 5 action-type trap-only
# Create reaction entry 3 for monitoring the duration time of ICMP echo operation. Set the upper
threshold to 50 milliseconds, and the lower threshold to 5 milliseconds. Before the NQA operation starts,
the initial state of the reaction entry is invalid. After the operation, the probe duration is checked against
the threshold range. If the consecutive threshold violations exceed 10, the state of the entry is set to