288 CHAPTER 11: SYSTEM MANAGEMENT
Display the sessions of SW77502 and you will see SW77502 has been connected
with SW77501.
[SW77502]display ntp-service sessions
source reference stra reach poll now offset delay
disper
********************************************************************
****** [12345]127.127.1.0 LOCAL(0) 7 377 64 57
0.0 0.0 1.0
[5]1.0.1.11 0.0.0.0 16 0 64 - 0.0
0.0 0.0
[5]128.108.22.44 0.0.0.0 16 0 64 - 0.0
0.0 0.0
note: 1 source(master),2 source(peer),3 selected,4 candidate,5
configured
Example: Configuring NTP Peers
On SW77503, set local clock as the NTP master clock at stratum 2. On SW77502,
configure SW77501 as the time server in server mode and set the local equipment
as in client mode. At the same time, SW77505 sets SW77504 as its peer. See
Figure 66.
Configure Ethernet Switch SW77503:
1 Enter system view.
<SW77503>system-view
2 Set the local clock as the NTP master clock at stratum 2.
[SW77503]ntp-service refclock-master 2
Configure Ethernet Switch SW77504:
1 Enter system view.
<SW77504>system-view
2 Set SW77501 as the NTP server at stratum 3 after synchronization.
[SW77504]ntp-service unicast-server 3.0.1.31
Configure Ethernet Switch SW77505: (SW77504 has been synchronized by
SW77503)
1 Enter system view.
<SW77505>system-view
2 Set the local clock as the NTP master clock at stratum 1.
[SW77505]ntp-service refclock-master 1
3 After performing local synchronization, set SW77504 as a peer.
[SW77505]ntp-service unicast-peer 3.0.1.32