97
Default
The device does not operate in any NTP association mode.
Views
Interface view
Predefined user roles
network-admin
Parameters
authentication-keyid keyid: Specifies the key ID to be used for sending broadcast messages to
broadcast clients. The value range for the keyid argument is 1 to 4294967295. If you do not specify
this option, the local device cannot synchronize broadcast clients enabled with NTP authentication.
version number: Specifies the NTP version. The value range for the number argument is 1 to 4, and
the default is 4.
Usage guidelines
After you configure the command, the device periodically sends NTP messages to the broadcast
address 255.255.255.255.
If you have configured the device to operate in broadcast server mode on an interface with the
command, do not add the interface to any aggregate group. To add the interface to an aggregate
group, remove the configuration of the command.
Examples
# Configure the device to operate in broadcast server mode and send NTP broadcast messages on
GigabitEthernet 1/0/1, using key 4 for encryption. Set the NTP version to 4.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] ntp-service broadcast-server authentication-keyid 4
version 4
Related commands
ntp-service broadcast-client
ntp-service dscp
Use ntp-server dscp to set a DSCP value for IPv4 NTP packets.
Use undo ntp-server dscp to restore the default.
Syntax
ntp-service dscp dscp-value
undo ntp-service dscp
Default
The DSCP value for IPv4 NTP packets is 48.
Views
System view
Predefined user roles
network-admin
Parameters
dscp-value: Sets a DSCP value in the range of 0 to 63 for IPv4 NTP packets.