HomeCisco networkingCisco routerSet the Time on a Cisco Router Manually

Set the Time on a Cisco Router Manually

Setting the internal clock in a Cisco router allows timestamping of logging information which makes troubleshooting much easier. If you do not have an NTP server running, you can set the time manually with a simple command.


To set the time, use this command in enable mode (not configuration mode):

Router# clock set 22:55:05 June 19 2006

The time is in 24-hour mode. To see the information about the clock settings, use the following:

Router# show clock detail
22:56:07.136 PDT Mon Jun 19 2006
Time source is user configuration

This will show the current date and time and the source of the time configuration (in this case showing that the time was manually set).

Quinn McHenry
Quinn McHenry
Quinn was one of the original co-founders of Tech-Recipes. He is currently crafting iOS applications as a senior developer at Small Planet Digital in Brooklyn, New York.
RELATED ARTICLES

4 COMMENTS

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -

Most Popular

Recent Comments

Cleveland Furia on How to Clear Google Activity
Sid Wohlfarth on How to Clear Google Activity
Riley Magsayo on How to Clear Google Activity
สมัครรับเครดิตฟรี ทันที on How to improve Remote Desktop Protocol Performance
Neal Wangstad on How to Clear Google Activity
Slavcho Andov on How to install Ubuntu
Slavcho Andov on How to fix bad sectors
Sheraz Ali on How to Backup Android