Lab 08 : Syslog Server for Cisco Router in GNS3

  • Monitoring the status of a device is really helpful, especially in troubleshooting the devices.

  • Almost all the networking devices such as PCs, Servers, Switches, and Routers, have their own method to provide log information about the usage of devices.

  • Administrators use these logs to find the solutions to troubleshoot the issues caused by these devices.

  • However, collecting and monitoring logs on each and every device might be a difficult job on a network that have 100 of devices. To overcome this problem, you can use Syslog Server to collect all the logs in a central location and then you can use these logs for the troubleshooting devices.

Physical Topology

  • We will use the following topology to configure logging in Cisco IOS using GNS3. Router R1 is connected to the local system using a Loopback interface.

Prerequisites

  • Install a Loopback adapter on your local system.

  • Configure 192.168.10.100/24 IP address on the Loopback adapter.

  • Download Kiwi Syslog Server tool (free edition).

Kiwi Syslog Server

  • Install Kiwi Syslog Server tool on your local system.

  • Once the installation of Kiwi Syslog Server is finished , next, you need to define the IP addresses from which you want to receive the logs. To do so, in the Kiwi Syslog Server console, click File and select Setup.

  • In the settings options, select Inputs, type 192.168.10.1 in the IP address box, click Add, and then click OK. The following figure shows the settings options for Kiwi Syslog Server.

  • Now, your Syslog Server is ready to receive the logs. However, you may also need to disable the firewall.

Configure Syslog Server in Cisco IOS

  • Open the console of R1 and execute the following commands to configure IP address on R1.

R1(config)#interface fa0/0
R1(config)-if#ip add 192.168.1.1 255.255.255.0
R1(config-if)#no shutdown
  • Next, use the logging host <syslog server IP address> command to specify the syslog server address.

R1(config)#logging host 192.168.10.100
  • Next, make a loopback interface and shut it down and again no shut.

R1(config)#int loopback 0
R1(config-if)#shut
R1(config-if)#no shut
  • Next, move on to Kiwi Syslog Server console, and examine the output.

Last updated