show-timezone Add time zone information to timestamp year Include year in timestamp Router(config)#service timestamps debug datetime msec localtime show-timezone ?
In a network, if all the devices are not connected to internet directly, we can configure a Router (which is connected to internet) to synchronize its time from Public NTP Time Servers and remaining devices to syncronize from the first Router.
I’m from Norway, hence the following example is valid for Norway.
Enabling name resolution and configuring the Cisco Router / Switch with an IP address of a DNS Server is important, because we need to resolve the FQDN of NTP Server / Server Pool to an IP address.
You can configure the IP Address of the NTP Server / Server Pool also.
The Summer Time ends at the last Sunday in October, where we turn our clocks one hour backwards, from to , hence making our new time zone CET.
Having this clarified, we can now configure it; Router(config)#clock summer-time ?
MONTH Month to end Router(config)#clock summer-time CEST recurring last Sun Mar last Sun Oct ?
hh:mm Time to end (hh:mm) Router(config)#clock summer-time CEST recurring last Sun Mar last Sun Oct Router(config)#service timestamps debug datetime ?Using a pool as NTP Server is the better option, becuase pool is a cluster of NTP Time Servers.If one NTP server is failed, other server is available to provide time.Tired of having a Cisco-device that always ends up with a wrong clock? The first thing you’ll need, is a proper NTP-server. Now your Cisco-device will stay in sync (it might need some time to get in a «accurate» state, as it has to learn how it’s internal clock varies compared to the external server). We can, of course, check it’s NTP-sync-status; Router#sh ntp status Clock is synchronized, stratum 3, reference is 1.134 nominal freq is 250.0000 Hz, actual freq is 249.9955 Hz, precision is 2**32 reference time is D06AC4AA.47CC6D7C (.280 CEST Thu Oct 21 2010) clock offset is -0.0002 msec, root delay is 0.02 msec root dispersion is 0.09 msec, peer dispersion is 0.01 msec loopfilter state is 'CTRL' (Normal Controlled Loop), drift is 0.000017902 s/s system poll interval is 1024, last update was 1886 sec ago.You can either set up one locally (which syncs from a hardware-device — like a GPS — or from an external server), or you can choose one of the public available NTP-servers. Where the name of the time zone is basically whatever you’d like to call the time zone.We have three routers; Omni Secu R1, Omni Secu R2 and Omni Secu R3.