
103
regular-expression
: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Description
Use the
display rmon event
command to display the configuration of the specified RMON event entry or
all RMON event entries.
Displayed information includes event index, event owner, event description, action triggered by the event
(such as sending log or trap messages), and last time the event occurred (the elapsed time since system
initialization/startup) in seconds.
Related commands:
rmon event
.
Examples
# Display the configuration of the RMON event table.
<Sysname> display rmon event
EventEntry 1 owned by user1 is VALID.
Description: null.
Will cause log-trap when triggered, last triggered at 0days 00h:02m:27s.
Table 24
Output description
Field Description
EventEntry Event
entry,
corresponding to the MIB node eventIndex.
owned by
Owner of the entry, corresponding to the MIB node eventOwner.
VALID
Status of the entry identified by the index (VALID means the entry is valid,
and UNDERCREATION means invalid. You can use the
display rmon
command to view the invalid entry; while with the
display
current-configuration
and
display this
commands you cannot view the
corresponding
rmon
commands.), corresponding to the MIB node
eventStatus.
Description
Description for the event, corresponding to the MIB node eventDescription.
cause log-trap when triggered
The actions that the system will take when the event is triggered, which can
be one of the following:
•
none: The system will take no action
•
log: The system will log the event
•
snmp-trap: The system will send a trap to the NMS
•
log-and-trap: The system will log the event and send a trap to the NMS
This field corresponds to the MIB node eventType.
last triggered at
Time when the last event was triggered, corresponding to the MIB node
eventLastTimeSent.
display rmon eventlog
Syntax
display rmon eventlog
[
entry-number
] [
|
{
begin
|
exclude
|
include
}
regular-expression
]
View
Any view