R3303-HP HSR6800 Routers Network Management and Monitoring Command Reference
54
action-type: Specifies what action to be triggered.
trap-and-trigger: Specifies the action of trap and trigger.
• Trap—Displays results on the terminal display, and sends SNMP trap messages to the NMS.
• Trigger—Triggers collaboration with other modules.
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.
This command is not supported by the DNS, UDP jitter, or voice operation.
Examples
# Create reaction entry 1. If the number of consecutive probe failures reaches 3, SNMP trap messages
are sent to the NMS and collaboration with other modules is triggered.
<Sysname> system-view
[Sysname] nqa entry admin test
[Sysname-nqa-admin-test] type tcp
[Sysname-nqa-admin-test-tcp] reaction 1 checked-element probe-fail threshold-type
consecutive 3 action-type trap-and-trigger
Related commands
track (High Availability Command Reference)
reaction checked-element probe-fail (for trigger)
Use reaction checked-element probe-fail to configure a reaction entry for monitoring the probe failures.
This command is applicable to trap messages only.
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.