1 configuration examples, Configuration examples -8 – Riverstone Networks WICT1-12 User Manual

Page 594

Advertising
background image

28-8 Riverstone Networks RS Switch Router User Guide Release 8.0

Configuring RMON Groups

RMON Configuration

28.3.1

Configuration Examples

This section shows examples of configuration commands that specify an event that generates an SNMP trap and the
alarm condition that triggers the event.

The RMON Alarm group allows the RS to poll itself at user-defined intervals. Alarms that constitute an event are
logged into the Event table that can then be polled by the management station. The management station is able to poll
more network devices this way, as it only needs to poll the RMON Event table and not the device itself. The
management station can also be sent trap information.

The following examples configure the RS to create an event when a module is hot swapped into the chassis or any new
IP interface is configured. The managed object ifTableLastChanged from RFC 2233) has an object identifier (OID)
of 1.3.6.1.2.1.31.1.5.0 and the RS will poll this OID every 5 minutes (300 seconds).

The command line below is an example of an RMON Event group configuration with the following attributes:

Index number 15 to identify this entry in the Event control table.

The event is both logged in the Event table and an SNMP trap generated with the community string
“public”.

Event owner is “help desk”.

The command line below is an example of an RMON Alarm group configuration with the following attributes:

Index number 20 to identify this entry in the Alarm control table.

The OID 1.3.6.1.2.1.31.1.5.0 identifies the attribute to be monitored.

Samples taken at 300 second (5 minute) intervals.

A “Startup” alarm generation condition instructing the RS to generate an alarm if the sample is
greater than or equal to the rising threshold or less than or equal to the falling threshold.

Compare value at time of sampling (absolute value) to the specified thresholds.

Rising and falling threshold values are 1.

To configure the Protocol
Distribution group.

rmon protocol-distribution index

<index-number>

port

<port>

[owner

<string>

] [status enable|disable]

To configure the User History
group, you must configure the
group of objects to be monitored
and apply the objects in the group
to the User History control table.

rmon user-history-control index

<index-number>

objects

<number>

samples

<number>

interval

<number>

[owner

<string>

]

[status enable|disable]

rmon user-history-objects

<groupname>

variable

<oid>

type

absolute|delta [status enable|disable]

rmon user-history-apply

<groupname>

to

<user-history-index>

rs#(config)

rmon event index 15 type both community public description "Interface added

or module hot swapped in" owner "help desk"

Advertising