1-13
To do…
Use the command…
Remarks
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
correspondi
ng
broadcast/m
ulticast 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
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