beautypg.com

Configuration procedure – H3C Technologies H3C S7500E Series Switches User Manual

Page 87

background image

3-23

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 3-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

Configuration procedure

1) Configure IP addresses for interfaces (omitted).

2) Configuration on Switch C:

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

through VLAN-interface 2.

[SwitchC] interface vlan-interface 2

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

3) Configuration on Switch A:

# Configure Switch A to work in the broadcast client mode and receive broadcast messages on

VLAN-interface 2.

system-view

[SwitchA] interface vlan-interface 2

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

4) Configuration on Switch B:

# Configure Switch B to work in the broadcast client mode and receive broadcast messages on

VLAN-interface 2.

system-view

[SwitchB] interface vlan-interface 2

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

Switch A gets synchronized upon receiving a broadcast message from Switch C.

# View the NTP status of Switch A after clock synchronization.

[SwitchA-Vlan-interface2] display ntp-service status

Clock status: synchronized

Clock stratum: 3

Reference clock ID: 3.0.1.31

Nominal frequency: 100.0000 Hz

Actual frequency: 100.0000 Hz

Clock precision: 2^18

Clock offset: 0.0000 ms

Root delay: 31.00 ms