11-14-2016 03:29 AM - edited 03-08-2019 08:08 AM
Hello
I had a switch which had the configuration as
ntp server 1.1.1.1
I have to restrict this so did the following --
no ntp server 1.1.1.1
switch(config)#access-list 20 remark NTP-ACL
switch(config)#access-list 20 permit 1.1.1.1
switch(config)#access-list 20 deny any
switch(config)#ntp access-group gr
switch(config)#ntp access-group pe
switch(config)#ntp access-group peer ?
<1-99> Standard IP access list
<1300-1999> Standard IP access list (expanded range)
switch(config)#ntp access-group peer 20
But since then show ntp status comes back as follows--
sh ntp status
Clock is unsynchronized, stratum 16, no reference clock
anything else i need to do?
Thanks in advance.
Solved! Go to Solution.
11-14-2016 03:57 AM
You still need to have a configuration entry for the ntp server, e.g.
access-list 20 remark NTP-ACL
access-list 20 permit 1.1.1.1
ntp server 1.1.1.1
ntp access-group peer 20
11-14-2016 03:57 AM
You still need to have a configuration entry for the ntp server, e.g.
access-list 20 remark NTP-ACL
access-list 20 permit 1.1.1.1
ntp server 1.1.1.1
ntp access-group peer 20
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