S e n d c o m m e n t s t o n e x u s 3 k - d o c f e e d b a c k @ c i s c o . c o m
-SM-216
Cisco Nexus 3000 Series NX-OS System Management Command Reference
OL-29557-04
Chapter System Management Commands
show logging logfile
show logging logfile
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
]
Syntax Description
Command Default
None
Command Modes
EXEC mode
Command History
Usage Guidelines
If you do not enter an end time, the current time is used.
Examples
This example shows how to display the messages in the log file that were timestamped within the span
shown:
switch#
show logging logfile start-time 2008 mar 11 12:10:00
Related Commands
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.
Release
Modification
5.0(3)U1(1)
This command was introduced.
Command
Description
logging logfile
Configures logging to a log file.