F3215-HP Load Balancing Module High Availability Command Reference-6PW101

101
Examples
# Create reaction entry 1 for monitoring packet loss in the UDP jitter operation. Before the NQA
operation starts, the initial state of the reaction entry is invalid. After the operation, lost packets are
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 NMS.
<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
Use reaction checked-element probe-duration to configure a reaction entry for monitoring the operation
duration. 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.
Use undo reaction to delete the specified reaction entry.
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
Default
No reaction entry for monitoring the probe duration 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
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.
accumulate accumulate-occurrences: Specifies the maximum number of threshold violations. The value is
in the range of 1 to 15.
average: Specifies to check the average operation duration.
consecutive consecutive-occurrences: Specifies the number of consecutive threshold violations after the
NQA operation starts. The value is in the range of 1 to 16.
threshold-value: Specifies threshold values in milliseconds.
upper-threshold: Specifies the upper threshold in the range of 0 to 3600000.
lower-threshold: Specifies the lower threshold in the range of 0 to 3600000. It must not be greater than
the upper threshold.