1-14
z The procedure for configuring NTP authentication on the server is the same as that on the client.
Besides, the client and the server must be configured with the same authentication key.
z In NTP server mode and NTP peer mode, you need to associate the specified key with the
corresponding NTP server (symmetric-active peer) on the client (symmetric-passive peer). In these
two modes, multiple NTP servers (symmetric-active peers) may be configured for a client/passive
peer, and therefore, the authentication key is required to determine which NTP server the local
clock is synchronized to.
Configuring Optional NTP Parameters
Complete the following tasks to configure optional NTP parameters:
Task Remarks
Configuring an Interface on the Local Switch to Send NTP Messages Optional
Configuring the Number of Dynamic Sessions Allowed on the Local
Switch
Optional
Disabling an Interface from Receiving NTP Messages Optional
Configuring an Interface on the Local Switch to Send NTP Messages
Follow these steps to configure an interface on the local switch to send NTP messages:
To do… Use the command… Remarks
Enter system view
system-view
—
Configure an interface on the
local switch to send NTP
messages
ntp-service source-interface
Vlan-interface vlan-id
Required
If you have specified an interface in the ntp-service unicast-server or ntp-service unicast-peer
command, this interface will be used for sending NTP messages.
Configuring the Number of Dynamic Sessions Allowed on the Local Switch
A single device can have a maximum of 128 associations at the same time, including static associations
and dynamic associations. A static association refers to an association that a user has manually created
by using an NTP command, while a dynamic association is a temporary association created by the
system during operation. A dynamic association will be removed if the system fails to receive messages
from it over a specific long time.