Ntp-Service Authentication Enable - HP E4510-48G Command Reference Manual

4510g series
Table of Contents

Advertisement

By default, the access-control right for the peer devices to access the NTP services of the local device
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 match against the
access-control right in this order and will use the first matched right.
Note that:
The ntp-service access command provides only a minimum degree of security protection. A
more secure method is identity authentication. The related command is ntp-service
authentication enable.
Before specifying an ACL number in the ntp-service access command, make sure you have
already created and configured this ACL.
Examples
# Configure the peer devices on 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
[Sysname] ntp-service access peer 2001

ntp-service authentication enable

Syntax
ntp-service authentication enable
undo ntp-service authentication enable
View
System view
Default Level
2: System level
Parameters
None
Description
Use the ntp-service authentication enable command to enable NTP authentication.
Use the undo ntp-service authentication enable command to disable NTP authentication.
By default, NTP authentication is disabled.
Related commands: ntp-service authentication-keyid, ntp-service reliable authentication-keyid.
Examples
# Enable NTP authentication.
<Sysname> system-view
[Sysname] ntp-service authentication enable
19-6

Advertisement

Table of Contents
loading

Table of Contents