Ntp broadcast mode configuration example, Network requirements – H3C Technologies H3C SecBlade LB Cards User Manual

Page 140

Advertising
background image

130

<LBA> system-view

[LBA] ntp-service refclock-master 2

Configure LB B:
# Specify LB A as the NTP server of LB B.

<LBB> system-view

[LBB] ntp-service unicast-server 3.0.1.31

Configure LB C (after LB B is synchronized to LB A):
# Specify the local clock as the reference source, with the stratum level 1.

<LBC> system-view

[LBC] ntp-service refclock-master 1

# Configure LB B as a symmetric peer after local synchronization.

[LBC] ntp-service unicast-peer 3.0.1.32

In the step above, LB B and LB C are configured as symmetric peers, with LB C in the
symmetric-active mode and LB B in the symmetric-passive mode. Because the stratus level of LB C

is 1 while that of LB B is 3, LB B synchronizes to LB C.
# Display the NTP status of LB B after clock synchronization.

[LBB] display ntp-service status

Clock status: synchronized

Clock stratum: 2

Reference clock ID: 3.0.1.33

Nominal frequency: 64.0000 Hz

Actual frequency: 64.0000 Hz

Clock precision: 2^7

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)

The output shows that LB B has synchronized to LB C. The stratum level of LB B is 2, and that of LB
C is 1.
# Display NTP session information for LB B, which shows that an association has been set up
between LB B and LB C.

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

NTP broadcast mode configuration example

Network requirements

As shown in

Figure 86

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

synchronizes the time among multiple devices.

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

Advertising
This manual is related to the following products: