Chapter 63 RMON
Ethernet Switch CLI Reference Guide
251
63.3.1 RMON Event Command Example
This example shows how to configure the Switch’s action when an RMON event using the
following settings:
• event index number: 2
• enable event logging and SNMP traps: Yes
• the trap’s community: public
• who will handle this alarm: operator
• additional description for this event entry: test
This example also shows how to display the setting results.
63.3.2 RMON Alarm Command Example
Syntax:
rmon alarm alarmtable <alarm-index> variable <variable> interval <interval-
integer> sample-type <absolute|delta> startup-alarm <startup-alarm> rising-
threshold <rising-integer> <event-index> falling-threshold <falling-integer>
<event-index> [owner <owner>]
where
ras# config
ras(config)# rmon event eventtable 2 log trap public owner operator
description test
ras(config)# exit
ras# show rmon event eventtable 2
Event 2 owned by operator is valid
eventType: logandtrap
eventCommunity: public
eventDescription: test
1-65535 This is an alarm’s index number in the alarm table.
variable This is the variable(s) whose data is sampled. The allowed options are:
• [ifType.<port>]
• [ifMtu.<port>]
• [ifSpeed.<port>]
• [ifAdminStatus.<port>]
• [ifOperStatus.<port>]
• [ifLastChange.<port>]
• [ifInOctets.<port>]
• [ifInUcastPkts.<port>]
• [ifInNUcastPkts.<port>]
• [ifInDiscards.<port>]
• [ifInErrors.<port>]
• [ifInUnknownProtos.<port>]
• [ifOutOctets.<port>]
• [ifOutUcastPkts.<port>]
• [ifOutNUcastPkts.<port>]
• [ifOutDiscards.<port>]
• [ifOutErrors.<port>]
• [ifOutQLen.<port>]
• [sysMgmtCPUUsage.<index>]
• [sysMemoryPoolUtil.<index>]
•[<OID>]