EasyManua.ls Logo

Cisco Nexus 3548 - Configuring System Message Logging to a File

Cisco Nexus 3548
220 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...
PurposeCommand or Action
(Optional)
Displays the console logging configuration.
switch# show logging console
Step 7
(Optional)
Displays the monitor logging configuration.
switch# show logging monitor
Step 8
(Optional)
Copies the running configuration to the startup configuration.
switch# copy running-config
startup-config
Step 9
The following example shows how to configure a logging level of 3 for the console:
switch# configure terminal
switch(config)# logging console 3
The following example shows how to display the console logging configuration:
switch# show logging console
Logging console: enabled (Severity: error)
The following example shows how to disable logging for the console:
switch# configure terminal
switch(config)# no logging console
The following example shows how to configure a logging level of 4 for the terminal session:
switch# terminal monitor
switch# configure terminal
switch(config)# logging monitor 4
The following example shows how to display the terminal session logging configuration:
switch# show logging monitor
Logging monitor: enabled (Severity: warning)
The following example shows how to disable logging for the terminal session:
switch# configure terminal
switch(config)# no logging monitor
Configuring System Message Logging to a File
You can configure the switch to log system messages to a file. By default, system messages are logged to the
file log:messages.
Procedure
PurposeCommand or Action
Enters global configuration mode.switch# configure terminal
Step 1
Configures the name of the log file used to store system
messages and the minimum severity level to log. You can
switch(config)# logging logfile
logfile-name severity-level [size
bytes]
Step 2
Cisco Nexus 3548 Switch NX-OS System Management Configuration Guide, Release 6.x
71
Configuring System Message Logging
Configuring System Message Logging to a File

Table of Contents

Other manuals for Cisco Nexus 3548

Related product manuals