R3303-HP HSR6800 Routers Network Management and Monitoring Command Reference

52
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 3 checked-element probe-duration
threshold-type consecutive 10 threshold-value 50 5 action-type trap-only
reaction checked-element probe-fail (for trap)
Use reaction checked-element probe-fail to configure a reaction entry for monitoring the probe results of
the operation. If the number of consecutive probe failures reaches the threshold, SNMP trap messages
can be sent to the NMS.
Use undo reaction to delete the specified reaction entry.
Syntax
reaction item-number checked-element probe-fail threshold-type { accumulate accumulate-occurrences
| consecutive consecutive-occurrences } [ action-type { none | trap-only } ]
undo reaction item-number
Default
No reaction entry for monitoring probe failures is configured.
Views
DHCP operation view, DLSw operation view, DNS 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.
accumulate accumulate-occurrences: Specifies the total number of probe failures. The value is in the
range of 1 to 15.
consecutive consecutive-occurrences: Specifies the maximum number of consecutive probe failures. The
value is in the range of 1 to 16.
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.