H3C S5120-SI Series Configuration Manual page 564

Hide thumbs Also See for S5120-SI Series:
Table of Contents

Advertisement

To do...
Associate the specified key
with an 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...
Enter system view
Enable NTP authentication
Configure an NTP
authentication key
Configure the key as a trusted
key
Enter interface view
Associate the specified key
with an NTP server
Use the command...
Client/server mode:
ntp-service unicast-server
{ ip-address | server-name }
authentication-keyid keyid
Symmetric peers mode:
ntp-service unicast-peer
{ ip-address | peer-name }
authentication-keyid keyid
Use the command...
system-view
ntp-service authentication
enable
ntp-service
authentication-keyid keyid
authentication-mode md5
value
ntp-service reliable
authentication-keyid keyid
interface interface-type
interface-number
Broadcast server mode:
ntp-service broadcast-server
authentication-keyid keyid
Multicast server mode:
ntp-service multicast-server
authentication-keyid keyid
1-15
Remarks
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.
Remarks
Required
Disabled by default
Required
No NTP authentication key by
default
Required
No authentication key is
configured to be trusted by
default.
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.

Advertisement

Chapters

Table of Contents
loading

Table of Contents