01-07-2015 04:39 AM - edited 03-07-2019 10:07 PM
Hello,
we´ve Nexus 5548 with a simple ntp configuration.
ntp server x.x.x.x use-vrf management key 10
ntp source-interface mgmt0
ntp authenticate
ntp authentication-key 10 md5 xxxxxxxxx
ntp trusted-key 10
Now the switch acts as a NTP SERVER. Because of the known issue with the ntp protocol i want them to act as clients.
Is there a command to configure ?
Regards Horst
Solved! Go to Solution.
01-07-2015 06:48 AM
What happens when you specify an access-group...? Though i haven't tried this myself, I am guessing that it will help. Take a look at implementing this:
ip access-list extended DENY_NTP
10 deny ip any any
!
ntp access-group serve DENY_NTP.
You can control access to NTP services by using access groups. Specifically, you can specify the types of requests that the device allows and the servers from which it accepts responses.
If you do not configure any access groups, NTP access is granted to all devices. If you configure any access groups, NTP access is granted only to the remote device whose source IP address passes the access list criteria.
01-07-2015 05:36 AM
Hi,
What you have already configured is for client not server.
HTH
01-07-2015 06:08 AM
Hi Reza,
but the Nexus answers to ntp request and propagates the time.
01-07-2015 06:48 AM
What happens when you specify an access-group...? Though i haven't tried this myself, I am guessing that it will help. Take a look at implementing this:
ip access-list extended DENY_NTP
10 deny ip any any
!
ntp access-group serve DENY_NTP.
You can control access to NTP services by using access groups. Specifically, you can specify the types of requests that the device allows and the servers from which it accepts responses.
If you do not configure any access groups, NTP access is granted to all devices. If you configure any access groups, NTP access is granted only to the remote device whose source IP address passes the access list criteria.
01-07-2015 06:55 AM
Hi,
Can you post the output of
sh ntp peers
and
sh ntp peer-status
HTH
01-07-2015 10:28 PM
SW# sh ntp peers
--------------------------------------------------
Peer IP Address Serv/Peer
--------------------------------------------------
x.135.x.19 Server (configured)
y.131.y.144 Server (configured)
SW# sh ntp status
Distribution : Disabled
Last operational state: No session
Usually the NEXUS should act as a Client. With ntp master it should act as a MASTER.
Master is not configured!!! Seems to me it is a bug.
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