beautypg.com

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

Page 121

background image

9

NOTE:

In symmetric mode, use the ntp-service refclock-master command or any NTP configuration command in

Configuring the Operation Modes of NTP

to enable NTP; otherwise, a symmetric-passive peer will not

process NTP messages from a symmetric-active peer.

In the ntp-service unicast-peer command,

ip-address must be a unicast address, rather than a broadcast

address, a multicast address or the IP address of the local clock.

When the source interface for NTP messages is specified by the source-interface argument,
the source IP address of the NTP messages is configured as the primary IP address of the
specified interface.

Typically, at least one of the symmetric-active and symmetric-passive peers has been synchronized;
otherwise the clock synchronization will not proceed.

You can configure multiple symmetric-passive peers by repeating the ntp-service unicast-peer
command.

Configuring NTP Broadcast Mode

The broadcast server periodically sends NTP broadcast messages to the broadcast address

255.255.255.255. After receiving the messages, the device working in NTP broadcast client mode

sends a reply and synchronizes its local clock.
For devices working in broadcast mode, configure both the server and clients. Because an interface

needs to be specified on the broadcast server for sending NTP broadcast messages and an interface
also needs to be specified on each broadcast client for receiving broadcast messages, the NTP

broadcast mode can be configured only in the specific interface view.

Configuring a broadcast client

To do…

Use the command…

Remarks

Enter system view

system-view

Enter interface view

interface interface-type
interface-number

Required
Enter the interface used to receive

NTP broadcast messages.

Configure the device to work in
NTP broadcast client mode

ntp-service broadcast-client

Required

Configuring the broadcast server

To do…

Use the command…

Remarks

Enter system view

system-view

Enter interface view

interface interface-type
interface-number

Enter the interface used to send
NTP broadcast messages.

Configure the device to work in
NTP broadcast server mode

ntp-service broadcast-server
[ authentication-keyid keyid |
version number ] *

Required