
1-15
To do…
Use the command…
Remarks
Client/server mode:
ntp-service
unicast-server
{
ip-address
|
server-name
}
authentication-keyid
keyid
Associate the specified key
with an NTP server
Symmetric peers mode:
ntp-service
unicast-peer
{
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.
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
Required
Disabled by default
Configure an NTP
authentication key
ntp-service
authentication-keyid
keyid
authentication-mode
md5
value
Required
No NTP authentication key by
default
Configure the key as a trusted
key
ntp-service reliable
authentication-keyid keyid
Required
No authentication key is
configured to be trusted by
default.
Enter interface view
interface
interface-type
interface-number
—
Broadcast server mode:
ntp-service
broadcast-server
authentication-keyid
keyid
Associate the specified key
with an NTP server
Multicast server mode:
ntp-service
multicast-server
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.
Summary of Contents for S5120-EI Series
Page 139: ...ii...
Page 578: ...1 21 C...
Page 739: ...1 12 Enable ARP detection based on 802 1X security entries SwitchB arp detection mode dot1x...
Page 926: ...2 8...
Page 942: ...ii Single Device Upgrade 3 4 IRF System Upgrade 3 5...
Page 985: ...1 1...
Page 1018: ...1 6...