12-18-2005 12:44 AM - edited 03-03-2019 11:15 AM
Hi,
What is the command to configure date & time (without using NTP) on a Cisco Router? What command(s) to show current date & time?
Thanks
-Tennisman.
Solved! Go to Solution.
12-18-2005 01:12 AM
Hello,
To set the clock without using NTP, use the following command:
Router# clock set 10:20:00 Dec 18 2005
To set your time zone and Daylight Saving Time:
Router(config)# clock timezone CST -6
Router(config)# clock summer-time CDT recurring
To show the current time and date settings, se the command:
Router#show clock
Keep in mind that most Cisco devices don't have an internal clock. When they boot up, they don't know what time it is. Even if you set the time, the router won't retain the information if you turn it off or reload it.
HTH,
GP
12-18-2005 01:12 AM
Hello,
To set the clock without using NTP, use the following command:
Router# clock set 10:20:00 Dec 18 2005
To set your time zone and Daylight Saving Time:
Router(config)# clock timezone CST -6
Router(config)# clock summer-time CDT recurring
To show the current time and date settings, se the command:
Router#show clock
Keep in mind that most Cisco devices don't have an internal clock. When they boot up, they don't know what time it is. Even if you set the time, the router won't retain the information if you turn it off or reload it.
HTH,
GP
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide