Reference Guide

Configuring an RMON Event
To add an event in the RMON event table, use the rmon event command in GLOBAL CONFIGURATION mode.
Add an event in the RMON event table.
CONFIGURATION mode
[no] rmon event number [log] [trap community] [description string] [owner
string]
number: assigned event number, which is identical to the eventIndex in the eventTable in the RMON MIB.
The value must be an integer from 1 to 65,535 and be unique in the RMON Event Table.
log: (Optional) generates an RMON log entry when the event is triggered and sets the eventType in the
RMON MIB to log or log-and-trap. Default is
no log.
trap community: (Optional) SNMP community string used for this trap. Configures the setting of the
eventType in the RMON MIB for this row as either snmp-trap or log-and-trap. This value is identical to the
eventCommunityValue in the eventTable in the RMON MIB. Default is public.
description string: (Optional) specifies a description of the event, which is identical to the event
description in the eventTable of the RMON MIB. The default is a
null-terminated string.
owner string: (Optional) owner of this event, which is identical to the eventOwner in the eventTable of
the RMON MIB. Default is a null-terminated string.
To disable RMON on the interface, use the no form of this command.
In the following example, the configuration creates RMON event number 1, with the description “High ifOutErrors”, and
generates a log entry when an alarm triggers the event. The user
nms1
owns the row that is created in the event table
by this command. This configuration also generates an SNMP trap when the event is triggered using the SNMP
community string “eventtrap”.
Example of the rmon event Command
FTOS(conf)#rmon event 1 log trap eventtrap description “High ifOutErrors” owner
nms1
Configuring RMON Collection Statistics
To enable RMON MIB statistics collection on an interface, use the RMON collection statistics command in
INTERFACE CONFIGURATION mode.
Enable RMON MIB statistics collection.
CONFIGURATION INTERFACE (config-if) mode
[no] rmon collection statistics {controlEntry integer} [owner ownername]
controlEntry: specifies the RMON group of statistics using a value.
integer: a value from 1 to 65,535 that identifies the RMON Statistics Table. The value must be unique in
the RMON Statistic Table.
owner: (Optional) specifies the name of the owner of the RMON group of statistics.
ownername: (Optional) records the name of the owner of the RMON group of statistics. The default is a
null-terminated string.
To remove a specified RMON statistics collection, use the no form of this command.
The following command example enables the RMON statistics collection on the interface, with an ID value of 20 and an
owner of
john
.
579