Configuring ntp multicast mode, Network requirements – H3C Technologies H3C SR8800 User Manual

Page 85

Advertising
background image

73

[RouterC-GigabitEthernet3/1/10] ntp-service broadcast-server

3.

Configure Router A:
# Configure Router A to work in the broadcast client mode and receive broadcast messages on
GigabitEthernet 3/1/10.

<RouterA> system-view

[RouterA] interface GigabitEthernet 3/1/10

[RouterA-GigabitEthernet3/1/10] ntp-service broadcast-client

4.

Configure Router B:
# Configure Router B to work in broadcast client mode and receive broadcast messages on
GigabitEthernet 3/1/10.

<RouterB> system-view

[RouterB] interface GigabitEthernet 3/1/10

[RouterB-GigabitEthernet3/1/10] ntp-service broadcast-client

Router A and Router B get synchronized upon receiving a broadcast message from Router C.
# Take Router A as an example. View the NTP status of Router A after clock synchronization.

[RouterA] display ntp-service status

Clock status: synchronized

Clock stratum: 3

Reference clock ID: 3.0.1.31

Nominal frequency: 64.0000 Hz

Actual frequency: 64.0000 Hz

Clock precision: 2^7

Clock offset: 0.0000 ms

Root delay: 31.00 ms

Root dispersion: 8.31 ms

Peer dispersion: 34.30 ms

Reference time: 16:01:51.713 UTC Sep 19 2005 (C6D95F6F.B6872B02)

As shown above, Router A has been synchronized to Router C and the clock stratum level of Router
A is 3, while that of Router C is 2.
# View the NTP session information of Router A, which shows that an association has been set up
between Router A and Router C.

[RouterA-GigabitEthernet3/1/10] display ntp-service sessions

source reference stra reach poll now offset delay disper

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

[1234] 3.0.1.31 127.127.1.0 2 254 64 62 -16.0 32.0 16.6

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

Total associations : 1

Configuring NTP multicast mode

Network requirements

As shown in

Figure 28

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

segments 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 multicast serve mode and sends out multicast messages from GigabitEthernet
3/1/10.

Advertising