R3721-F3210-F3171-HP High-End Firewalls High Availability Command Reference-6PW101

75
trap-only: Specifies to record events and send SNMP trap messages.
Description
Use reaction checked-element packet-loss to configure a reaction entry for monitoring the packet loss in
each test of an NQA operation. You cannot edit a reaction entry. To change the attributes in a reaction
entry, use the undo reaction command to delete this entire entry and start over.
Use the undo reaction command to delete a specified reaction entry.
By default, no reaction entry for monitoring the packet loss is configured.
Examples
# Create reaction entry 1 for monitoring the packet loss in each UDP jitter test. Before the NQA test group
starts, the initial state of the reaction entry is invalid. After each test, the packet loss is checked. If the total
number of lost packets exceeds 100 (included), the state of the reaction entry is set to over-threshold;
otherwise, the state is set to below-threshold. Once the state of the reaction entry changes, a trap
message is generated and sent to the network management server.
<Sysname> system-view
[Sysname] nqa entry admin test
[Sysname-nqa-admin-test] type udp-jitter
[Sysname-nqa-admin-test-udp-jitter] reaction 1 checked-element packet-loss
threshold-type accumulate 100 action-type trap-only
reaction checked-element probe-duration
Syntax
reaction item-number checked-element probe-duration threshold-type { accumulate
accumulate-occurrences | average | consecutive consecutive-occurrences } threshold-value
upper-threshold lower-threshold [ action-type { none | trap-only } ]
undo reaction item-number
View
DHCP, DLSw, FTP, HTTP, ICMP echo, SNMP, TCP, UDP echo test type view
Default level
2: System level
Parameters
item-number: ID for a reaction entry, which ranges from 1 to 10.
threshold-type: Specifies a threshold type.
accumulate accumulate-occurrences: Total number of threshold violations in a test. It ranges from 1 to 15.
average: Average probe duration in each test.
consecutive consecutive-occurrences: Number of consecutive threshold violations since the NQA test
group starts. It ranges from 1 to 16.
threshold-value: Specifies threshold values in milliseconds.
upper-threshold: Upper threshold, which ranges from 0 to 3600000.
lower-threshold: Lower threshold, which ranges from 0 to 3600000. It must not be greater than the upper
threshold.