Quick Reference Guide

System Logs | 107
Configuring Syslog Server Host Connections
A syslog server can:
Store system messages and/or errors
Store to local files on the switch or a remote server running a syslog daemon
Collect message logs from many systems
The S-Series switch sends System log messages to all enabled syslog servers. You have the following
choices for managing the logging settings:
Configure and enable the connections to up to eight syslog servers for a particular switch.
Limit the amount of data in the log, both by type (such as CLI activity) and severity.
The following commands enable you to manage syslog server settings:
An example of using the
logging host command is shown in Figure 6-74.
An example of using the
show logging host command is shown in Figure 6-75.
Command Syntax Command Mode Purpose
logging host ipaddress [port
[
severitylevel]]
Global Config Configure logging to a syslog server. Up to eight server hosts
can be configured (in separate iterations of the command).
Enter the IP address of the host, followed, optionally, by the
port (514, by default), and then, optionally, by the severity;
the severity levels are the same as for logging console—
emergency (0), alert (1), critical (2), error (3), warning
(4), notice (5), informational (6), debug (7). Enter either
an integer or the associated keyword.
Note: The severity level set here does not change the
severity level of the buffered system log.
You also can use this command to change existing syslog
host settings. See also the logging host reconfigure and
logging host remove commands in the SFTOS Command
Reference for details on changing existing syslog host
settings.
logging facility [facility-type]
Global Config Configure the facility type sent to Syslog servers.
show logging hosts Privileged Exec Display configured syslog servers.
Note: You can also copy logs from NVRAM to a TFTP server. See Downloading and Uploading
Files on page 44 in the Getting Started chapter.