The rmon event command configures a way to process an event: to record a log or send trap messages.
The undo rmon event cancels the configuration.
By default, no event is triggered. Therefore, no log is recorded, and no trap message is sent.
| Parameter | Description | Value | 
|---|---|---|
| entry-number | Specifies the index number of an event MIB entry. | The value is an integer ranging from 1 to 65535. | 
| description string | Specifies event descriptions. | The value is a string of 1 to 127 characters. When quotation marks are used around the string, spaces are allowed in the string. | 
| log | Logs an event. | - | 
| trap | Sends a trap message about an event to an NMS. | - | 
| object | Specifies the community name of the NMS receiving trap messages. | The name is a string of 1 to 127 characters. | 
| log-trap | Logs an even and sends a trap message to an NMS. | - | 
| none | Specifies no behaviors. If the event is triggered, the system will not handle it. | - | 
| owner owner-name | Specifies an event owner that creates the event. | The name is a string of 1 to 127 case-sensitive characters, spaces not supported. | 
Usage Scenario
The RMON threshold alarm function triggers events. The rmon event command can be used to set a way to process the events, to record a log or send trap messages to the NMS.
Prerequisites
An alarm object has been configured using the rmon alarm command after you configure the way to process a specified event.