H3C S7500E Series Ethernet Switches Operation Manual

Operation Manual – NTP
H3C S7500E Series Ethernet Switches Chapter 1 NTP Configuration
1-18
To do… Use the command… Remarks
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.
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.
1.7 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
Switch Back to the primary
reference source
display ntp-service
trace
Available in any view