[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

z

z

As shown in Figure 1-7, the local clock of Device A is set as the NTP master clock, with the clock stratum level of 2.

Device C (a WX3000 series device) uses Device A as the NTP server, and Device A works in server mode automatically.

The local clock of Device B is set as the NTP master clock, with the clock stratum level of 1. Set Device C as the peer of Device B.

Figure 1-7Network diagram for NTP peer mode configuration

Device A

3.0 .1.31/24

3.0.1.32/243 .0.1.33/24

Device B

Device C

Configuration procedure

1)Configure Device C.

# Set Device A as the NTP server.

<DeviceC> system-view

[DeviceC] ntp-service unicast-server 3.0.1.31

2)Configure Device B (after the Device C is synchronized to Device A).

# Enter system view.

<DeviceB> system-view

# Set Device C as the peer of Device B.

[DeviceB] ntp-service unicast-peer 3.0.1.33

Device C and Device B are symmetric peers after the above configuration. Device B works in symmetric active mode, while Device C works in symmetric passive mode. Because the stratum level of the local clock of Device B is 1, and that of Device C is 3, the clock of Device C is synchronized to that of Device B.

View the status of Device C after the clock synchronization.

[DeviceC] display ntp-service status

Clock status: synchronized

Clock stratum: 2

1-16

Page 491
Image 491
3Com WX3000 operation manual Configuring NTP Symmetric Peer Mode, Configure Device C # Set Device a as the NTP server