beautypg.com

Rmon configuration example – Allied Telesis AlliedWare Plus Operating System Version 5.4.4C (x310-26FT,x310-26FP,x310-50FT,x310-50FP) User Manual

Page 1987

background image

RMON Introduction and Configuration

Software Reference for x310 Series Switches

C613-50046-01 REV A

AlliedWare Plus

TM

Operating System - Version 5.4.4C

73.3

RMON Configuration Example

This configuration example sets up an RMON alarm to create SNMP traps and log
messages. This RMON alarm creates SNMP traps and log messages when the rate of
receipt of Broadcast packets on a switch port exceeds a threshold, and creates SNMP traps
and log messages when the rate of receipt of Broadcast packets on a switch port drops
below a lower threshold.

Step 1:

Set up an RMON collection on the switch port that is being

monitored.

Use the following commands to configure this functionality:

This will cause the software to build a table in which it stores statistics relating to the
switch port.

Step 2:

Define an RMON event that will be called by the Alarm when

the thresholds are passed.

Create this as a ‘trap and log’ event, so that both an SNMP trap and a log message will
be generated. The trap will be sent to the SNMP community named ‘public’.

Use the following command to configure this functionality:

Step 3:

Create the RMON alarm.

Every 5 seconds, the alarm checks the broadcast packet counter in RMON collection
stats 4. If the change in the value of that counter over the 5 second interval exceeds
5000 (1000 broadcasts per second), the alarm will trigger the event defined in step 2
above.

Additionally, when the rate broadcast falls below 500 broadcasts per 5 seconds, then
the alarm will trigger the event defined in step 2 above again.

Use the below command to configure this functionality:

For the variable ‘etherStatsBroadcastPkts.4’ in this command, note that ‘.4’
refers to the index number of the RMON collection stats 4 as defined on port1.0.4.

So, ‘etherStatsBroadcastPkts.4’ refers to ‘Received broadcasts’ in RMON
collection stats 4. Further counters for RMON are defined in section 5 of RFC 1757.

awplus#

configure terminal

awplus(config)#

interface port1.0.4

awplus(config-if)#

rmon collection stats 4

awplus#

configure terminal

awplus(config)#

rmon event 10 log trap public

awplus#

configure terminal

awplus(config)#

rmon alarm 5 etherStatsBroadcastPkts.4
interval 5 delta
rising-threshold 5000 event 10
falling-threshold 500 event 10
alarmstartup 3