Configuring ntp broadcast mode, Network requirements, Configuration procedure – H3C Technologies H3C SR8800 User Manual

Page 84

Advertising
background image

72

As shown above, Device B has been synchronized to Device C, and the clock stratum level of

Device B is 2, while that of Device C is 1.
# View the NTP session information of Device B, which shows that an association has been set up
between Device B and Device C.

[DeviceB] display ntp-service sessions

source reference stra reach poll now offset delay disper

**************************************************************************

[245] 3.0.1.31 127.127.1.0 2 15 64 24 10535.0 19.6 14.5

[1234] 3.0.1.33 LOCL 1 14 64 27 -77.0 16.0 14.8

note: 1 source(master),2 source(peer),3 selected,4 candidate,5 configured

Total associations : 2

Configuring NTP broadcast mode

Network requirements

As shown in

Figure 27

, Router C functions as the NTP server for multiple routers on a network segment

and synchronizes the time among multiple routers. More specifically:

Router C’s local clock is to be used as a reference source, with the stratum level of 2.

Router C works in the broadcast server mode and sends out broadcast messages from
GigabitEthernet 3/1/10.

Router D and Router A work in the broadcast client mode and receive broadcast messages through
their respective GigabitEthernet 3/1/10.

Figure 27 Network diagram

Configuration procedure

1.

Set the IP address for each interface as shown in

Figure 27

. (Details not shown)

2.

Configure Router C:
# Specify the local clock as the reference source, with the stratum level of 2.

<RouterC> system-view

[RouterC] ntp-service refclock-master 2

# Configure Router C to work in the broadcast server mode and send broadcast messages through

GigabitEthernet 3/1/10.

[RouterC] interface GigabitEthernet 3/1/10

Advertising