Logging System Messages To A File - Cisco Nexus 7000 Series Configuration Manual

Hide thumbs Also See for Nexus 7000 Series:
Table of Contents

Advertisement

Logging System Messages to a File

Step 6
Step 7
Step 8
Logging System Messages to a File
You can configure the device to log system messages to a file. By default, system messages are logged to the
file log:messages.
Procedure
Step 1
Step 2
Cisco Nexus 7000 Series NX-OS System Management Configuration Guide
96
Command or Action
show logging monitor
Example:
switch(config)# show logging
monitor
[no] logging message interface type
ethernet description
Example:
switch(config)# logging message
interface type ethernet
description
copy running-config startup-config
Example:
switch(config)# copy
running-config startup-config
Command or Action
configure terminal
Example:
switch# configure terminal
switch(config)#
[no] logging logfile logfile-name
severity-level [size bytes]
Example:
switch(config)# logging logfile
my_log 6
Configuring System Message Logging
Purpose
(Optional)
Displays the monitor logging configuration.
Enables you to add the description for physical Ethernet
interfaces and subinterfaces in the system message log. The
description is the same description that was configured on
the interface.
The no option disables the printing of the interface
description in the system message log for physical Ethernet
interfaces.
(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. A lower
number indicates a higher severity level. Severity levels
range from 0 to 7:
• 0 – emergency
• 1 – alert
• 2 – critical
• 3 – error
• 4 – warning

Advertisement

Table of Contents
loading

Table of Contents