26
Predefined user roles
network-admin
Parameters
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. If this option is not specified, 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
VLAN-interface 1, using key 4 for encryption, and set the NTP version to 4.
<Sysname> system-view
[Sysname] interface vlan-interface 1
[Sysname-Vlan-interface1] 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.
Usage guidelines
The DSCP value is included in the ToS field of an IPv4 packet to identify the packet priority.
Examples
# Set the DSCP value for IPv4 NTP packets to
30
.
<Sysname> system-view