2306
C
152: NTP C
HAPTER
Example
ntp-service broadcast-client
Syntax
View
Parameter
Description
Example
ntp-service broadcast-server
Syntax
View
Parameter
C
ONFIGURATION
OMMANDS
c
CAUTION:
Presently the system supports only the MD5 algorithm for key authentication.
■
You can set a maximum of 1,024 keys for each device.
■
If an NTP authentication key is specified as a trusted key, the key automatically
■
changes to not trusted after you delete the key. In this case, you do not need to
execute the undo ntp-service reliable authentication-keyid command.
# Set an MD5 authentication key, with the key ID of 10 and key value of
"BetterKey".
<Sysname> system-view
[Sysname] ntp-service authentication-keyid 10 authentication-mode md
5 BetterKey
ntp-service broadcast-client
undo ntp-service broadcast-client
Interface view
None
Use the
ntp-service broadcast-client
work in the NTP broadcast client mode.
Use the
undo ntp-service broadcast-client
an NTP broadcast client.
# Configure the device to work in the broadcast client mode and receive NTP
broadcast messages on Ethernet 1/1.
<Sysname> system-view
[Sysname] interface ethernet 1/1
[Sysname-Ethernet1/1] ntp-service broadcast-client
ntp-service broadcast-server [ authentication-keyid keyid | version number ] *
undo ntp-service broadcast-server
Interface view
authentication-keyid keyid: Specifies the key ID to be used for sending
broadcast messages to broadcast clients, where keyid is in the range of 1 to
4294967295. This parameter is not meaningful if authentication is not required.
command to configure the device to
command to remove the device as