Configuring the ntp multicast mode, Configuring a multicast client, Configuring the multicast server – H3C Technologies H3C SecPath F1000-E User Manual

Page 118: Configuring the local clock as a reference source

Advertising
background image

107

Configuring the NTP multicast mode

The multicast server periodically sends NTP multicast messages to multicast clients, which send replies

after receiving the messages and synchronize their local clocks.
For devices operating in multicast mode, configure both the server and clients. The NTP multicast mode
must be configured in the specific interface view.

Configuring a multicast client

Step Command

Remarks

1.

Enter system view.

system-view N/A

2.

Enter interface view.

interface interface-type
interface-number

This command enters the view of
the interface for sending NTP

multicast messages.

3.

Configure the device to
operate in NTP multicast client

mode.

ntp-service multicast-client
[ ip-address ]

You can configure up to 1024
multicast clients, among which

128 can take effect at the same
time.

Configuring the multicast server

Step Command

Remarks

1.

Enter system view.

system-view N/A

2.

Enter interface view.

interface interface-type
interface-number

This command enters the view of
the interface for sending NTP

multicast messages.

3.

Configure the device to
operate in NTP multicast

server mode.

ntp-service multicast-server
[ ip-address ]

[ authentication-keyid keyid | ttl

ttl-number | version number ] *

A multicast server can synchronize
broadcast clients only when its
clock has been synchronized.

Configuring the local clock as a reference source

A network device can get its clock synchronized in one of the following ways:

Synchronized to the local clock, which operates as the reference source.

Synchronized to another device on the network in any of the four NTP operation modes.

If you configure two synchronization modes, the device selects the optimal clock as the reference source.
Typically, the stratum level of the NTP server which is synchronized from an authoritative clock (such as an

atomic clock) is set to 1. This NTP server operates as the primary reference source on the network; and
other devices synchronize themselves to it. The synchronization distances between the primary reference

source and other devices on the network, namely, the number of NTP servers on the NTP synchronization

paths, determine the clock stratum levels of the devices.
If you have configured the local clock as a reference clock, the local device can act as a reference clock
to synchronize other devices in the network. Therefore, perform this configuration with caution to avoid

Advertising