211
Syntax
rmon event entry-number [ description string ] { log | log-trap security-string | none | trap
security-string } [ owner text ]
undo rmon event entry-number
Default
No RMON event entries exist.
Views
System view
Predefined user roles
network-admin
Parameters
entry-number: Specifies an event entry index in the range of 1 to 65535.
description string: Configures an event description, a case-sensitive string of 1 to 127 characters.
log: Logs the event when it occurs.
log-trap: Logs the event and sends an SNMP notification when the event occurs.
security-string: Represents the SNMP community name, a case-sensitive string of 1 to 127
characters.
none: Performs no action when the event occurs.
trap: Sends an SNMP notification when the event occurs.
owner text: Specifies the entry owner, a case-sensitive string of 1 to 127 characters.
NOTE:
The SNMP community name setting for the security-string argument does not take effect even
though you can configure it with the command. Instead, the system uses the settings you configure
with SNMP when it sends RMON SNMP notifications. For more information about SNMP
notifications, see Network Management and Monitoring Configuration Guide.
Usage guidelines
You can create a maximum of 60 event entries.
You can associate an event entry with a standard or private alarm entry to specify the action to take
when an alarm condition occurs. Depending on your configuration, the system logs the event, sends
an SNMP notification, does both, or does neither.
You can associate an event with multiple alarm entries.
Examples
# Create an RMON log event entry. Specify its index as 10 and the entry owner as user1.
<Sysname> system-view
[Sysname] rmon event 10 log owner user1
Related commands
display rmon event
rmon alarm
rmon prialarm