You are on page 1of 1

ITEC N492: Advanced Switching SYSLOG In this lab we are going to enable logging to a syslog server.

Open Packet Tracer and set up the following lab:

Configure the router with the IP address shown. What IP did you configure? _________________________________________ Configure the server with the IP address shown. What IP did you configure? _________________________________________ Click on the server and then click on the config tab. Then click on SYSLOG and make sure it is on. Close this window. Set the clock on R1 to the correct time: Type: Type: Router#sh clock - This checks the current time. What is the time? __________________________ Router#clock set 05:05:06 11 march 2012. Make sure you choose the correct time.

Type: Router(config)#service timestamps log datetime msec. This ensures log messages are recorded with a time date. On R1 type:

Router(config)#logging trap debugging Router(config)#logging host 192.168.1.10 The above commands logs all debug messages to the server at IP address 192.168.1.10. Click on the server and then click on the config tab. Then click on SYSLOG and make sure it is on and leave this window open Create a loopback interface with an ip address of 192.168.2.1 255.255.255.0. Now check the SYSLOG server. Is the message logged? What is the severity level? ___________________________________ What is the date and time of the message? _________________________________

Mohamed Ali Kazi

SWC

You might also like