4.11.4 Set RMON event group
[Syntax]
rmon
event
index
type
community
[
description
description
] [
owner
owner
]
no
rmon
event
index
[Parameter]
index
:
<1 - 65535>
Index of event group (eventIndex)
type
:
Event type (eventType)
Setting value
Description
log
Record in log
trap
Send SNMP trap
log-trap
Record in log and send SNMP trap
community
:
Community name (eventCommunity)
Maximum 127 characters
This can be specified if
type
is "trap" or "log-trap".
description
:
Description of event (eventDescription)
Maximum 127 characters
(if omitted : RMON_SNMP)
owner
:
Name of event group owner (eventOwner)
Maximum 127 characters
(if omitted : RMON_SNMP)
[Initial value]
none
[Input mode]
global configuration mode
[Description]
Enables the RMON event group settings.
If this command is set, it will be possible to acquire the RMON MIB's eventTable. Use the
rmon alarm
command to set the
event group for this command.
If this command is executed with the "no" syntax, the setting value is deleted.
[Note]
To enable the event group setting of the RMON function, it is necessary to enable the system-wide RMON function in addition
to this command.
In order for RMON to send an SNMP trap, you must have made SNMP trap transmission settings.
[Example]
After making SNMP trap settings, enable the RMON event group setting. Set the type of event as "log-trap", and the
community name of the trap as "public".
SWR2311P(config)#snmp-server host 192.168.100.3 traps version 2c public
SWR2311P(config)#snmp-server enable trap rmon
SWR2311P(config)#rmon event 1 log-trap public
4.11.5 Set RMON alarm group
[Syntax]
rmon
alarm
index
variable
interval
interval
[
type
]
rising-threshold
rising_threshold
event
rising_event-index
falling-threshold
falling_threshold
event
falling_event_index
[
alarmstartup
startup
] [
owner
owner
]
rmon
alarm
index
variable
interval
interval
[
type
]
rising-threshold
rising_threshold
event
rising_event-index
[
owner
owner
]
60
| Command Reference | Maintenance and operation functions