To display the messages in the log file that were timestamped within the span entered, use the show logging logfile command.
show logging logfile [ start-time yyyy mmm dd hh : mm : ss ] [ end-time yyyy mmm dd hh : mm : ss ]
|
start-time
yyyy
mmm
dd
hh:mm:ss
|
(Optional) Specifies a start time in the format
yyyy
mmm
dd
hh:mm:ss
. Use three characters for the month (
mmm
) field, digits for the year (
yyyy
) and day (
dd
) fields, and digits separated by colons for the time (
hh:mm:ss
) field.
|
|
end-time
yyyy
mmm
dd
hh:mm:ss
|
(Optional) Specifies an end time in the format
yyyy
mmm
dd
hh:mm:ss
. Use three characters for the month (
mmm
) field, digits for the year (
yyyy
) and day (
dd
) fields, and digits separated by colons for the time (
hh:mm:ss
) field.
|
None
EXEC mode
|
Release
|
Modification
|
|
4.0(0)N1(1a)
|
This command was introduced.
|
If you do not enter an end time, the current time is used.
This example shows how to display the messages in the log file that were timestamped within the span shown:
|
Command
|
Description
|
|---|---|
|
logging logfile
|
Configures logging to a log file.
|