
25-14
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.
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.
Displaying and Maintaining NTP
To do…
Use the command…
Remarks
View the information of NTP
service status
display ntp-service status
Available in any view
View the information of NTP
sessions
display ntp-service sessions
[
verbose
]
Available in any view
View the brief information of
the NTP servers from the local
device back to the primary
reference source
display ntp-service trace
Available in any view
Summary of Contents for 4210G Series
Page 459: ...4 8...
Page 493: ...12 1...
Page 968: ...19 6 000f e235 dc71 1 Config static GigabitEthernet 1 0 1 NOAGED 1 mac address es found...