30-13
Catalyst 3560 Switch Software Configuration Guide
OL-8553-06
Chapter 30 Configuring System Message Logging
Displaying the Logging Configuration
To remove a syslog server, use the no logging host global configuration command, and specify the
syslog server IP address. To disable logging to syslog servers, enter the no logging trap global
configuration command.
Tabl e 30-4 lists the UNIX system facilities supported by the software. For more information about these
facilities, consult the operator’s manual for your UNIX operating system.
Displaying the Logging Configuration
To display the logging configuration and the contents of the log buffer, use the show logging privileged
EXEC command. For information about the fields in this display, see the Cisco IOS Configuration
Fundamentals Command Reference, Release 12.2 from the Cisco.com page under Documentation >
Cisco IOS Software > 12.2 Mainline > Command References.
Step 3 logging trap level Limit messages logged to the syslog servers.
Be default, syslog servers receive informational messages and lower. See
Tabl e 30-3 on page 30-9 for level keywords.
Step 4 logging facility facility-type Configure the syslog facility. See Table 30-4 on page 30-13 for
facility-type keywords.
The default is local7.
Step 5 end Return to privileged EXEC mode.
Step 6 show running-config Verify your entries.
Step 7 copy running-config startup-config (Optional) Save your entries in the configuration file.
Command Purpose
Tab l e 30-4 Logging Facility-Type Keywords
Facility Type Keyword Description
auth Authorization system
cron Cron facility
daemon System daemon
kern Kernel
local0-7 Locally defined messages
lpr Line printer system
mail Mail system
news USENET news
sys9-14 System use
syslog System log
user User process
uucp UNIX-to-UNIX copy system