113
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 periodically sends NTP messages to the specified
multicast address.
If you have configured the device to operate in multicast 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 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. Set the NTP version
to 4.
<Sysname> system-view
[Sysname] interface vlan-interface 1
[Sysname-Vlan-interface1] ntp-service multicast-server 224.0.1.1 version 4
authentication-keyid 4
Related commands
ntp-service multicast-client
ntp-service refclock-master
Use
ntp-service refclock-master
to configure the local clock as a reference source for other
devices.
Use
undo ntp-service refclock-master
to remove the configuration.
Syntax
ntp-service refclock-master
[
ip-address
] [
stratum
]
undo ntp-service refclock-master
[
ip-address
]
Default
The device does not use its local clock as a reference clock.
Views
System view
Predefined user roles
network-admin
mdc-admin
Parameters
ip-address
: IP address of the local clock, which is 127.127.1.u, where u is the NTP process ID in the
range of 0 to 3. If you do not specify
ip-address
, it defaults to 127.127.1.0.
stratum
: Stratum level of the local clock, in the range of 1 to 15. The default value is 8. A lower
stratum level represents higher clock accuracy.
Usage guidelines
Typically an NTP server that gets its time from an authoritative time source, such as an atomic clock
has stratum 1 and operates as the primary time server to provide time synchronization for other
devices in the network. The accuracy of each server is the stratum, with the topmost level (primary
servers) assigned as one and each level downwards (secondary servers) in the hierarchy assigned
as one greater than the preceding level.