Configure a Cisco Catalyst 2960 switch to send syslog messages to Kiwi Syslog Server
To receive messages from a syslog-capable device, configure the device to send syslog messages to the designated port on the computer where Kiwi Syslog Server is installed. Kiwi Syslog Server automatically listens for UPD messages on port 514.
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:
Switch to global configuration mode. Type the command:
Verify that logging is enabled. If logging has been disabled, type the command:
Configure the switch to send log messages to Kiwi Syslog Server. Type the command:
where host is the name or IP address of the device where Kiwi Syslog Server is installed.
Limit the messages sent based on priority level. Type the command:
logging trap level
where level is one of the following, listed in descending order of priority:
- informational (default level)
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:
Syslog messages from this device are shown on the 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 Kiwi Syslog Server.