3com S7906E Guía De Referencia
1-5
ntp-service access
Syntax
ntp-service access { peer | query | server | synchronization } acl-number
undo ntp-service access { peer | query | server | synchronization }
View
System view
Default Level
2: System level
Parameters
peer: Specifies to permit full access.
query: Specifies to permit control query.
server: Specifies to permit server access and query.
synchronization: Specifies to permit server access only.
acl-number: Basic ACL number, in the range of 2000 to 2999
Description
Use the ntp-service access command to configure the NTP service access-control right to the local
device.
Use the undo ntp-service access command to remove the configured NTP service access-control
right to the local device.
By default, the local NTP service access-control right is set to peer.
From the highest NTP service access-control right to the lowest one are peer, server,
synchronization, and query. When a device receives an NTP request, it will perform an
access-control right match and will use the first matched right.
z
The ntp-service access command provides only a minimum degree of security protection. A more
secure method is identity authentication.
z
Before specifying an ACL number in the ntp-service access command, make sure you have
already created and configured this ACL.
Examples
# Configure devices on the subnet 10.10.0.0/16 to have the full access right to the local device.
<Sysname> system-view
[Sysname] acl number 2001
[Sysname-acl-basic-2001] rule permit source 10.10.0.0 0.0.255.255
[Sysname-acl-basic-2001] quit