188
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:
TL-SG3424(config)# rmon event 1-4 user user1 description description1
type log owner owner1
rmon alarm
Description
The rmon alarm command is used to configure SNMP-RMON Alarm
Management. To return to the default configuration, please use no rmon alarm
command. Alarm Group is one of the commonly used RMON Groups. RMON
alarm management allows monitoring the specific alarm variables. When the
value of a monitored variable exceeds the threshold, an alarm event is
generated, which triggers the switch to act in the set way.
Syntax
rmon alarm index interface gigabitEthernet port [ alarm-variable { drop |
revbyte | revpkt | bpkt | mpkt | crc-lign | undersize | oversize | fragment | jabber |
collision | 64 | 65-127 | 128-511 | 512-1023 | 1024-10240 }] [ s-type { absolute |
delta} ] [ rising-threshold r-hold ] [ rising-event-index r-event ] [ falling-threshold