![H3C SR6600 SPE-FWM Скачать руководство пользователя страница 59](http://html1.mh-extra.com/html/h3c/sr6600-spe-fwm/sr6600-spe-fwm_command-reference-manual_574801059.webp)
51
it exceeds the upper threshold, the state is set to over-threshold. If it is below the lower threshold, the state
of the reaction 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 1 checked-element probe-duration
threshold-type average threshold-value 50 5 action-type trap-only
# Create reaction entry 2 for monitoring the duration of ICMP echo operation. Set the upper threshold to
50 milliseconds, and the lower threshold to 5 milliseconds. Before the NQA operation starts, the initial
state of the reaction entry is invalid. After the operation, the probe duration is checked against the
threshold range. If the total number of threshold violations exceeds 10 (included), the state of the entry is
set to over-threshold. If it is below the lower threshold, the state 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-duration
threshold-type accumulate 10 threshold-value 50 5 action-type trap-only
# Create reaction entry 3 for monitoring the duration time of ICMP echo operation. Set the upper
threshold to 50 milliseconds, and the lower threshold to 5 milliseconds. Before the NQA operation starts,
the initial state of the reaction entry is invalid. After the operation, the probe duration is checked against
the threshold range. If the consecutive threshold violations exceed 10, the state of the entry is set to
over-threshold. If it is below the lower threshold, the state 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 3 checked-element probe-duration
threshold-type consecutive 10 threshold-value 50 5 action-type trap-only
reaction checked-element probe-fail (for trap)
Use
reaction checked-element probe-fail
to configure a reaction entry for monitoring the probe results of
the operation. If the number of consecutive probe failures reaches the threshold, collaboration with other
modules is triggered. 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-fail
threshold-type
{
accumulate
accumulate-occurrences
|
consecutive
consecutive-occurrences
} [
action-type
{
none
|
trap-only
} ]
undo reaction
item-number
Default
No reaction entry for monitoring probe failures is configured.
Содержание SR6600 SPE-FWM
Страница 8: ...vi Index 254 ...