R2511-HP MSR Router Series Network Management and Monitoring Command Reference(V5)

198
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 1 checked-element probe-fail threshold-type
accumulate 10 action-type trap-only
# Create reaction entry 2 for monitoring the probe failures in ICMP echo operation. Before the NQA
operation starts, the initial state of the reaction entry is invalid. If the number of consecutive probe failures
exceeds 10, 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-fail threshold-type
consecutive 10 action-type trap-only
reaction checked-element probe-fail (for trigger)
Use reaction checked-element probe-fail to configure a reaction entry for monitoring the probe failures.
Use undo reaction to remove the specified reaction entry.
Syntax
reaction item-number checked-element probe-fail threshold-type consecutive consecutive-occurrences
action-type trigger-only
undo reaction item-number
Default
No reaction entries are configured.
Views
DHCP operation view, DNS operation view, DLSw operation view, FTP operation view, HTTP operation
view, ICMP echo operation view, SNMP operation view, TCP operation view, UDP echo operation view
Default command 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.
consecutive consecutive-occurrences: Specifies the maximum number of consecutive probe failures in the
range of 1 to 16.
action-type: Specifies what action to be triggered.
trigger-only: Triggers other modules to react to certain conditions.
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.