Operation Manual – NTP
H3C S5600 Series Ethernet Switches
Chapter 1 NTP Configuration
1-14
1.5.2 Configuration Procedure
I. Configuring NTP authentication on the client
Follow these steps to configure NTP authentication on the client:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enable the NTP
authentication function
ntp-service
authentication enable
Required
Disabled by default.
Configure the NTP
authentication key
ntp-service
authentication-keyid
key-id
authentication-model
md5
value
Required
By default, no NTP
authentication key is
configured.
Configure the specified
key as a trusted key
ntp-service reliable
authentication-keyid
key-id
Required
By default, no trusted
key is configured.
Configure on
the client in the
server/client
mode
ntp-service
unicast-server
{
remote-ip
|
server-name
}
authentication-keyid
key-id
Associ
ate the
specifi
ed key
with
the
corres
pondin
g NTP
server
Configure on
the
symmetric-activ
e peer in the
symmetric peer
mode
ntp-service
unicast-peer
{
remote-ip | peer-name }
authentication-keyid
key-id
Required
For the client in the NTP
broadcast/multicast
mode, you just need to
associate the specified
key with the client on the
corresponding server.
Note:
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.
II. Configuring NTP authentication on the server
Follow these steps to configure NTP authentication on the server:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enable NTP
authentication
ntp-service
authentication
enable
Required
Disabled by default.