This section describes how to configure access permission control to restrict certain NTP requests.
When receiving an access request packet, the NTP server matches the request packet with the access authority in descending order (from peer, server, synchronization, query to limited). The first matched authority takes effect.
system-view
ntp-service access { peer | query | server | synchronization | limited } { acl-number | ipv6 acl6-number } *
Where the ntp-service access command is run depends on the actual situations.
Table 1 shows the detailed NTP access authorities.
NTP Operation Mode |
Limited NTP Query |
Supported Devices |
|---|---|---|
Unicast NTP client/server mode |
Synchronizing the client with the server |
Client |
Clock synchronization request from the client |
Server |
|
NTP peer mode |
Clock synchronization with each other |
Symmetric active end |
Clock synchronization request from the active end |
Symmetric passive end |
|
NTP multicast mode |
Synchronizing the client with the server |
NTP multicast client |
NTP broadcast mode |
Synchronizing the client with the server |
NTP broadcast client |
NTP manycast client mode |
Synchronizing the client with the server |
NTP manycast client |
Clock synchronization request from the client |
NTP manycast server |