Purpose
Command or Action
Returns to privileged EXEC mode.
end
Example:
Step 4
Device(config)#
end
Disabling Message Logging
Message logging is enabled by default. It must be enabled to send messages to any destination other than the
console. When enabled, log messages are sent to a logging process, which logs messages to designated locations
asynchronously to the processes that generated the messages.
Disabling the logging process can slow down the switch because a process must wait until the messages are
written to the console before continuing. When the logging process is disabled, messages appear on the console
as soon as they are produced, often appearing in the middle of command output.
The
logging synchronous
global configuration command also affects the display of messages to the console.
When this command is enabled, messages appear only after you press
Return
.
To reenable message logging after it has been disabled, use the
logging on
global configuration command.
This task is optional.
SUMMARY STEPS
1.
configure terminal
2.
no logging console
3.
end
DETAILED STEPS
Purpose
Command or Action
Enters global configuration mode.
configure terminal
Example:
Step 1
Device#
configure terminal
Disables message logging.
no logging console
Example:
Step 2
Device(config)#
no logging console
Returns to privileged EXEC mode.
end
Example:
Step 3
Device(config)#
end
System Management Configuration Guide, Cisco IOS XE Gibraltar 16.10.x (Catalyst 9200 Switches)
125
Configuring System Message Logs
Disabling Message Logging