EasyManua.ls Logo

Cisco Nexus 5600 Series - Displaying and Clearing Log Files; Verifying the System Message Logging Configuration

Cisco Nexus 5600 Series
378 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Displaying and Clearing Log Files
You can display or clear messages in the log file and the NVRAM.
Procedure
PurposeCommand or Action
Displays the last number of lines in the logging file. You
can specify from 1 to 9999 for the last number of lines.
switch# show logging last
number-lines
Step 1
Displays the messages in the log file that have a time
stamp within the span entered. If you do not enter an end
switch# show logging logfile
[start-time yyyy mmm dd hh:mm:ss]
[end-time yyyy mmm dd hh:mm:ss]
Step 2
time, the current time is used. You enter three characters
for the month time field and digits for the year and day
time fields.
Displays the messages in the NVRAM. To limit the
number of lines displayed, you can enter the last number
switch# show logging nvram [last
number-lines]
Step 3
of lines to display. You can specify from 1 to 100 for the
last number of lines.
Clears the contents of the log file.switch# clear logging logfile
Step 4
Clears the logged messages in NVRAM.switch# clear logging nvram
Step 5
The following example shows how to display messages in a log file:
switch# show logging last 40
switch# show logging logfile start-time 2007 nov 1 15:10:0
switch# show logging nvram last 10
The following example shows how to clear messages in a log file:
switch# clear logging logfile
switch# clear logging nvram
Verifying the System Message Logging Configuration
Use these commands to verify system message logging configuration information:
PurposeCommand
Displays the console logging configuration.show logging console
Displays the logging configuration.show logging info
Displays the syslog distribution information.show logging internal info
Displays the IP access list cache.show logging ip access-list cache
Cisco Nexus 5600 Series NX-OS System Management Configuration Guide, Release 7.x
OL-31641-01 107
Configuring System Message Logging
Displaying and Clearing Log Files

Table of Contents

Other manuals for Cisco Nexus 5600 Series

Related product manuals