Creating an alarm - example 1 3, Creating an alarm - example 1 – Allied Telesis AT-FS970M Series User Manual

Page 1323

Advertising
background image

AT-FS970M Switch Command Line User’s Guide

1323

The range is 1 to 65535 seconds.

The DELTA and ABSOLUTE parameters define the type of change that
has to occur for the monitored statistic to trigger the alarm. The DELTA
setting compares a threshold against the difference between the current
and previous values of the statistic, while the ABSOLUTE setting
compares a threshold against the current value of the statistic.

The raising and falling thresholds are the values which, when crossed,
cause the switch to perform the specified events. The range for both
thresholds is 1 to 65535.

The OWNER parameter is used to indicate who created the alarm. This
parameter is optional.

Creating an

Alarm - Example

1

This example creates an alarm that monitors the change per minute in the
number of all ingress packets for port 22. The RMON statistic is
etherStatsPkts, and its OID is 1.3.6.1.2.1.16.1.1.1.5. The alarm is
assigned the ID number 1 and triggers event 3, which enters a message in
the event log if the ingress traffic on the port exceeds 20000 packets per
minute or falls below 1000 packets.

The first sequence of steps adds an RMON statistics group to port 22. The
alarm will not work unless the switch is gathering statistics from the port to
use with RMON. (You can skip this phase if the port already has a
statistics group.)

awplus> enable

Enter the Privileged Executive
mode from the User Executive
mode.

awplus# configure terminal

Enter the Global Configuration
mode.

awplus(config)# interface port1.0.22

Enter the Port Interface mode for
port 22.

awplus(config-if)# rmon collection stats 22

Add a statistics group to the port
with the RMON COLLECTION
STATS command. The entries are
easier to remember if their ID
numbers are the same as the port
numbers to which they are
assigned.

awplus(config-if)# end

Return to the Privileged Exec
mode.

awplus# show rmon statistics

Use the SHOW RMON
STATISTICS command to verify
the configuration of the new group.

Advertising