DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide
155
INDEX
Specifies the index of the alarm entry. The valid range is from 1 to
65535.
log
(Optional) Specifies to generate log message for the notification.
trap
COMMUNITY
(Optional) Specifies to generate SNMP trap messages for the
notification. The maximum length is 127.
owner
NAME
(Optional) Specifies the owner string. The maximum length is 127.
description STRING
(Optional) Specifies a description for the RMON event entry. Enter
a text string with a maximum length of 127 characters.
Default
None.
Command Mode
Global Configuration Mode.
Command Default Level
Level: 15.
Usage Guideline
If the log and not the trap is specified, the created entry will cause a log entry to be generated on an event
occurrence. If the trap and not the log is specified, the created entry will cause an SNMP notification to be
generated on an event occurrence.
If both the log and trap options are specified, the created entry will cause both the log entry and the SNMP
notification to be generated on event occurrence.
Example
This example shows how to configure an event with an index of 13 to generate a log on the occurrence of the
event.
Switch# configure terminal
Switch(config)# rmon event 13 log owner [email protected] description ifInNUcastPkts is
too much
Switch(config)#
30-5
show rmon alarm
This command is used to displays the alarm configuration.
show rmon alarm
Parameters
None.
Default
None.
Command Mode
EXEC Mode or Any Configuration Mode.