cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
758
Views
0
Helpful
2
Replies

Configuring 2811 to be NTP Client - help

jackremboldt
Level 1
Level 1

I'm trying to configure all my routers to use NTP as a client. My NTP server is a linux server providing time to all my other network devices. Can someone point me in the right direction? I'm sure there is only a few commands I need to add to the config.

2 Replies 2

ahmednaas
Level 4
Level 4

As simple as:

clock timezone GMT-6 (or whatever your TZ is)

ntp server your_Linux_server_ip

to debug: show ntp ?

Danilo Dy
VIP Alumni
VIP Alumni

Here's a sample

! always nice to have a loopback

interface Loopback0

ip address ip_address subnet_mask

! always nice to have an ACL

access-list 1 remark NTP-ACL

access-list 1 permit primary_ntp_server_ip_address

access-list 1 permit secondary_ntp_server_ip_address

!

ntp source loopback0

ntp access group peer 1

ntp server primary_ntp_server_ip_address prefer

ntp server secondary_ntp_server_ip_address

NTP Servers IP Address and Routers Loopback0 IP Address should be able to reach each other and if there is any filtering along their path (i.e. firewall, ACL) please allow TCP and UDP port 123 both ways.

http://www.cisco.com/en/US/tech/tk648/tk362/tk461/tsd_technology_support_sub-protocol_home.html

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:

Innovations in Cisco Full Stack Observability - A new webinar from Cisco