69
Root dispersion: 1.05 ms
Peer dispersion: 7.81 ms
Reference time: 14:53:27.371 UTC Sep 19 2005 (C6D94F67.5EF9DB22)
The output shows that Switch B has been synchronized to Switch A, and the clock stratum level of Switch B
is 3, while that of Switch A is 2.
# View the NTP session information of Switch B, which shows that an association has been set up
between Switch B and Switch A.
[SwitchB] display ntp-service sessions
source reference stra reach poll now offset delay disper
**************************************************************************
[12345] 1.0.1.11 127.127.1.0 2 63 64 3 -75.5 31.0 16.5
note: 1 source(master),2 source(peer),3 selected,4 candidate,5 configured
Total associations : 1
Configuring the NTP symmetric mode example
Network requirements
Perform the following configurations to synchronize time among devices:
• The local clock of Switch A is to be configured as a reference source, with the stratum level of 2.
• Switch B works in the client mode and Switch A is to be used as the NTP server of Switch B.
• After Switch B is synchronized to Switch A , Switch C works in the symmetric-active mode and Switch
B will act as peer of Switch C. Switch C is the symmetric-active peer while Switch B is the symmetric-
passive peer.
Figure 26 Network diagram for NTP symmetric peers mode configuration
Configuration procedure
1. Configure IP addresses for interfaces (omitted)
2. Configuration on Switch B:
# Specify Switch A as the NTP server of Switch B.
<SwitchB> system-view
[SwitchB] ntp-service unicast-server 3.0.1.31
3. View the NTP status of Switch B after clock synchronization.
[SwitchB] display ntp-service status