Purpose
Command or Action
(Optional) Displays logging events matching the specified
message code.
show logging events buffer message message-code
Example:
RP/0/RSP0/CPU0:router# show logging events
buffer message ALARM
Step 2
•
In this example, all events that contain the message code
ALARM are displayed.
(Optional) Displays logging events matching the specified
message group and message code.
show logging events buffer group message-group
message message-code
Step 3
Example:
RP/0/RSP0/CPU0:router# show logging events
buffer group SONET message ALARM
•
In this example, all events that contain the message group
SONET and message code ALARM are displayed.
Displaying Alarms According to a First and Last Range
This task explains how to display alarms according to a range of the first and last alarms in the logging events
buffer.
Alarms can be displayed according to a range, beginning with the first or last alarm in the logging events
buffer.
The commands can be entered in any order.
Note
SUMMARY STEPS
1.
show logging events buffer first event-count
2.
show logging events buffer last event-count
3.
show logging events buffer first event-count last event-count
DETAILED STEPS
Purpose
Command or Action
(Optional) Displays logging events beginning with the first event in the
logging events buffer.
show logging events buffer first event-count
Example:
RP/0/RSP0/CPU0:router# show logging
events buffer first 15
Step 1
•
For the
event-count
argument, enter the number of events to be
displayed.
•
In this example, the first 15 events in the logging events buffer
are displayed.
Cisco ASR 9000 Series Aggregation Services Router System Monitoring Configuration Guide, Release 4.2.x
24
Implementing and Monitoring Alarms and Alarm Log Correlation
Displaying Alarms According to a First and Last Range