Configure Cisco router to set time from NTP server

Contributor Icon Contributed by qmchenry Date Icon June 19, 2006  
Tag Icon Tagged: Cisco router

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

Previous recipe | Next recipe |
 
  • raed
    i need to change date format to
    DD/MM/YY
    cisco router 2800
blog comments powered by Disqus