Configure Cisco router to set time from NTP server

Contributor Icon Contributed by qmchenry  
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

 

2 Comments -


  1. raed said on February 2, 2009

    i need to change date format to
    DD/MM/YY
    cisco router 2800

  2. Ccie said on March 16, 2011

    clock set HH:MM:SS Month Date Year

 

RSS feed for comments on this post. TrackBack URL

Leave a comment -