Configuring the ntp symmetric peers mode, Configuring the ntp broadcast mode – H3C Technologies H3C SecBlade LB Cards User Manual

Page 129

Advertising
background image

119

Configuring the NTP symmetric peers mode

Follow these guidelines when you configure the NTP symmetric peers mode:

For devices operating in symmetric mode, specify a symmetric-passive peer on a symmetric-active
peer.

Use the ntp-service refclock-master command or any NTP configuration command in

Configuring

NTP operation modes

to enable NTP. Otherwise, a symmetric-passive peer does not process NTP

messages from a symmetric-active peer.

Either the symmetric-active peer or the symmetric-passive peer must be in synchronized state.
Otherwise, clock synchronization does not proceed.

After you specify the source interface for NTP messages by specifying the source interface
source-interface option, the source IP address of the NTP messages is set as the primary IP address

of the specified interface.

To specify a symmetric-passive peer on the active peer:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Specify a symmetric-passive
peer for the device.

ntp-service unicast-peer
{ ip-address | peer-name }

[ authentication-keyid keyid |

priority | source-interface

interface-type interface-number |
version number ] *

By default, no symmetric-passive
peer is specified.
The ip-address argument must be a
unicast address, rather than a

broadcast address, a multicast

address, or the IP address of the
local clock.

Configuring the 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 operating in NTP broadcast client mode

sends a reply and synchronizes its local clock.
Configure the NTP broadcast mode on both the server and clients. The NTP broadcast mode can only be

configured in a specific interface view because an interface needs to be specified on the broadcast

server for sending NTP broadcast messages and on each broadcast client for receiving broadcast

messages.
To configure a broadcast 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

broadcast messages.

3.

Configure the device to
operate in NTP broadcast

client mode.

ntp-service broadcast-client N/A

To configure the broadcast server:

Advertising
This manual is related to the following products: