Management and Configuration Guide K/KA/KB.15.15

Example
Syslog server at 192.168.1.3 is using TCP at port 1470 (the default):
(config)# logging 192.168.1.3 tcp
Example
Syslog server at 192.168.1.4 is using TCP at port 9514:
(config)# logging 192.168.1.4 tcp 9514
Example
Syslog server at 192.168.1.5 is using TLS at port 6514 (the default):
(config)# logging 192.168.1.5 tls
Example
Syslog server at 192.168.1.6 is using TCP at port 10000:
(config)# logging 192.168.1.6 tls 10000
Adds an IP address to the list of receiving syslog servers. The use of no without an
IP address specified will remove all IP addresses from the list of syslog receivers. If
an IP address is specified, that receiver will be removed. Both link-local with zone
ID and global IPv6 addresses are supported.
Specify syslog server facility with <facility>. The command [no] logging
facility <facility> sets facility back to defaults.
Specify filtering rules.
Specify severity for event messages to be filtered to the syslog server with
<severity>. The command [no] logging severity <severity> sets
severity back to default.
Event messages of specified system module will be sent to the syslog server.
A [no] parameter sends messages from all system modules. Messages are first
filtered by selected severity.
Specify syslog server transport layer with [udp]|[tcp]|[tls].
Specify syslog server port number with [udp PORT-NUM]|[tcp PORT-NUM]
| [tls PORT-NUM].
Specify notification types to be sent to the syslog server(s). Use
'transmission-interval' to control the egress rate limit for transmitting notifications,
'0' value means there is no rate limit. The values are in seconds. Only one
syslog message is allowed for transmission within specified time interval.
Specify origin information with [orgin-id].
Debug/syslog destination devices
To use debug/syslog messaging, you must configure an external device as the logging destination
by using the logging and debug destination commands.
A debug/syslog destination device can be a syslog server and/or a console session. You can
configure debug and logging messages to be sent to:
Up to six syslog servers
A CLI session through a direct RS-232 console connection, or a Telnet or SSH session
400 Troubleshooting