hit counter script

Cisco Nexus 5600 Series Configuration Manual page 122

Nx-os system management
Hide thumbs Also See for Nexus 5600 Series:
Table of Contents

Advertisement

Configuring System Message Logging to a File
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
Cisco Nexus 5600 Series NX-OS System Management Configuration Guide, Release 7.x
100
Command or Action
switch(config)# no logging logfile
[logfile-name severity-level [size
bytes]]
switch# show logging info
switch# copy running-config
startup-config
Name - my_log: Severity - informational Size - 4194304
Default Severity
----------------
3
3
3
Purpose
optionally specify a maximum file size. The default severity
level is 5 and the file size is 4194304.
Severity levels range from 0 to 7:
• 0 – emergency
• 1 – alert
• 2 – critical
• 3 – error
• 4 – warning
• 5 – notification
• 6 – informational
• 7 – debugging
The file size is from 4096 to 10485760 bytes.
(Optional)
Disables logging to the log file. You can optionally specify a
maximum file size. The default severity level is 5 and the file
size is 4194304.
(Optional)
Displays the logging configuration. You can optionally specify
a maximum file size. The default severity level is 5 and the
file size is 4194304.
(Optional)
Copies the running configuration to the startup configuration.
enabled (Severity: debugging)
enabled (Severity: debugging)
enabled (Severity: notifications)
enabled (Severity: notifications)
Seconds
disabled
enabled
Current Session Severity
------------------------
3
3
Configuring System Message Logging
3
OL-31641-01

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents