Configuring ntp broadcast mode, Network requirements – H3C Technologies H3C S5120 Series Switches User Manual

Page 568

Advertising
background image

1-19

Nominal frequency: 100.0000 Hz

Actual frequency: 100.0000 Hz

Clock precision: 2^18

Clock offset: -21.1982 ms

Root delay: 15.00 ms

Root dispersion: 775.15 ms

Peer dispersion: 34.29 ms

Reference time: 15:22:47.083 UTC Sep 19 2005 (C6D95647.153F7CED)

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

is 4, 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 1-9

, Switch C functions as the NTP server for multiple devices on a network

segment and synchronizes the time among multiple devices. To realize this requirement, perform the

following configurations:

z

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

z

Switch C works in the broadcast server mode and sends out broadcast messages from

VLAN-interface 2.

z

Switch A and Switch B work in the broadcast client mode. Switch A and Switch B listens to

broadcast messages through its VLAN-interface 2.

Figure 1-9 Network diagram for NTP broadcast mode configuration

Vlan-int2

3.0.1.31/24

Vlan-int2

3.0.1.32/24

Vlan-int2
3.0.1.30/24

Switch A

Switch C

Switch B

Advertising