Configure a Cisco Catalyst 2960 switch to send syslog messages — Legacy
To receive messages from a syslog-capable device, configure the device to send syslog messages to the designated port on the computer where legacy Kiwi Syslog Server (KSS) is installed. KSS automatically listens for UDP messages on port 514.
You can also enable legacy KSS to listen for TCP messages, secure TCP messages, and configure SNMP traps.
The following example shows how to configure a Cisco Catalyst 2960 switch. To configure other types of devices, see the device manufacturer's instructions.
Message logging must be enabled on the device. On many devices that generate syslog messages, logging is enabled by default.
- On the Cisco Catalyst 2960 switch, open the Cisco command-line interface and begin a session.
- Verify that you are in privileged EXEC mode on the switch. To enter
Privileged EXECmode, type the command:enable -
Switch to global configuration mode. Type the command:
configure terminal -
Verify that logging is enabled. If logging has been disabled, type the command:
logging enable -
Configure the switch to send log messages to legacy KSS. Type the command:
logging hostwhere host is the name or IP address of the device where legacy KSS is installed.
-
Limit the messages sent based on priority level. Type the command:
logging trap levelwhere level is one of the following, listed in descending order of priority:
- emergencies
- alerts
- critical
- errors
- warnings
- notifications
- informational (default level)
- debugging
The device sends messages with the specified priority level and above. For example, the level
criticalsends messages with priority levels of critical, alerts, and emergencies. -
Return to privileged EXEC mode. Type the command:
end
Syslog messages from this device are shown on the legacy Kiwi Syslog Service Manager console and processed according to the rules that you define. If the console does not show messages from this or other devices, troubleshoot legacy Kiwi Syslog Server.