Ntp broadcast mode configuration example, Network requirements, Configuration procedure – H3C Technologies H3C WX5500E Series Access Controllers User Manual

Page 35

Advertising
background image

27

NTP broadcast mode configuration example

Network requirements

As shown in

Figure 13

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

and synchronizes the time among multiple devices.

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

Switch C operates in broadcast server mode and sends out broadcast messages from
VLAN-interface 2.

Switch A and Switch B operate in broadcast client mode, and listen to broadcast messages through
their VLAN-interface 2 respectively.

Figure 13 Network diagram

Configuration procedure

1.

Set the IP address for each interface as shown in

Figure 13

. (Details not shown.)

2.

Configure Switch C:
# Configure Switch C to operate in broadcast server mode and send broadcast messages through
VLAN-interface 2.

[SwitchC] interface vlan-interface 2

[SwitchC-Vlan-interface2] ntp-service broadcast-server

3.

Configure Switch A:
# Configure Switch A to operate in broadcast client mode and receive broadcast messages on
VLAN-interface 2.

<SwitchA> system-view

[SwitchA] interface vlan-interface 2

[SwitchA-Vlan-interface2] ntp-service broadcast-client

4.

Configure Switch B:
# Configure Switch B to operate in broadcast client mode and receive broadcast messages on
VLAN-interface 2.

<SwitchB> system-view

[SwitchB] interface vlan-interface 2

[SwitchB-Vlan-interface2] ntp-service broadcast-client

Switch A and Switch B get synchronized upon receiving a broadcast message from Switch C.

Advertising