Check the NTP status of Switch D, and you can see that the status of the clock is synchronized.
This means that the synchronization is complete. The stratum of the clock of Switch D is 4, one
stratum lower than the clock stratum of Switch C.
[SwitchD] display ntp-service status
 clock status: synchronized
 clock stratum: 4
 reference clock ID: 3.0.1.31
 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.42 ms
 peer dispersion: 0.00 ms
 reference time: 12:17:21.773 UTC Mar 7 2006(C7B7F851.C5EAF25B)
----End
Configuration Files
l Configuration file of Switch A
#
sysname SwitchA
#
vlan batch 20
#
interface Vlanif20
 ip address 1.0.1.11 255.255.255.0
 ntp-service broadcast-client
#
interface Ethernet0/0/1
 port hybrid pvid vlan 20
 port hybrid untagged vlan 20
#
ospf 1
 area 0.0.0.0
  network 1.0.1.0 0.0.0.255
#
 ntp-service authentication enable
 ntp-service authentication-keyid 16 authentication-mode md5 %@ENC;8HX
\#Q=^Q`MAF4<1!!
 ntp-service reliable authentication-keyid 16
#
return
Configuration file of Switch C
#
sysname SwitchC
#
vlan batch 10
#
interface Vlanif10
 ip address 3.0.1.31 255.255.255.0
 ntp-service broadcast-server authentication-keyid 16
#
interface Ethernet0/0/1
 port hybrid pvid vlan 10
 port hybrid untagged vlan 10
#
ntp-service authentication enable
 ntp-service authentication-keyid 16 authentication-mode md5 %@ENC;8HX
\#Q=^Q`MAF4<1!!
ntp-service reliable authentication-keyid 16
ntp-service refclock-master 3
#
return
Quidway S2700 Series Ethernet Switches
Configuration Guide - Network Management 4 NTP Configuration
Issue 01 (2011-07-15) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
239