PurposeCommand or Action
• 4 – warning
• 5 – notification
• 6 – informational
• 7 – debugging
If the severity level is not specified, the default
of 2 is used.
Disables logging messages to the console.(Optional) switch(config)# no logging console
[severity-level]
Step 4
Enables the switch to log messages to the
monitor based on a specified severity level or
switch(config)# logging monitor
[severity-level]
Step 5
higher (a lower number value indicates a higher
severity level). Severity levels range from 0 to
7:
• 0 – emergency
• 1 – alert
• 2 – critical
• 3 – error
• 4 – warning
• 5 – notification
• 6 – informational
• 7 – debugging
If the severity level is not specified, the default
of 2 is used.
The configuration applies to Telnet and SSH
sessions.
Disables logging messages to Telnet and SSH
sessions.
(Optional) switch(config)# no logging monitor
[severity-level]
Step 6
Displays the console logging configuration.(Optional) switch# show logging console
Step 7
Displays the monitor logging configuration.(Optional) switch# show logging monitor
Step 8
Copies the running configuration to the startup
configuration.
(Optional) switch# copy running-config
startup-config
Step 9
Example
The following example shows how to configure a logging level of 3 for the console:
Cisco Nexus 3548 Switch NX-OS System Management Configuration Guide, Release 7.x
38
Configuring System Message Logging
Configuring System Message Logging to Terminal Sessions