Configuring ntp symmetric peer mode, Configuring ntp symmetric peer mode -15 – H3C Technologies H3C WX3000 Series Unified Switches User Manual

Page 466

Advertising
background image

46-15

Configuration procedure

Perform the following configurations on Device B.

# View the NTP status of Device B before synchronization.

<DeviceB> display ntp-service status

Clock status: unsynchronized

Clock stratum: 16

Reference clock ID: none

Nominal frequency: 60.0002 Hz

Actual frequency: 60.0002 Hz

Clock precision: 2^18

Clock offset: 0.0000 ms

Root delay: 0.00 ms

Root dispersion: 0.00 ms

Peer dispersion: 0.00 ms

Reference time: 00:00:00.000 UTC Jan 1 1900 (00000000.00000000)

# Set Device A as the NTP server of Device B.

<DeviceB> system-view

[DeviceB] ntp-service unicast-server 1.0.1.11

# (After the above configurations, Device B is synchronized to Device A.) View the NTP status of Device
B.

[DeviceB] display ntp-service status

Clock status: synchronized

Clock stratum: 3

Reference clock ID: 1.0.1.11

Nominal frequency: 60.0002 Hz

Actual frequency: 60.0002 Hz

Clock precision: 2^18

Clock offset: 0.66 ms

Root delay: 27.47 ms

Root dispersion: 208.39 ms

Peer dispersion: 9.63 ms

Reference time: 17:03:32.022 UTC Thu Sep 7 2006 (BF422AE4.05AEA86C)

The above output information indicates that Device B is synchronized to Device A, and the stratum level
of its clock is 3, one level lower than that of Device A.

# View the information about NTP sessions of Device B. (You can see that Device B establishes a
connection with Device A.)

[DeviceB] display ntp-service sessions

source reference stra reach poll now offset delay disper

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

[12345]1.0.1.11 127.127.1.0 2 1 64 1 350.1 15.1 0.0

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

associations : 1

Configuring NTP Symmetric Peer Mode

Network requirements

z

As shown in

Figure 46-7

, the local clock of Device A is set as the NTP master clock, with the clock

stratum level of 2.

Advertising