To configure a RMON event, use the rmon event Global Configuration mode command.
To delete a RMON event, use the no form of this command.
Syntax
rmon event index {log | trap COMMUNITY | log trap COMMUNITY} [description DESCRIPTION] [owner NAME]
no rmon event index
Parameters
index—The event index. (Range: 1 to 65535)
log—Specifies that a notification entry is generated in the log table by the switch for this event.
trap COMMUNITY—Specifies that an SNMP trap community is sent to one or more management stations by the switch for this event.
log trap COMMUNITY—Specifies that an entry is generated in the log table and an SNMP trap is sent to one or more management stations by the
switch for this event.
description DESCRIPTION—(Optional) Specifies the comment describing this event. (Length: 0 to 127 characters)
owner NAME—(Optional) Specifies the name of the person who configured this event.
Default Configuration
If the owner name is not specified, the default is an empty string.
Command Mode
Global Configuration mode
Example
The following example configures an event identified as index 10, for which the switch generates a notification in the log
table:
switchxxxxxx(config)# rmon event 10 log