Verifying The System Message Logging Configuration - Cisco Nexus 5000 Series Configuration Manual

System management configuration guide
Hide thumbs Also See for Nexus 5000 Series:
Table of Contents

Advertisement

Configuring System Message Logging
Procedure
Step 1
Step 2
Step 3
Step 4
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

To display system message logging configuration information, perform one of the following tasks:
Command
show logging console
show logging info
show logging internal info
show logging ip access-list cache
show logging ip access-list cache detail
show logging ip access-list status
Command or Action
switch# show logging last
number-lines
switch# show logging logfile
[start-time yyyy mmm dd hh:mm:ss]
[end-time yyyy mmm dd hh:mm:ss]
switch# show logging nvram [last
number-lines]
switch# clear logging logfile
switch# clear logging nvram
Cisco Nexus 5000 Series NX-OS System Management Configuration Guide, Release 5.2(1)N1(1)
Verifying the System Message Logging Configuration
Purpose
Displays the last number of lines in the logging file. You
can specify from 1 to 9999 for the last number of lines.
Displays the messages in the log file that have a time
stamp within the span entered. If you do not enter an end
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
of lines to display. You can specify from 1 to 100 for the
last number of lines.
Clears the contents of the log file.
Clears the logged messages in NVRAM.
Purpose
Displays the console logging configuration.
Displays the logging configuration.
Displays the syslog distribution information.
Displays the IP access list cache.
Displays detailed information about the IP access list
cache.
Displays the status of the IP access list cache.
107

Advertisement

Table of Contents
loading

Table of Contents