
27
Parameters
ip-address
: Multicast IP address, which defaults to 224.0.1.1.
authentication-keyid
keyid
: Specifies the key ID to be used for sending multicast messages to multicast
clients, where
keyid
is in the range of 1 to 4294967295. This parameter is not meaningful if
authentication is not required.
ttl
ttl-number
: Specifies the TTL of NTP multicast messages, where
ttl-number
is in the range of 1 to 255
and defaults to 16.
version
number
: Specifies the NTP version, where
number
is in the range of 1 to 3 and defaults to 3.
Description
Use the
ntp-service multicast-server
command to configure the device to work in the NTP multicast server
mode and use the current interface to send NTP multicast packets.
Use the
undo ntp-service multicast-server
command to remove the configuration.
By default, the device does not work in any NTP operation mode.
Examples
# Configure the device to work in the multicast server mode and send NTP multicast messages on
VLAN-interface 1 to the multicast address 224.0.1.1, using key 4 for encryption, and set the NTP version
to 3.
<Sysname> system-view
[Sysname] interface vlan-interface 1
[Sysname-Vlan-interface1] ntp-service multicast-server 224.0.1.1 version 3
authentication-keyid 4
ntp-service reliable authentication-keyid
Syntax
ntp-service reliable authentication-keyid
keyid
undo ntp-service reliable authentication-keyid
keyid
View
System view
Default level
3: Manage level
Parameters
keyid
: Authentication key number, in the range of 1 to 4294967295.
Description
Use the
ntp-service reliable authentication-keyid
command to specify that the created authentication key
is a trusted key. When NTP authentication is enabled, a client can be synchronized only to a server that
can provide a trusted authentication key.
Use the
undo
ntp-service reliable authentication-keyid
command to remove the configuration.
By default, no authentication key is configured to be trusted.