NTP authentication requires that the authentication keys configured for the server and the client be the
same. Besides, the authentication keys must be trusted keys. Otherwise, the clock of the client cannot
be synchronized with that of the server.
Configuring NTP authentication on the server
Follow these steps to configure NTP authentication on the server:
To do...
Enter system view
Enable NTP authentication
Configure an NTP
authentication key
Configure the specified key as a
trusted key
Enter VLAN interface view
Configure on the
NTP broadcast
server
Associate
the specified
key with the
correspondi
ng
Configure on the
broadcast/m
NTP multicast
ulticast client
server
Use the command...
system-view
ntp-service authentication
enable
ntp-service
authentication-keyid key-id
authentication-mode md5
value
ntp-service reliable
authentication-keyid key-id
interface Vlan-interface vlan-id
ntp-service broadcast-server
authentication-keyid key-id
ntp-service multicast-server
authentication-keyid key-id
1-13
Remarks
—
Required
Disabled by default.
Required
By default, no NTP
authentication key is
configured.
Required
By default, no trusted
authentication key is
configured.
—
In NTP broadcast server
mode and NTP multicast
server mode, you need to
associate the specified
key
with
corresponding
broadcast/multicast client
You can associate an
NTP broadcast/multicast
client
with
authentication key while
configuring NTP mode.
You can also use this
command to associate
them after configuring the
NTP mode.
the
an