3com 4500 50-PORT User Manual

Page of 466
NTP Configuration Commands
407
server
: Allows time request and query on the local NTP server. The local clock 
cannot be synchronized to the remote server.
synchronization
: Allows only time request on the local NTP server.
query: Allows only query on the local NTP server.
acl-number
: Basic access control list (ACL) number, in the range of 2000 to 2999.
Description
Use the 
ntp-service access
 command to set the access control right to the local 
NTP server.
Use the 
undo ntp-service access
 command to remove the configured access 
control right to the local NTP server.
By default, the access control right to the local NTP server is peer.
The 
ntp-service access
 command only provides a minimal degree of security 
measure. A more secure way is to perform identity authentication. 
The right of a received access request is matched from the highest to the lowest in 
order of peer, server, synchronization, and query.
Example
Configure the peer in ACL 2076 to have the full access right to the local NTP 
server, including time request, query control, and time synchronization.
<SW4500> system-view
System View: return to User View with Ctrl+Z. 
[SW4500] ntp-service access peer 2076
Configure the peer in ACL 2028 to have the right to access and query the local 
NTP server.
<SW4500> system-view
System View: return to User View with Ctrl+Z. 
[SW4500] ntp-service access server 2028
ntp-service 
authentication enable
Syntax
ntp-service authentication enable
undo ntp-service authentication enable
View
System view
Parameter
None