CLI Reference Guide

173
Example
Configure the sample port as Gi1/0/2 and the sample interval as 100 seconds
for the entry 1-3:
T1500-28PCT(config)# rmon history 1-3 interface fastEthernet 1/0/2
interval 100 owner owner1
rmon event
Description
The rmon event command is used to configure the entries of SNMP-RMON
Event. To return to the default configuration, please use no rmon event
command. Event Group, as one of the commonly used RMON Groups, is used
to define RMON events. Alarms occur when an event is detected.
Syntax
rmon event index [ use r user-name ] [ de scription descript ] [ type { none | log
| notify | log-notify }] [ owner owner-name ]
no rmon event index
Parameter
index —— The index number of the event entry, ranging from 1 to 12. You can
only select one entry for each command.
user-name —— The name of the User to which the event belongs, ranging from
1 to 16 characters. By default, it is “public”.
descript —— The description of the event, ranging from 1 to 16 characters. By
default, it is empty.
type —— The event type, with none, log, notify and both options. None
indicates no processing, log indicates logging the event, notify indicates sending
trap messages to the management station, and both indicates logging the event
and sending trap messages to the management station.
owner-name —— The owner of the event entry, ranging from 1 to 16 characters.
By default, it is “monitor”.
Command Mode
Global Configuration Mode
Example
Configure the user name of entry 1, 2, 3 and 4 as user1, the description of the
event as description1, the type of event as log and the owner of the event as
owner1: