Reaction Trap - HP MSR1003-8S Command Reference Manual

Msr series network management and monitoring
Hide thumbs Also See for MSR1003-8S:
Table of Contents
lower-threshold: Specifies the lower limit in the range of 0 to 3600000. It must not be greater than the
upper limit.
action-type: Specifies what action to be triggered. The default action is none.
none: Specifies the action of displaying results on the terminal display.
trap-only: Specifies the action of displaying results on the terminal display and meanwhile sending
SNMP trap messages to the NMS.
Usage guidelines
You cannot edit a reaction entry after it is created. To change the attributes in a reaction entry, use the
undo reaction command to delete the entry, and then configure a new one.
Only successful probe packets are monitored. Statistics about failed probe packets are not collected.
Examples
# Create reaction entry 1 for monitoring the average round-trip time of UDP jitter probe packets, and set
the upper limit to 50 milliseconds and lower limit to 5 milliseconds. Before the NQA operation starts, the
initial state of the reaction entry is invalid. After the operation, the average packet round-trip time is
checked. If it exceeds the upper limit, the state is set to over-threshold. If it is below the lower limit, the
state is set to below-threshold. Once the reaction entry state changes, a trap message is generated and
sent to the NMS.
system-view
[Sysname] nqa entry admin test
[Sysname-nqa-admin-test] type udp-jitter
[Sysname-nqa-admin-test-udp-jitter] reaction 1 checked-element rtt threshold-type
average threshold-value 50 5 action-type trap-only
# Create reaction entry 2 for monitoring the round-trip time of UDP jitter probe packets, and set the upper
limit to 50 milliseconds and lower limit to 5 milliseconds. Before the NQA operation starts, the initial
state of the reaction entry is invalid. After the operation, the packet round-trip time is checked. If the total
number of threshold violations reaches or exceeds 100, the state of the entry is set to over-threshold.
Otherwise, 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.
system-view
[Sysname] nqa entry admin test
[Sysname-nqa-admin-test] type udp-jitter
[Sysname-nqa-admin-test-udp-jitter] reaction 1 checked-element rtt threshold-type
accumulate 100 threshold-value 50 5 action-type trap-only

reaction trap

Use reaction trap to configure the sending of traps to the NMS under specific conditions.
Use undo reaction trap to restore the default.
Syntax
reaction trap { path-change | probe-failure consecutive-probe-failures | test-complete | test-failure
[ cumulate-probe-failures ] }
undo reaction trap { path-change | probe-failure | test-complete | test-failure }
Default
No traps are sent to the NMS.
64
Table of Contents
loading

Table of Contents