Syslog Commands
logging on
Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x
456
35
User Guidelines
You can specify multiple SYSLOG servers.
Example
switchxxxxxx(config)#
logging host 1.1.1.121
switchxxxxxx(config)#
logging host 3000::100
switchxxxxxx(config)#
logging host SYSLOG1
logging on
To enable logging on the switch, use the logging on Global Configuration mode
command.
To disable logging on the switch, use the no form of this command.
Syntax
logging on
no logging on
Parameters
N/A
Default Configuration
Message logging is enabled.
Command Mode
Global Configuration mode
User Guidelines
This command sends debug or error messages asynchronously to the designated
locations.
The logging process controls the logging message distribution at various
destinations, such as the logging buffer, logging file, or SYSLOG server. Logging on
and off at these destinations can be individually configured using the logging
console, logging buffered, logging file, and logging host
Global Configuration
mode commands.