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

57
Default level
2: System level
Parameters
probe-failure consecutive-probe-failures: Specifies to send a trap indicating a probe failure to the
network management server after consecutive probe failures in an NQA test. consecutive-probe-failures
is the number of consecutive probe failures in a test, in the range 1 to 15.
test-complete: Specifies to send a trap to indicate that the test is completed.
test-failure cumulate-probe-failures: Specifies to send a trap indicating a probe failure to the network
management server if the total number of probe failures in an NQA test is larger than or equal to
cumulate-probe-failures. For one test, the trap is sent only when the test is completed.
cumulate-probe-failures is the total number of consecutive probe failures in a test, in the range 1 to 15.
Description
Use the reaction trap command to configure to send traps to network management server under
specified conditions.
Use the undo reaction trap command to restore the default.
By default, no traps are sent to the network management server.
Only the reaction trap test-complete command is supported in a voice test, namely, in a voice test, traps
are sent to the NMS only if the test succeeds.
Examples
# Configure to send a trap indicating a probe failure after five consecutive probe failures in an ICMP
echo test.
<Sysname> system-view
[Sysname] nqa entry admin test
[Sysname-nqa-admin-test] type icmp-echo
[Sysname-nqa-admin-test-icmp-echo] reaction trap probe-failure 5
resolve-target
Syntax
resolve-target domain-name
undo resolve-target
View
DNS test type view
Default level
2: System level
Parameters
domain-name: Specifies the domain name to be resolved. It is a case insensitive string consisting of 1 to
255 characters. Valid characters include letters, digits, hyphens (-), underscores (_), and dots (.).
Description
Use the resolve-target command to set the domain name for a DNS test.
Use the undo resolve-target command to restore the default.