Troubleshooting guide
Syslog Servers
Advanced System Diagnostics and Troubleshooting Guide 95
Disabling Logging to Remote Syslog Server Targets
To disable logging to all remote syslog server targets, use this command:
disable syslog
NOTE
This command disables logging to all remote syslog server targets, not to the switch targets. This
setting is saved in FLASH and will be in effect upon boot up.
Adding a Syslog Server
A total of four syslog servers can be configured at one time.
To configure the remote syslog server, use this command:
configure syslog {add} <host name/ip> {: <udp-port>} [local0 ... local7] {<severity>}
where:
NOTE
When a remote syslog server is added, it is associated with the filter DefaultFilter. Use the
configure log target filter
command to associate a different filter.
Deleting a Remote Syslog Server
To delete a remote syslog server target, use this command:
configure syslog delete <host name/ip> {: <udp-port>} [local0 ... local7]
System Impact of the Syslog Server Facility
The syslog server facility has no impact on the performance of the system. All log messages that are
written to the local log of the system are simply copied to the configured syslog server.
host name Specifies the host name of the remote syslog server. This option is valid only when a
domain name server has been configured.
ip Specifies the IP address of the remote syslog server.
udp-port Specifies the UDP port number for the syslog target. If a UDP port number is not
specified, the default port number 514 is used.
local0 ... local7 Specifies the syslog facility level for local use (local0 through local7). This option is
used to group syslog data.
severity Specifies a filter level to be applied to messages sent to the remote syslog server.
Messages having the specified severity level or higher (more critical) are sent to the
remote syslog server. Severity levels are: critical, error, warning, notice, info,
debug-summary, debug-verbose, and debug-data. If no severity level is specified, all
messages are sent to the remote syslog server target.