Configuring System Message Logging To A File - Cisco Nexus 3548 Configuration Manual

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

Advertisement

Configuring System Message Logging
Step 7
Step 8
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:
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:
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
Step 1
Step 2
Command or Action
switch# show logging console
switch# show logging monitor
switch# copy running-config
startup-config
enabled (Severity: error)
enabled (Severity: warning)
Command or Action
switch# configure terminal
switch(config)# logging logfile
logfile-name severity-level [size
bytes]
Cisco Nexus 3548 Switch NX-OS System Management Configuration Guide, Release 6.x
Configuring System Message Logging to a File
Purpose
(Optional)
Displays the console logging configuration.
(Optional)
Displays the monitor logging configuration.
(Optional)
Copies the running configuration to the startup configuration.
Purpose
Enters global configuration mode.
Configures the name of the log file used to store system
messages and the minimum severity level to log. You can
71

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents