1-13
Operation Command Description
Configure the specified key as a
trusted key
ntp-service reliable
authentication-keyid
key-id
Required
By default, no trusted authentication key
is configured.
Enter VLAN interface view
interface
Vlan-interface
vlan-id —
Configure on
the NTP
broadcast
server
ntp-service
broadcast-server
authentication-keyid
key-id
Associate the
specified key
with the
corresponding
broadcast/mul
ticast client
Configure on
the NTP
multicast
server
ntp-service
multicast-server
authentication-keyid
key-id
z In NTP broadcast server mode and
NTP multicast server mode, you
need to associate the specified key
with the corresponding
broadcast/multicast client
z You can associate an NTP
broadcast/multicast client with an
authentication key while configuring
NTP mode. You can also use this
command to associate them after
configuring the NTP mode.
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.
Configuring Optional NTP Parameters
Table 1-13 Optional NTP parameters configuration tasks
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
Table 1-14 Configure an interface on the local switch to send NTP messages
Operation Command Description
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.