R3166-R3206-HP High-End Firewalls High Availability Command Reference-6PW101

56
Default level
2: System level
Parameters
item-num: Number of the reaction entry, in the range 1 to 10.
checked-element: Type of the monitored element in collaboration. The type of the monitored element can
be probe failure only.
probe-fail: The type of the monitored element is probe failure.
threshold-type consecutive: Threshold type is consecutive probe failures.
occurrences: Number of consecutive probe failures, in the range 1 to 16.
action-type: Triggered action type, defaulting to none.
none: No actions.
trigger-only: Triggers collaboration between other modules only.
Description
Use the reaction command to establish a collaboration entry to monitor the probe results of the current
test group. If the number of consecutive probe failures reaches the threshold, collaboration with other
modules is triggered.
Use the undo reaction command to remove the collaboration entry.
By default, no collaboration entries are configured.
You cannot modify the content of a collaboration entry using the reaction command after the
collaboration entry is created.
The collaboration function is not supported in a UDP jitter or voice test.
Related commands: track.
Examples
# Create collaboration entry 1. If the number of consecutive probe failures reaches 3, 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 trigger-only
reaction trap
Syntax
reaction trap { probe-failure consecutive-probe-failures | test-complete | test-failure
cumulate-probe-failures }
undo reaction trap { probe-failure | test-complete | test-failure }
View
Any NQA test type view