504
C
12: U
S
M
C
HAPTER
SING
YSTEM
ANAGEMENT
OMMANDS
server 127.0.0.1,stratum 8, offset 0.000000, synch distance 0.00000
refid 127.127.1.0
ntp-service access
Syntax
ntp-service access { query | synchronization | server | peer }
acl-number
undo ntp-service access { query | synchronization | server | peer }
View
System view.
Parameters
: Allow to control query authority.
query
: Only allow the server to access.
synchronization
: Allow query to server and access.
server
: Full access authority.
peer
: IP address list number, ranging from 2000 to 2999.
acl-number
Description
Use the
command to set the authority to access the local
ntp-service access
equipment. Use the
command to cancel the access
undo ntp-service access
authority settings.
By default, there is no limit to the access.
Set authority to access the NTP services on a local Switch. This is a basic and brief
security measure, compared to authentication. An access request will be matched
with
,
,
, and
in an ascending order of the
peer
serve
serve only
query only
limitation. The first matched authority will be given.
Example
Give the authority of time request, query control and synchronization with the
local equipment to the peer in ACL 2076.
<SW5500>system-view
System View: return to User View with Ctrl+Z.
[SW5500]ntp-service access peer 2076
Give the authority of time request and query control of the local equipment to the
peer in ACL 2028.
<SW5500>system-view
System View: return to User View with Ctrl+Z.
[SW5500]ntp-service access synchronization 2028
ntp-service
Syntax
authentication enable
ntp-service authentication enable
undo ntp-service authentication enable
View
System view