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 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 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
Predefined user roles
network-admin
mdc-admin
Parameters
item-number: Assigns an ID to the reaction entry, in the range of 1 to 10.
threshold-type: Specifies a threshold type.
consecutive consecutive-occurrences: Checks 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 after it is created. To change the attributes in a reaction entry, use undo
reaction to delete the entry first and reconfigure a new one.
Examples
# Create reaction entry 1. If the number of consecutive probe failures reaches 3, collaboration 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 trigger-only
62