Command Manual (For Soliton) – SNMP-RMON
H3C S3100 Series Ethernet Switches
Chapter 2 RMON Configuration Commands
2-12
2.1.8 rmon event
Syntax
rmon
event
event-entry
[
description
string
] {
log
|
trap
trap
-
community
|
log
-
trap
log
-
trapcommunity | none
} [
owner
text
]
undo rmon event event
-
entry
View
System view
Parameters
event
-
entry
: Event entry index, in the range of 1 to 65535.
description
string
: Specifies the event description, a string of 1 to 127 characters.
log
: Logs events.
trap
: Sends traps to the NMS.
trap
-
community
: Community name of the NMS that receives the traps, a string of 1 to
127 characters.
log
-
trap
: Logs the event and sends traps to the NMS.
log
-
trapcommunity
: Community name of the NMS that receives the traps, a character
string of 1 to 127 characters.
none
: Specifies that the event triggers no action.
owner text
: Specifies the owner of the event entry, a string of 1 to 127 characters.
Description
Use the
rmon event
command to add an entry to the event table. If you do not specify
the
owner text
keyword/argument combination, the owner of the entry is displayed as
“null”.
Use the
undo rmon event
command to remove an entry from the event table.
When adding an event entry to an event table, you need to specify the event index. You
need also to specify the corresponding actions, including logging the event, sending
traps to the NMS, and the both, for the network device to perform corresponding
operation when an alarm referencing the event is triggered.
Examples
# Add the event entry numbered 10 to the event table and configure it to be a log event.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] rmon event 10 log