Setup NTP on Cisco Routers
How to setup NTP on Cisco Routers and check it is working.
In this How To, I will take you through the basic steps required to setup NTP on a Cisco Router. I will also show you the commands to use to make sure that it NTP is working and explain quickly what each step is doing.
-
First up, telnet to your router
- >telnet <routerIP/hostname>
- :<password>
- >show clock
- >enable
- :<password>
- #configure terminal
- #(conf)ntp server <ip address/hostname>
(repeat this step for all NTP servers you want)
Enter the interface you want to use to access the NTP server[s] - #(conf)ntp source <Interface>
- #(conf)exit
- #clock set clock set hh:mm:ss <month> <1-31> <yyyy>
- #show ntp associations
- #copy running-config startup-config
- #exit