R3303-HP HSR6800 Routers Network Management and Monitoring Command Reference
53
Examples
# Create reaction entry 1 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 total number of probe failures
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 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 trap and trigger)
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
are sent to the NMS and collaboration is triggered.
Use undo reaction to delete the specified reaction entry.
Syntax
reaction item-number checked-element probe-fail threshold-type consecutive consecutive-occurrences
action-type trap-and-trigger
undo reaction item-number
Default
No reaction entry for monitoring probe failures is configured.
Views
DHCP 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.