1 00:00:06,830 --> 00:00:14,240 In this packet tracer lab, you need to configure both syslog and NTP or network time protocol. 2 00:00:14,930 --> 00:00:22,700 This lab consists of a Cisco router and a Cisco switch, as well as a syslog server, NTP server 3 00:00:23,030 --> 00:00:33,680 and PC. Syslog allows us to centralize log messages, as well as store a historical backup of various 4 00:00:33,770 --> 00:00:41,000 log messages, rather than just logging messages to the console of a router or switch or logging it 5 00:00:41,360 --> 00:00:42,870 to a limited buffer 6 00:00:43,280 --> 00:00:47,000 we can centralize log messages on a syslog server. 7 00:00:47,600 --> 00:00:55,220 Hard drive capacities in servers are much greater than the memory or flash available in routers and 8 00:00:55,220 --> 00:01:02,180 switches so we can collate, centralize and store log messages on a syslog server. 9 00:01:02,840 --> 00:01:05,090 So that's what you're going to configure in this lab. 10 00:01:05,570 --> 00:01:12,440 You're also going to make sure that your log messages have the correct time by setting up an NTP server. 11 00:01:12,950 --> 00:01:13,400 Network 12 00:01:13,400 --> 00:01:20,120 time protocol allows us to ensure that the devices throughout our network have the correct time, which 13 00:01:20,120 --> 00:01:22,490 is important when you're logging messages. 14 00:01:23,150 --> 00:01:28,580 If you have a log message that says that an interface went down, that it doesn't really help you if 15 00:01:28,580 --> 00:01:31,280 you don't know when that event occurred. 16 00:01:31,820 --> 00:01:33,290 Did it happen yesterday? 17 00:01:33,290 --> 00:01:34,700 Did it happen a year ago? 18 00:01:35,120 --> 00:01:36,710 Did it happen five years ago? 19 00:01:37,040 --> 00:01:43,130 It's important that you have timestamps on your log messages, and that's why you need to configure 20 00:01:43,130 --> 00:01:46,750 a network time protocol server or NTP server. 21 00:01:47,420 --> 00:01:54,260 What you need to firstly do is configure the syslog server to accept syslog messages and then configure 22 00:01:54,260 --> 00:02:01,820 router 1 and switch 1 to log messages to the syslog server to test this, create a loopback interface on 23 00:02:01,820 --> 00:02:06,680 router 1 and verify that syslog messages are displayed on the syslog server. 24 00:02:07,250 --> 00:02:13,730 Do various tests, such as shutting down the loopback interface on the router and then re enabling 25 00:02:13,730 --> 00:02:19,580 the loopback interface and make sure that the syslog messages are displayed on the syslog 26 00:02:19,590 --> 00:02:28,220 server. Shut this interface on the switch and then re-enable it and once again verify that the 27 00:02:28,220 --> 00:02:31,850 syslog messages are shown on the syslog server. 28 00:02:32,690 --> 00:02:36,000 Setting up a syslog server is very easy in packet tracer 29 00:02:36,000 --> 00:02:43,460 select users log server, go to services syslog and enable the syslog server. 30 00:02:44,480 --> 00:02:50,480 Once you've configured your syslog server, you need to configure the NTP server. So ensure that 31 00:02:50,480 --> 00:02:55,160 NTP is enabled on your server, go to services 32 00:02:56,120 --> 00:03:00,260 NTP and enable the NTP service. 33 00:03:02,180 --> 00:03:11,090 Before you configure your devices to get time from the NTP server, check what the time is on your 34 00:03:11,090 --> 00:03:13,610 devices. As an example 35 00:03:15,870 --> 00:03:25,000 on the router show clock shows us that this router believes that it's the 1st of March, 1993. 36 00:03:25,710 --> 00:03:27,170 That's obviously incorrect. 37 00:03:28,400 --> 00:03:38,750 Also, configure router 1 and switch 1 to set timestamps in the syslog messages sent to the syslog server and then 38 00:03:38,750 --> 00:03:43,530 configure router 1 and switch 1 to get to that time from the NTP server. 39 00:03:44,210 --> 00:03:50,390 Once you've done that, verify that the clocks are properly set and then shut down the loopback interface 40 00:03:50,390 --> 00:03:58,250 and re-enable it on router 1 and verify that your syslog server is receiving the syslog messages 41 00:03:58,610 --> 00:04:06,260 but in addition verify that the timestamps on the syslog messages are set to correctly do the 42 00:04:06,260 --> 00:04:08,420 same on the switch, shutdown 43 00:04:08,420 --> 00:04:16,079 and no shut the interface and verify that the syslog messages have the correct timestamp applied. 44 00:04:16,940 --> 00:04:26,660 It's important for you to know both syslog and NTP for the CCNA exam, as well as for the real world. 45 00:04:27,020 --> 00:04:34,790 So make sure that you know how to configure both syslog and NTP by downloading the packet tracer 46 00:04:34,790 --> 00:04:38,290 file and configuring this network. 47 00:04:39,110 --> 00:04:45,980 So can you complete this lab? Download the packet tracer file and see if you can complete the lab 48 00:04:45,980 --> 00:04:46,610 yourself. 49 00:04:47,090 --> 00:04:50,480 Otherwise, watch the next video where I complete the lab.