Configuring ntp broadcast mode – H3C Technologies H3C S3100 Series Switches User Manual

Page 698

Advertising
background image

1-8

z

In the symmetric peer mode, you need to execute the related NTP configuration commands (refer

to section

Configuring NTP Implementation Modes

for details) to enable NTP on a

symmetric-passive peer; otherwise, the symmetric-passive peer will not process NTP messages

from the symmetric-active peer.

z

The remote device specified by remote-ip or peer-name serves as the peer of the local Ethernet

switch, and the local switch works in the symmetric-active mode. In this case, the clock of the local

switch and that of the remote device can be synchronized to each other.

z

remote-ip must not be a broadcast address, a multicast address or the IP address of the local

clock.

z

After you specify an interface for sending NTP messages through the source-interface keyword,

the source IP address of the NTP message will be configured as the IP address of the specified

interface.

z

Typically, the clock of at least one of the symmetric-active and symmetric-passive peers should be

synchronized first; otherwise the clock synchronization will not proceed.

z

You can configure multiple symmetric-passive peers for the local switch by repeating the

ntp-service unicast-peer command. The clock of the peer with the smallest stratum will be

chosen to synchronize with the local clock of the switch.

Configuring NTP Broadcast Mode

For switches working in the broadcast mode, you need to configure both the server and clients. The

broadcast server periodically sends NTP broadcast messages to the broadcast address

255.255.255.255. The switches working in the NTP broadcast client mode will respond to the NTP

messages, so as to start the clock synchronization.

An H3C S3100 series Ethernet switch can work as a broadcast server or a broadcast client.

z

Refer to

Table 1-5

for configuring a switch to work in the NTP broadcast server mode.

z

Refer to

Table 1-6

for configuring a switch to work in the NTP broadcast client mode.

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

Configuring a switch to work in the NTP broadcast server mode

Table 1-5 Configure a switch to work in the NTP broadcast server mode

Operation

Command

Description

Enter system view

system-view

Enter VLAN interface view

interface Vlan-interface vlan-id

Advertising