Operation Manual – NTP
Quidway S3100 Series Ethernet Switches Chapter 1
NTP Configuration
Huawei Technologies Proprietary
1-10
 Note:
z NTP authentication requires that the authentication keys configured for the server
and the client are the same. Besides, the authentication keys must be trusted keys.
Otherwise, the client cannot be synchronized with the server.
z In NTP server mode and NTP peer mode, you need to associate the specified key
with the corresponding NTP server/active peer on the client/passive peer. In these
two modes, multiple servers/active peers may be configured for a client/passive
peer, and a client/passive choose the server/active peer to synchronize to by the
authentication key.
II. Configuring NTP authentication on the server
Table 1-5 Configure NTP authentication on the server
Operation Command Description
Enter system view
system-view
—
Enable NTP
authentication
ntp-service authentication
enable
Required
By default, NTP
authentication.
Configure NTP
authentication key
ntp-service
authentication-keyid key-id
authentication-model md5
value
Required
By default, NTP
authentication key is not
configured.
Configure the
specified key to be
a trusted key
ntp-service reliable
authentication-keyid key-id
Required
By default, an authentication
key is not a trusted key.
Enter VLAN
interface view
interface Vlan-interface
vlan-id
—
Broadcast server mode:
ntp-service
broadcast-server
authentication-keyid key-id
Associate a
specified key with
the corresponding
NTP server
Multicast server mode:
ntp-service
multicast-server
authentication-keyid key-id
In NTP broadcast server
mode and NTP multicast
server mode, you need to
associate the specified key
with the corresponding NTP
server on the server.
You can associate an NTP
server with an authentication
key while configuring a switch
to operate in a specific NTP
mode. You can also associate
them using this command
after configuring the NTP
mode where a switch is to
operate.