Configuring NTP in LAN

Answered Question
Jul 15th, 2008

Hi All,

I'm very confused about the NTP configuration.

First of all i just need to update the time & Date on all the switches in my LAN. as i understand is that i will adjust the Time & Date on my core Switch and configure it as a server, then i'll let all the switches in my LAN to adjust it's clock according to the Core Switch.

So lets say that the IP of the Core is 10.0.0.1.

what is the Configuration commands do i have to configure on he Core and the access switches to accomplish this task?

i have checked the following link, but really i didn't understood what i have to do.

http://www.cisco.com/en/US/docs/ios/12_1/configfun/configuration/guide/fcd303.html#wp1001441

Could any one advice please...

thanks in advance guys.

I have this problem too.
0 votes
Correct Answer by jamesl0112 about 8 years 4 months ago

1. I suppose that you would configure the IP address of a public time server on the core switch, and then configure the IP address of the core switch as the ntp server for the clients.

2. I don't think there is a way of configuring ntp broadcast globally (someone else may be able to clarify) but from what I have read it seems that this just broadcasts it to a local subnet anyway. Configuring ntp server on the client switches should work without using this command - I have just tried it with a router and a switch and it worked fine.

3. See 1 and 2 :-)

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 4 (1 ratings)
Loading.
jamesl0112 Tue, 07/15/2008 - 00:15

You should be able to configure an NTP server on the core switch with ntp server x.x.x.x.

You could then broadcast NTP packets with some like:

interface fastethernet0/1

ntp broadcast

m.samouka Tue, 07/15/2008 - 00:39

Hi james, i just need to clear some points...

1- Is the (x.x.x.x) the IP of the Core switch?

or is it a public server??

2- will i configure ntp broadcast on all my up links or there is a way to make it globally?

3- how will i configure the access switches to accept the broadcast and update their clock (or it is automatic)?

Correct Answer
jamesl0112 Tue, 07/15/2008 - 07:27

1. I suppose that you would configure the IP address of a public time server on the core switch, and then configure the IP address of the core switch as the ntp server for the clients.

2. I don't think there is a way of configuring ntp broadcast globally (someone else may be able to clarify) but from what I have read it seems that this just broadcasts it to a local subnet anyway. Configuring ntp server on the client switches should work without using this command - I have just tried it with a router and a switch and it worked fine.

3. See 1 and 2 :-)

Actions

This Discussion