Verifying System Message Logging Configuration; System Message Logging Example Configuration - Cisco N5010P-N2K-BE Software Configuration Manual

Nx-os software configuration guide
Table of Contents

Advertisement

Chapter 25
Configuring System Message Logging
S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m

Verifying 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 last number-lines
show logging level [facility]
show logging logfile [start-time yyyy mmm dd
hh:mm:ss] [end-time yyyy mmm dd hh:mm:ss]
show logging module
show logging monitor
show logging nvram [last number-lines]
show logging pending
show logging pending-diff
show logging server
show logging session
show logging status
show logging timestamp

System Message Logging Example Configuration

The following example shows how to configure system message logging:
configure terminal
logging console 3
logging monitor 3
logging logfile my_log 6
logging module 3
logging level aaa 2
logging timestamp milliseconds
logging distribute
logging server 172.28.254.253
logging server 172.28.254.254 5 local3
logging commit
copy running-config startup-config
OL-16597-01
Verifying System Message Logging Configuration
Purpose
Displays the console logging configuration.
Displays the logging configuration.
Displays the syslog distribution information.
Displays the last number of lines of the log file.
Displays the facility logging severity level
configuration.
Displays the messages in the log file.
Displays the module logging configuration.
Displays the monitor logging configuration.
Displays the messages in the NVRAM log.
Displays the syslog server pending distribution
configuration.
Displays the syslog server pending distribution
configuration differences.
Displays the syslog server configuration.
Displays the logging session status.
Displays the logging status.
Displays the logging time-stamp units configuration.
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
25-9

Advertisement

Table of Contents
loading

This manual is also suitable for:

Nexus 5000 series

Table of Contents