Configuring ntp broadcast mode, Network requirements, Configuration procedure – H3C Technologies H3C WX6000 Series Access Controllers User Manual

Page 86

Advertising
background image

6-18

# View the NTP session information of AC 1, which shows that an association has been set up between

AC 1 and AC 2.

[AC1] 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

z

The local clock of AC 2 is to be used as a reference source, with the stratum level of 2.

z

AC 2 works in the broadcast server mode and sends out broadcast messages from VLAN-interface

2.

z

AC 1 and AC 3 work in the broadcast client mode. AC 1 listens to broadcast messages through its

VLAN-interface 3 and AC 3 from its VLAN-interface 2.

Figure 6-9 Network diagram for NTP broadcast mode configuration

Vlan-int3
1.0.1.11/24

Vlan-int3

1.0.1.10/24

Vlan-int2

3.0.1.31/24

Vlan-int2

3.0.1.32/24

Vlan-int2
3.0.1.30/24

AC 1

Switch

AC 2

AC 3

Configuration procedure

1) Configuration on AC 2:

# Specify the local clock as the reference source, with the stratum level of 2.

<AC2> system-view

[AC2] ntp-service refclock-master 2

# Configure AC 2 to work in the broadcast server mode and send broadcast messages through

VLAN-interface 2.

[AC2] interface vlan-interface 2

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

2) Configuration on AC 3:

# Configure AC 3 to work in the broadcast client mode and receive broadcast messages on

VLAN-interface 2.

<AC3> system-view

[AC3] interface vlan-interface 2

Advertising