PurposeCommand or Action
(Optional) Displays logging events occurring after the specified time
stamp and within a severity range. The month, day, and year arguments
default to the current month, date, and year, if not specified.
show logging events buffer severity-hi-limit
severity severity-lo-limit severity
timestamp-lo-limit hh : mm : ss [ month ] [ day
] [ year ]
Step 4
•
In this example, alarms with a severity of warnings (severity of 4),
errors (severity of 3), and critical (severity of 2) that occur after
Example:
RP/0/RSP0/CPU0:router# show logging events
22:00:00 on May 7, 2004 are displayed. All other messages
occurring before the time stamp are omitted.
buffer severity-lo-limit warnings
severity-hi-limit critical
timestamp-lo-limit 22:00:00 may 07 04
Displaying Alarms According to a Time Stamp Range
Alarms can be displayed according to a time stamp range. Specifying a specific beginning and endpoint can
be useful in isolating alarms occurring during a particular known system event.
This task explains how to display alarms according to a time stamp range.
The commands can be entered in any order.Note
SUMMARY STEPS
1.
show logging events buffer timestamp-lo-limit hh : mm : ss [ month ] [ day ] [ year ]
2.
show logging events buffer timestamp-hi-limit hh : mm : ss [ month ] [ day ] [ year ]
3.
show logging events buffer timestamp-hi-limit hh : mm : ss [ month ] [ day ] [ year ] timestamp-lo-limit
hh : mm : ss [ month ] [ day ] [ year ]
DETAILED STEPS
PurposeCommand or Action
(Optional) Displays logging events with a time stamp after the
specified time and date.
show logging events buffer timestamp-lo-limit hh :
mm : ss [ month ] [ day ] [ year ]
Step 1
Example:
RP/0/RSP0/CPU0:router# show logging events
•
The month, day, and year arguments default to the current
month, date, and year if not specified.
•
The sample output displays events logged after 21:28:00 on
April 18, 2004.
buffer timestamp-lo-limit 21:28:00 april 18 04
(Optional) Displays logging events with a time stamp before the
specified time and date.
show logging events buffer timestamp-hi-limit hh :
mm : ss [ month ] [ day ] [ year ]
Step 2
Cisco ASR 9000 Series Aggregation Services Router System Monitoring Configuration Guide, Release 4.2.x
22
Implementing and Monitoring Alarms and Alarm Log Correlation
Displaying Alarms According to a Time Stamp Range