Operation Manual – NTP 
Quidway S5600 Series Ethernet Switches-Release 1510  Chapter 1  NTP Configuration
 
Huawei Technologies Proprietary 
1-4 
1.1.3  NTP Implementation Mode 
To accommodate networks of different structures and switches in different network 
positions, NTP can operate in multiple modes, as described in the following. 
I. Client/Server mode 
Netw ork
Client Server
Clock synchronization
request packet
Response packetFilter and select clocks
and synchronize its 
ow n clock to that of 
the selected server
Work as a server 
automatically and 
send response 
packets
Netw ork
Client Server
Response packetFilter and select clocks
and synchronize its 
ow n clock to that of 
the selected server
Work as a server 
automatically and 
send response 
packets
Netw ork
Client Server
Clock synchronization
request packet
Response packetFilter and select clocks
and synchronize its 
ow n clock to that of 
the selected server
Work as a server 
automatically and 
send response 
packets
Netw ork
Client Server
Response packetFilter and select clocks
and synchronize its 
ow n clock to that of 
the selected server
Work as a server 
automatically and 
send response 
packets
 
Figure 1-2 NTP implementation mode: client/Sever mode 
II. Peer mode 
Active peer Passive peer
Netw ork
Clock synchronization 
request packet
Operates in the passive 
peer mode automatically
Netw ork
Response packet
Synchronize
Active peer Passive peer
Netw ork
Clock synchronization 
request packet
Operates in the passive 
peer mode automatically
Netw ork
Response packet
Synchronize
Active peer Passive peer
Netw ork
Clock synchronization 
request packet
Operates in the passive 
peer mode automatically
Netw ork
Response packet
Synchronize
Active peer Passive peer
Netw ork
Clock synchronization 
request packet
Operates in the passive 
peer mode automatically
Netw ork
Response packet
Synchronize
Active peer Passive peer
Netw ork
Clock synchronization 
request packet
Operates in the passive 
peer mode automatically
Netw ork
Response packet
Synchronize
Active peer Passive peer
Netw ork
Clock synchronization 
request packet
Operates in the passive 
peer mode automatically
Netw ork
Response packet
Synchronize
Active peer Passive peer
Netw ork
Clock synchronization 
request packet
Operates in the passive 
peer mode automatically
Netw ork
Response packet
Synchronize
Active peer Passive peer
Netw ork
Clock synchronization 
request packet
Operates in the passive 
peer mode automatically
Netw ork
Response packet
Synchronize
Active peer Passive peer
Netw ork
Clock synchronization 
request packet
Operates in the passive 
peer mode automatically
Netw ork
Response packet
Synchronize
Active peer Passive peer
Netw ork
Clock synchronization 
request packet
Operates in the passive 
peer mode automatically
Netw ork
Response packet
Synchronize
Active peer Passive peer
Netw ork
Clock synchronization 
request packet
Operates in the passive 
peer mode automatically
Netw ork
Response packet
Synchronize
Active peer Passive peer
Netw ork
Clock synchronization 
request packet
Operates in the passive 
peer mode automatically
Netw ork
Response packet
Synchronize
In peer mode, both
sides are synchronized
to the clock with
smaller stratum
Active peer Passive peer
Netw ork
Clock synchronization 
request packet
Operates in the passive 
peer mode automatically
Netw ork
Response packet
Synchronize
Active peer Passive peer
Netw ork
Clock synchronization 
request packet
Operates in the passive 
peer mode automatically
Netw ork
Response packet
Synchronize
Active peer Passive peer
Netw ork
Clock synchronization 
request packet
Operates in the passive 
peer mode automatically
Netw ork
Response packet
Synchronize
Active peer Passive peer
Netw ork
Clock synchronization 
request packet
Operates in the passive 
peer mode automatically
Netw ork
Response packet
Synchronize
Active peer Passive peer
Netw ork
Clock synchronization 
request packet
Operates in the passive 
peer mode automatically
Netw ork
Response packet
Synchronize
Active peer Passive peer
Netw ork
Clock synchronization 
request packet
Operates in the passive 
peer mode automatically
Netw ork
Response packet
Synchronize
Active peer Passive peer
Netw ork
Clock synchronization 
request packet
Operates in the passive 
peer mode automatically
Netw ork
Response packet
Synchronize
Active peer Passive peer
Netw ork
Clock synchronization 
request packet
Operates in the passive 
peer mode automatically
Netw ork
Response packet
Synchronize
Active peer Passive peer
Netw ork
Clock synchronization 
request packet
Operates in the passive 
peer mode automatically
Netw ork
Response packet
Synchronize
Active peer Passive peer
Netw ork
Clock synchronization 
request packet
Operates in the passive 
peer mode automatically
Netw ork
Response packet
Synchronize
Active peer Passive peer
Netw ork
Clock synchronization 
request packet
Operates in the passive 
peer mode automatically
Netw ork
Response packet
Synchronize
Active peer Passive peer
Netw ork
Clock synchronization 
request packet
Operates in the passive 
peer mode automatically
Netw ork
Response packet
Synchronize
Active peer Passive peer
Netw ork
Clock synchronization 
request packet
Operates in the passive 
peer mode automatically
Netw ork
Response packet
Synchronize
Active peer Passive peer
Netw ork
Clock synchronization 
request packet
Operates in the passive 
peer mode automatically
Netw ork
Response packet
Synchronize
Active peer Passive peer
Netw ork
Clock synchronization 
request packet
Operates in the passive 
peer mode automatically
Netw ork
Response packet
Synchronize
Active peer Passive peer
Netw ork
Clock synchronization 
request packet
Operates in the passive 
peer mode automatically
Netw ork
Response packet
Synchronize
Active peer Passive peer
Netw ork
Clock synchronization 
request packet
Operates in the passive 
peer mode automatically
Netw ork
Response packet
Synchronize
Active peer Passive peer
Netw ork
Clock synchronization 
request packet
Operates in the passive 
peer mode automatically
Netw ork
Response packet
Synchronize
Active peer Passive peer
Netw ork
Clock synchronization 
request packet
Operates in the passive 
peer mode automatically
Netw ork
Response packet
Synchronize
Active peer Passive peer
Netw ork
Clock synchronization 
request packet
Operates in the passive 
peer mode automatically
Netw ork
Response packet
Synchronize
Active peer Passive peer
Netw ork
Clock synchronization 
request packet
Operates in the passive 
peer mode automatically
Netw ork
Response packet
Synchronize
Active peer Passive peer
Netw ork
Clock synchronization 
request packet
Operates in the passive 
peer mode automatically
Netw ork
Response packet
Synchronize
Active peer Passive peer
Netw ork
Clock synchronization 
request packet
Operates in the passive 
peer mode automatically
Netw ork
Response packet
Synchronize
Active peer Passive peer
Netw ork
Clock synchronization 
request packet
Operates in the passive 
peer mode automatically
Netw ork
Response packet
Synchronize
Active peer Passive peer
Netw ork
Clock synchronization 
request packet
Operates in the passive 
peer mode automatically
Netw ork
Response packet
Synchronize
Active peer Passive peer
Netw ork
Clock synchronization 
request packet
Operates in the passive 
peer mode automatically
Netw ork
Response packet
Synchronize
Active peer Passive peer
Netw ork
Clock synchronization 
request packet
Operates in the passive 
peer mode automatically
Netw ork
Response packet
Synchronize
Active peer Passive peer
Netw ork
Clock synchronization 
request packet
Operates in the passive 
peer mode automatically
Netw ork
Response packet
Synchronize
In peer mode, both
sides are synchronized
to the clock with
smaller stratum
 
Figure 1-3 NTP implementation mode: peer mode 
In peer mode, the active peer sends clock synchronization packets first, and its peer 
works as a passive peer automatically. 
If both of the peers have reference clocks, the one with smaller stratum is adopted.