We help IT Professionals succeed at work.

Cisco Router Time Source

Inserachof
Inserachof asked
on
how do I configure my cisco router to have a time source

config t example please

just did a show clock and it is off and shows No Time Source

Comment
Watch Question

Top Expert 2010

Commented:
<pre>
Router# configure terminal
Router(config)# ntp server <IP address of NTP Server>


http://support.ntp.org/bin/view/Servers/NTPPoolServers


edge01.lax01(config)#ntp server pool.ntp.org

Billy

Author

Commented:
Billy

Thanks

I tried this and this is what I got

MyRouter#config t
Enter configuration commands, one per line.  End with CNTL/Z.
MyRouter(config)#ntp server pool.ntp.org
Translating "pool.ntp.org"
                            ^
% Invalid input detected at '^' marker.

MyRouter(config)#

i do not follow your edge01.lax01(config)#ntp server pool.ntp.org

is that your cisco

what would be a good ip address to enter I went to the link above and they only show url names cant find ip address of time servers


Tom

Top Expert 2010

Commented:
please output:

show version

-----------
evilbit@evilbit01 ~ $ nslookup pool.ntp.org
Server:            216.87.64.2
Address:      216.87.64.2#53

Non-authoritative answer:
Name:      pool.ntp.org
Address: 216.45.57.38
Name:      pool.ntp.org
Address: 72.167.42.82
Name:      pool.ntp.org
Address: 72.14.191.48
-----------------------------------------

Thanks
Billy
Top Expert 2010
Commented:
I think I see your issue, you need nameservers:

edge01.lax01(config)#ip domain-lookup
edge01.lax01(config)#ip name-server 4.2.2.2
edge01.lax01(config)#ntp server pool.ntp.org
Translating "pool.ntp.org"...domain server (4.2.2.2) [OK]
edge01.lax01(config)#

give that a shot

Author

Commented:
thanks

that worked

now my clock has correct day

only thing i have to figure out is why it is one hour off

I am in the EST time zone  my pc clock is 14:40

router clock is 13:40

Is it a DST  issue


here is my version

MyRouter#show version
Cisco IOS Software, C850 Software (C850-ADVSECURITYK9-M), Version 12.4(4)T7, REL
EASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2006 by Cisco Systems, Inc.
Compiled Wed 29-Nov-06 00:37 by kellythw

ROM: System Bootstrap, Version 12.3(8r)YI3, RELEASE SOFTWARE

MyRouter uptime is 1 week, 1 day, 23 hours, 32 minutes
System returned to ROM by power-on
System image file is "flash:c850-advsecurityk9-mz.124-4.T7.bin"


This product contains cryptographic features and is subject to United
States and local country laws governing import, export, transfer and
use. Delivery of Cisco cryptographic products does not imply
third-party authority to import, export, distribute or use encryption.
Importers, exporters, distributors and users are responsible for
compliance with U.S. and local country laws. By using this product you
agree to comply with applicable laws and regulations. If you are unable
to comply with U.S. and local laws, return this product immediately.

A summary of U.S. laws governing Cisco cryptographic products may be found at:
http://www.cisco.com/wwl/export/crypto/tool/stqrg.html

If you require further assistance please contact us by sending email to
export@cisco.com.

Cisco 851W (MPC8272) processor (revision 0x200) with 59392K/6144K bytes of memor
y.
Processor board ID FHK1114147N
MPC8272 CPU Rev: Part Number 0xC, Mask Number 0x10
5 FastEthernet interfaces
1 802.11 Radio
128K bytes of non-volatile configuration memory.
20480K bytes of processor board System flash (Intel Strataflash)

Configuration register is 0x2102

MyRouter#
Top Expert 2010

Commented:
conf t
clock timezone EST -5
clock summer-time EDT recurring
exit
wr mem

Billy

Author

Commented:
i got it along with the command I had to do

config t#clock timezone EST -05

config t#clock summer-time EDt recurring


Thanks
Top Expert 2010

Commented:
glad to hear that you got it working

Billy