Configure Cisco router to set time from NTP server

Home -> Networking -> Cisco -> Routers

16732 views

From the computer of: qmchenry (338 recipes)
Created: Jun 19, 2006


Add a comment

Add to:
Add to stumbleuponAdd to del.icio.usDigg itAdd to FURL

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 your life. Well, at least help keep your hair attached to your head.

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

Subscribe to the Tech-Recipes Newsletter

You can get tips like this delivered in your email every week!

Enter your Email

We will never, ever sell your email address or spam you.





Related recipes:

  Configure Cisco router as an NTP server
  Configure Cisco router as a basic DHCP server
  Configure Cisco router to send messages to remote syslog server
  Set the time on a Cisco router manually
  Configure a Cisco router to use DNS
  Configure IGRP routing on a Cisco router
  Using reload to safely configure remote Cisco routers
  Configure RIP routing on a Cisco router
  OSPF Authentication on Cisco Routers
  Configuring a Cisco router as a terminal server

 

Sponsored links

 

Login

Nickname

Password

Don't have an account yet? You can create one. As a registered user you have some advantages like theme manager, comments configuration and post comments with your name.