cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3965
Views
0
Helpful
1
Replies

Router Date & Time

n.khwaja
Level 4
Level 4

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.

1 Accepted Solution

Accepted Solutions

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

View solution in original post

1 Reply 1

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