3com S7906E Manuel De Montage
1-15
z
For the client/server mode, if the NTP authentication feature has not been enabled for the client,
the client can synchronize with the server regardless of whether the NTP authentication feature
has been enabled for the server or not. If the NTP authentication is enabled on a client, the client
can be synchronized only to a server that can provide a trusted authentication key.
z
For all synchronization modes, the server side and the client side must be consistently configured.
Configuration Procedure
Configuring NTP authentication for a client
Follow these steps to configure NTP authentication for a client:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enable NTP authentication
ntp-service authentication
enable
enable
Required
Disabled by default
Configure an NTP
authentication key
authentication key
ntp-service
authentication-keyid keyid
authentication-mode md5
value
authentication-keyid keyid
authentication-mode md5
value
Required
No NTP authentication key by
default
default
Configure the key as a trusted
key
key
ntp-service reliable
authentication-keyid keyid
authentication-keyid keyid
Required
No authentication key is
configured to be trusted by
default.
configured to be trusted by
default.
Client/server mode:
ntp-service unicast-server
{ ip-address | server-name }
authentication-keyid keyid
{ ip-address | server-name }
authentication-keyid keyid
Associate the specified key
with an NTP server
with an NTP server
Symmetric peers mode:
ntp-service unicast-peer
{ ip-address | peer-name }
authentication-keyid keyid
{ ip-address | peer-name }
authentication-keyid keyid
Required
You can associate a
non-existing key with an NTP
server. To enable NTP
authentication, you must
configure the key and specify it
as a trusted key after
associating the key with the
NTP server.
non-existing key with an NTP
server. To enable NTP
authentication, you must
configure the key and specify it
as a trusted key after
associating the key with the
NTP server.
After you enable the NTP authentication feature for the client, make sure that you configure for the client
an authentication key that is the same as on the server and specify that the authentication key is trusted;
otherwise, the client cannot be synchronized to the server.
Configuring NTP authentication for a server
Follow these steps to configure NTP authentication for a server:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enable NTP authentication
ntp-service authentication
enable
enable
Required
Disabled by default