Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
New Member

layer 3 switches and NTP

Hi There;

Can I use the same layer three switch to act as both a slave to 'get' NTP time from a NTP source and then as a 'master server' to distribute the time it has received from the NTP source to other devices on the network?

Regards

1 ACCEPTED SOLUTION

Accepted Solutions

Re: layer 3 switches and NTP

Yes it is possible. Have Peer Association of L3 switch with NTP Server & server association of same L3 switch with other network devices ( clients )...

ntp peer ip-address

[normal-sync] [version number]

[key key-id] [source interface]

[prefer]

Forms a peer association

with another system

ntp server ip-address [version

number] [key key-id] [source

interface] [prefer]

Forms a server

association with another

system

----------------------------------------

NTP Global Configuration Commands

!--- For the client:

clock timezone EST -5 ????

ntp source loopback 0 ?????

ntp server ip_address key 1

ntp peer ip_address

!--- This is for a peer association.

ntp authenticate

ntp authentication-key 1 md5 xxxx

ntp trusted-key 1

!--- For the server:

clock timezone EST -5

clock summer-time EDT recurring 1 Sun Apr 3:00 last Sun Oct 3:00

clock calendar-valid

ntp source loopback0

ntp update-calendar

!--- This is optional:

interface vlan_id ntp broadcast

!--- This sends NTP broadcast packets.

ntp broadcast client

!--- This receives NTP broadcast packets.

ntp authenticate

ntp authentication-key 1 md5 xxxxx

ntp trusted-key 1

ntp access-group access-list

!--- This provides further security, if needed.

------------------------------------

HTH...

2 REPLIES

Re: layer 3 switches and NTP

Yes it is possible. Have Peer Association of L3 switch with NTP Server & server association of same L3 switch with other network devices ( clients )...

ntp peer ip-address

[normal-sync] [version number]

[key key-id] [source interface]

[prefer]

Forms a peer association

with another system

ntp server ip-address [version

number] [key key-id] [source

interface] [prefer]

Forms a server

association with another

system

----------------------------------------

NTP Global Configuration Commands

!--- For the client:

clock timezone EST -5 ????

ntp source loopback 0 ?????

ntp server ip_address key 1

ntp peer ip_address

!--- This is for a peer association.

ntp authenticate

ntp authentication-key 1 md5 xxxx

ntp trusted-key 1

!--- For the server:

clock timezone EST -5

clock summer-time EDT recurring 1 Sun Apr 3:00 last Sun Oct 3:00

clock calendar-valid

ntp source loopback0

ntp update-calendar

!--- This is optional:

interface vlan_id ntp broadcast

!--- This sends NTP broadcast packets.

ntp broadcast client

!--- This receives NTP broadcast packets.

ntp authenticate

ntp authentication-key 1 md5 xxxxx

ntp trusted-key 1

ntp access-group access-list

!--- This provides further security, if needed.

------------------------------------

HTH...

New Member

Re: layer 3 switches and NTP

Ta

886
Views
0
Helpful
2
Replies
CreatePlease to create content