112
Usage guidelines
As a best practice, specify a multicast IP address in the range of 224.0.1.0 to 224.0.1.255 for the
ip-address
argument.
After you configure the command, the device listens to NTP messages using the specified multicast
address as the destination address.
If you have configured the device to operate in multicast client 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 multicast client mode and receive NTP multicast messages on
VLAN-interface 1, and set the multicast address to 224.0.1.1.
<Sysname> system-view
[Sysname] interface vlan-interface 1
[Sysname-Vlan-interface1] ntp-service multicast-client 224.0.1.1
Related commands
ntp-service multicast-server
ntp-service multicast-server
Use
ntp-service multicast-server
to configure the device to operate in NTP multicast server mode
and use the current interface to send NTP multicast packets.
Use
undo ntp-service multicast-server
to remove the configuration.
Syntax
ntp-service multicast-server
[
ip-address
] [
authentication-keyid
keyid
|
ttl
ttl-number
|
version
number
] *
undo ntp-service multicast-server
[
ip-address
]
Default
The device does not operate in any NTP association mode.
Views
Interface view
Predefined user roles
network-admin
mdc-admin
Parameters
ip-address
: Specifies a multicast IP address. The default is 224.0.1.1. A multicast server and client
must be configured with the same multicast IP address.
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. If this option is not specified, the
local device cannot synchronize multicast clients enabled with NTP authentication.
ttl
ttl-number
: Specifies the TTL of NTP multicast messages, where
ttl-number
is in the range of 1 to
255. The default value is 16.
version
number
: Specifies the NTP version. The value range for the
number
argument is 1 to 4, and
the default is 4.