cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2948
Views
5
Helpful
3
Replies

Clock setting via telnet

sthelens5
Level 1
Level 1

When trying to set the clock on routers which are telnetted into, and then using the "clock set ..." command, it does not permanently set the clock. Instead, it displays the clock back to its default year of 1993 and there is a period (.) in front of the timestamp. Could anyone tell me why?

1 Accepted Solution

Accepted Solutions

Richard Burts
Hall of Fame
Hall of Fame

The period in front of the timestamp is an indicator that the router does not have authoritative time.

My suggestion is that instead of telnetting to routers and attempting to set the time manually that you configure the routers to use NTP and to learn time from an NTP server. If you are connected to the internet there are numerous time servers available. If you are not connected to the internet or for reasons of policy do not want to run NTP to an internet time server, then you can configure 1 (or 2 if you want redundancy) of your routers to act as the NTP master and the other devices can learn time from it. That way you have only one router where you may have to manually set the time and keep track of it.

HTH

Rick

HTH

Rick

View solution in original post

3 Replies 3

Richard Burts
Hall of Fame
Hall of Fame

The period in front of the timestamp is an indicator that the router does not have authoritative time.

My suggestion is that instead of telnetting to routers and attempting to set the time manually that you configure the routers to use NTP and to learn time from an NTP server. If you are connected to the internet there are numerous time servers available. If you are not connected to the internet or for reasons of policy do not want to run NTP to an internet time server, then you can configure 1 (or 2 if you want redundancy) of your routers to act as the NTP master and the other devices can learn time from it. That way you have only one router where you may have to manually set the time and keep track of it.

HTH

Rick

HTH

Rick

shijuvjoseph
Level 1
Level 1

hi....

the set time retaining feature of routers are model dependent...some routers have an internal backup while others does not...so when u reboot a router that does not have an internal backup (battery) the stored time gets cleared and displays the default year 1993..for eg router model 3640,1760 series retains the time while a 2610 does not..

so if u need correct time on your routers; NTP configuration is the only alternative...

you can go for a NTP servers in the internet,but thatz definitely a security concern

if budget permits u can opt for a high precision stratum NTP server...

or the cheapest alternative is use one of ur routers (definitely that should be a model which retains the time after a reboot or power down) as the NTP server and configure other routers to learn time from this NTP server router

from this link u will get some info abt NTP config on cisco routers..

http://www.cisco.com/en/US/partner/products/sw/iosswrel/ps1826/products_configuration_guide_chapter09186a00800d9b6a.html

rgds..

Shiju V.Joseph

Automation Experts

btw one little hint:

dont use time-access based lists and a router without

battery backuped rtc ;) it may stop the router for dialing

out (e.g. for isdn backup).

bye,

-- randy

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: