03-10-2022 08:38 PM - edited 03-10-2022 09:17 PM
Hi,
NTP server 10.1.1.2 / 10.1.2.2 The client switch has the below configuration. But after adding ntp access-group server-only NTP, the switch become unsynch. Any suggestion? Thanks
Ntp server 10.1.1.2
Ntp server 10.1.2.2 pref
ntp access-group serve-only NTP
ip access-list extended NTP
permit ip host 10.1.1.2 any
permit ip any host 10.1.1.2
permit ip host 10.1.2.2 any
permit ip any host 10.1.2.2
Solved! Go to Solution.
03-10-2022 10:30 PM
Hi,
The serve-only keyword means you want "these" clients to get time from your switch. This is not what you want. You want your switch to get time from 10.1.1.2 and 10.1.2.2. You need to user the peer keyword instead of serve-only. Also we normally use a standard access-list for NTP.
Your configuration should be as follows:
Thanks
John
03-10-2022 11:12 PM
not sure what is your goal mentioned in the config :
as i understand the NTP Server running on the Device, you like to restrict only device to allow to use NTP Server then below example should work for you :
ntp access-group peer NTP
or below make it simple :
ntp access-group peer 20
Access-list 20 permit x.x.x.x (these are client device IP)
access-list 20 permit x.x.x.x
access-list 20 deny any log
03-10-2022 10:30 PM
Hi,
The serve-only keyword means you want "these" clients to get time from your switch. This is not what you want. You want your switch to get time from 10.1.1.2 and 10.1.2.2. You need to user the peer keyword instead of serve-only. Also we normally use a standard access-list for NTP.
Your configuration should be as follows:
Thanks
John
03-13-2022 03:31 PM
Thank you. is there any difference between standard acl and extended in this case?
03-10-2022 11:12 PM
not sure what is your goal mentioned in the config :
as i understand the NTP Server running on the Device, you like to restrict only device to allow to use NTP Server then below example should work for you :
ntp access-group peer NTP
or below make it simple :
ntp access-group peer 20
Access-list 20 permit x.x.x.x (these are client device IP)
access-list 20 permit x.x.x.x
access-list 20 deny any log
03-15-2022 06:46 PM
Hi we scan network security vulnerability. It shows some NTP related issue. so we need to block the potential issue. thanks
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide