H3C Technologies H3C WX3000E Series Wireless Switches User Manual
Page 30
21
Step Command
Remarks
2.
Enable NTP authentication.
ntp-service authentication enable
By default, NTP authentication is
disabled.
3.
Configure an NTP
authentication key.
ntp-service authentication-keyid
keyid authentication-mode md5
value
By default, no NTP authentication
key is configured.
4.
Configure the key as a trusted
key.
ntp-service reliable
authentication-keyid keyid
By default, no authentication key is
configured to be trusted.
5.
Associate the specified key
with an NTP server.
•
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
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.
NOTE:
After you enable the NTP authentication feature for the client, 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.
To configure NTP authentication for a server:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enable NTP authentication.
ntp-service authentication enable
By default, NTP authentication is
disabled.
3.
Configure an NTP
authentication key.
ntp-service authentication-keyid
keyid authentication-mode md5
value
By default, no NTP authentication
key is configured.
4.
Configure the key as a trusted
key.
ntp-service reliable
authentication-keyid keyid
By default, no authentication key is
configured to be trusted.
5.
Enter interface view.
interface interface-type
interface-number
N/A
6.
Associate the specified key
with an NTP server.
•
Broadcast server mode:
ntp-service broadcast-server
authentication-keyid keyid
•
Multicast server mode:
ntp-service multicast-server
authentication-keyid keyid
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.
NOTE:
The procedure of configuring NTP authentication on a server is the same as that on a client, and the same
authentication key must be configured on both the server and client sides.