Operation Manual – NTP
H3C S3600 Series Ethernet Switches-Release 1510 Chapter 1
NTP Configuration
1-10
1.4.1 Configuration Prerequisites
NTP authentication configuration involves:
z Configuring NTP authentication on the client
z Configuring NTP authentication on the server
Observe the following principles when configuring NTP authentication:
z If the NTP authentication function is not enabled on the client, the client can be
synchronized to a server no matter whether the NTP authentication function is
enabled on the server (assuming that other related configurations are performed).
z You need to couple the NTP authentication with a trusted key.
z Configurations on the server and the client must be consistent.
z The client with the NTP authentication function enabled is only synchronized to the
server that provides a trusted key.
1.4.2 Configuration Procedure
I. Configuring NTP authentication on the client
Table 1-4 Configure NTP authentication on the client
Operation Command Description
Enter system view
system-view
—
Enable the NTP
authentication
function globally
ntp-service authentication
enable
Required
By default, the NTP
authentication function is
disabled.
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 to
be a trusted key
ntp-service reliable
authentication-keyid key-id
Required
By default, no trusted key is
configured.
NTP client mode:
ntp-service unicast-server
{ remote-ip | server-name }
hentication-keyid key-id
aut
Associate the
specified key with
the corresponding
NTP server
Peer mode:
ntp-service unicast-peer
{ remote-ip | peer-name }
authentication-keyid key-id
z In NTP client mode and
NTP peer mode, you need
to associate the specified
key with the corresponding
NTP server on the client.
z You can associate the NTP
server with the
authentication key while
configuring NTP mode. You
can also use this command
to associate them after
configuring NTP mode.