4.5 ntp-service access
Syntax
ntp-service access { query | synchronization | server | peer } acl-number
undo ntp-service access { query | synchronization | server | peer }
View
System view
Parameter
query: Assigns the controlled query right.
synchronization: Allows only the server to access.
server: Allows the server and query to access.
peer: Full access right.
acl-number: IP ACL number. The basic ACL can be numbered in the range of 1 to 99.
Description
Using the ntp-service access command, you can control the access to the service
provided by the local device. Using the undo ntp-service access command, you can
remove the configured access rights.
By default, there is no access restriction.
This command can be used to control the access to the NTP services of the local
device. It just provides a minimum security protection, however. To obtain much
reliable security, you must configure authentication. Whenever receiving an access
request, the router will perform the match operation to find out the access right
assigned to the requestor in the descending order of access rights, i.e., peer, server,
synchronization, and query. The match found first will be the service access right
assigned to the requestor.
Example
Assign the peer access right to the peers in ACL 76.
[3Com] ntp-service access peer 76
Assign the synchronization access right to the peers in ACL 28.
[3Com] ntp-service access synchronization 28
3Com Router Command Reference Guide Addendum for V1.2
71