109
Predefined user roles
network-admin
Parameters
authentication-keyid keyid
: Specifies the key ID to be used for sending broadcast messages to
broadcast clients. Thevalue 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.
versionnumber
: Specifies the NTP version. The value range for the
number
argument is1 to 4, and
the default is4.
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 operatein broadcast server mode and send NTP broadcast messages on
GigabitEthernet1/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 forIPv4 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