Cisco – NTP – Norway
Quick reminder to myself how to configure NTP on Cisco devices for Norwegian time.
(All done under config terminal) 🙂
ntp source vlan 1 // Setting source interface for ntp queries
ntp server 22.214.171.124 // Setting ntp server (this is ntp.uio.no)
// Norwegian CET and Summertime config
clock timezone CET 1 0
clock summer-time CEST recurring last Sun Mar 2:00 last Sun Oct 3:00
// Use localtime for timestamp in log
service timestamps log datetime localtime
For troubleshooting, #debug ntp packet can be very helpful. I had problems with switch using wrong ip when connecting to the ntp server. That’s why I had to include the ntp source cmd.