Switch 7700 Command reference Guide, v2.0

Table Of Contents
NTP Configuration Commands 495
View
System view.
Parameters
query: Allow to control query authority.
synchronization: Only allow the server to access.
server: Allow query to server and access.
peer: Full access authority.
acl-number: IP address list number, ranging from 1 to 99.
Description
Using ntp-service access command, you can set the authority to access the
local equipment. Using
undo ntp-service access command, you can cancel the
access authority settings.
By default, there is no limit to the access.
Set authority to access the NTP services on a local Ethernet Switch. This is a basic
and brief security measure, compared to authentication. An access request will be
matched with
peer, serve, serve only, and query only in an ascending order of
the 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 76.
[SW7700]ntp-service access peer 76
Give the authority of time request and query control of the local equipment to the
peer in ACL 28.
[SW7700]ntp-service access synchronization 28
ntp-service
authentication enable
Syntax
ntp-service authentication enable
undo ntp-service authentication enable
View
System view
Parameters
None
Description
Using ntp-service authentication enable command, you can enable the
NTP-service authentication function. Using
undo ntp-service authentication
enable
command, you can disable this function.
By default, the authentication is disabled.