NTP configuration

Unanswered Question
Oct 28th, 2008
User Badges:

hi,

On my network i have one 3750-E and rest of the switches are 2960. I want ntp to be configured on 3750-E, but i have come to know that 3750-E cannot be a ntp master. how can i configure NTP on my domain.

Thanks

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
Jon Marshall Tue, 10/28/2008 - 07:30
User Badges:
  • Super Blue, 32500 points or more
  • Hall of Fame,

    Founding Member

  • Cisco Designated VIP,

    2017 LAN, WAN

Your switch cannot be an NTP master however this does not stop your 2960 switches getting their time from the 3750-E switch. All it means is that your 3750-E must get it's time from an external source.


However you can still configure all your 2960 switches to get their time from the 3750-E.


Cisco recommend using an external Internet time server to get the time.


Jon

itdsmartnet Tue, 10/28/2008 - 22:03
User Badges:

please help me , how can i configure my 2960 switches to get their time from 3750-E. and how 3750-E gets its time from external source.


Thanks

itdsmartnet Tue, 10/28/2008 - 22:38
User Badges:

Thanks for your reply, i am not sure how to configure. Can you provide me step by step configuration.

Thanks

itdsmartnet Wed, 10/29/2008 - 02:37
User Badges:

hi,

any help regarding setup NTP. please help me to setup NTP on 3750E and 2960 .

Thanks

francisco_1 Wed, 10/29/2008 - 02:47
User Badges:
  • Gold, 750 points or more

Example below

Configure Switch1 as NTP server and switch2 as client, you must configure switch1 as a both a client and a master. First, use the ntp server command to point to the NTP server. you can also configure the router as an NTP master. To accomplish this, use the ntp master command if avaliable in your ios. Setup the timezone and configure switch2 as client.




NTP server

switch1(config)int eth0/1

switch1(config-if)ip address 192.168.2.1 255.255.255.0

switch1(config)#clock timezone GMT 0

switch1(config)#ntp server 206.191.241.45 version 2 (Maybe something external on the web, a reliable ntp server)

switch1(config)#ntp master (Not sure if supported on your switch. if not leave out)



switch2

Client

switch2(config)#ntp server 192.168.2.1


use "sh ntp associations detail" to verify your config is working...


Francisco



itdsmartnet Wed, 10/29/2008 - 03:48
User Badges:

hi,

All my switches operate in Layer 2. then how i configure it on layer 2.

Thanks

francisco_1 Wed, 10/29/2008 - 06:23
User Badges:
  • Gold, 750 points or more

not sure how your network if setup if you have a dedicated switch doing inter-vlan routing between your access layers but need to have ip reachability from your acess layer to the NTP server.


how do you manage your access layer switches? dont you have a SVI for your management vlan on the access switches for managment.


for example if vlan 1 is your managment vlan, make sure each access layer switch have SVI for vlan 1


for example

access swith 1

"int vlan 1"

ip address 192.168.1.1

ip default-gateway 192.168.1.254


Core switch

int vlan 1

ip address 192.168.1.254


make sure vlan 1 is allow on our trunk between the access and core for ip reachability.

itdsmartnet Thu, 10/30/2008 - 01:10
User Badges:

Thanks for your reply. Actually for now i only have one vlan through out my network, on access switches and on core switch i have configured SVI interface. but why should i give "ip default-gateway " command.

itdsmartnet Thu, 10/30/2008 - 03:05
User Badges:

hi,

The question here is that how my core will get the time from any of the NTP server on the internet. Core is at layer 2.

Thanks

francisco_1 Thu, 10/30/2008 - 04:37
User Badges:
  • Gold, 750 points or more

waseen,



the concept of having a core layer is to route traffic as fast as it can via layer 3 routing. if your core switche have ip reachabilty to the internet via your firewall then that should not be a problem.


perhaps you should upload a network diagram inclduing your switches config so we can better assist you.



Francisco.

Actions

This Discussion