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

Nx-os system management configuration guide, release 6.x
Hide thumbs Also See for Nexus 9000 Series:
Table of Contents

Advertisement

Configuring System Message Logging
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.
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
Cisco Nexus 9000 Series NX-OS System Management Configuration Guide, Release 6.x
Logging System Messages to a File
Purpose
• 1 – alert
• 2 – critical
• 3 – error
• 4 – warning
• 5 – notification
• 6 – informational
• 7 – debugging
The configuration applies to Telnet and SSH sessions.
If the severity level is not specified, the default of 2 is used.
The no option disables the device's ability to log messages
to the Telnet and SSH sessions.
(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.
35

Advertisement

Table of Contents
loading

Table of Contents