SYSLOG Commands
961
OL-32830-01 Command Line Interface Reference Guide
49
User Guidelines
You can use multiple SYSLOG servers.
Examples
switchxxxxxx(config)#
logging host 1.1.1.121
switchxxxxxx(config)#
logging host
3000::100/SYSLOG1
49.9
logging on
To enable message logging, use the logging on Global Configuration mode
command. This command sends debug or error messages asynchronously to
designated locations. To disable the logging, use the no form of this command.
Syntax
logging on
no logging on
Parameters
This command has no arguments or keywords.
Default Configuration
Message logging is enabled.
Command Mode
Global Configuration mode
User Guidelines
The logging process controls the logging messages 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
clear logging
file
,
logging console
, and
aaa logging
Global Configuration mode commands.
However, if the
aaa logging
command is disabled, no messages are sent to these
destinations. Only the console receives messages.
Содержание 300 Series
Страница 2: ......