Using NTP to synchronize the date and time of multiple devices makes sense even in a small network. When performing forensic analyses or troubleshooting connection problems, having consistent logging timestamps from multiple devices can save time and simplify the task.
To configure a router to use the NTP server 192.168.1.15, issue these commands from enable mode:
Router# conf t
Router# ntp server 192.168.1.15
Multiple ntp server lines can be used for redundancy. By default, the router will use UTC as the time zone. To set the time zone to PST and add a second ntp server at 172.32.10.55, use these commands instead:
Router# conf t
Router# ntp server 192.168.1.15
Router# ntp server 172.32.10.55
Router# clock timezone PST -8