Configuring Module And Facility Messages Logging - Cisco AP775A - Nexus Converged Network Switch 5010 Configuration Manual

Cli software configuration guide
Hide thumbs Also See for AP775A - Nexus Converged Network Switch 5010:
Table of Contents

Advertisement

Configuring System Message Logging
Step 3
Step 4
Step 5
The following example shows how to configure a switch to log system messages to a file:
switch# configure terminal
switch(config)# logging logfile my_log 6 size 4194304
The following example shows how to display the logging configuration (some of the output has been removed
for brevity):
switch# show logging info
Logging console:
Logging monitor:
Logging linecard:
Logging fex:
Logging timestamp:
Logging server:
Logging logfile:
Facility
--------
aaa
aclmgr
afm
altos
auth
authpriv
bootvar
callhome
capability
cdp
cert_enroll
...
Related Topics

Configuring Module and Facility Messages Logging

You can configure the severity level and time-stamp units of messages logged by modules and facilities.
OL-16597-01
Command or Action
switch(config)# no logging logfile
[logfile-name severity-level [size
bytes]]
switch# show logging info
switch# copy running-config
startup-config
enabled (Severity: notifications)
Name - my_log: Severity - informational Size - 4194304
Default Severity
----------------
3
3
3
3
0
3
5
2
2
2
2
Displaying and Clearing Log Files, page 345
Configuring Module and Facility Messages Logging
Purpose
• 4 – warning
• 5 – notification
• 6 – informational
• 7 – debugging
The file size is from 4096 to 10485760 bytes.
(Optional)
Disables logging to the log file.
(Optional)
Displays the logging configuration.
(Optional)
Copies the running configuration to the startup
configuration.
enabled (Severity: debugging)
enabled (Severity: debugging)
enabled (Severity: notifications)
Seconds
disabled
enabled
Current Session Severity
------------------------
3
3
3
3
0
3
5
2
2
2
2
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
339

Advertisement

Table of Contents
loading

Table of Contents