
104
Default level
1: Monitor level
Parameters
entry-number
: Specifies the index of an event entry, which is in the range of 1 to 65535.
|
: Filters command output by specifying a regular expression. For more information about regular
expressions, see
Fundamentals Configuration Guide
.
begin
: Displays the first line that matches the specified regular expression and all lines that follow.
exclude
: Displays all lines that do not match the specified regular expression.
include
: Displays all lines that match the specified regular expression.
regular-expression
: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Description
Use the
display rmon eventlog
command to display log information for the specified or all event entries.
If
entry-number
is not specified, the log information for all event entries is displayed.
If you use the
rmon event
command to configure the system to log an event when the event is triggered,
the event is recorded in the RMON log. You can use this command to display the details of the log table,
which includes event index, current event state, time the event was logged (the elapsed time in seconds
since system initialization/startup), and event description.
Examples
# Display the RMON log information for event entry 1.
<Sysname> display rmon eventlog 1
LogEntry 1 owned by null is VALID.
Generates eventLog 1.1 at 0day(s) 00h:00m:33s.
Description: The alarm formula defined in prialarmEntry 1,
uprise 80 with alarm value 85. Alarm sample type is absolute.
Generates eventLog 1.2 at 0day(s) 00h:42m:03s.
Description: The alarm formula defined in prialarmEntry 2,
less than(or =) 5 with alarm value 0. Alarm sample type is delta.
Table 25
Output description
Field Description
LogEntry
Event log entry, corresponding to the MIB node logIndex.
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.
Generates eventLog at
Time when the log was created (time passed since the device was
booted), corresponding to the MIB node logTime.
Description
Log description, corresponding to the MIB node logDescription.
The above example shows that event 1 has generated two logs: