Operation Manual – NTP
Quidway S3100 Series Ethernet Switches Chapter 1
NTP Configuration
Huawei Technologies Proprietary
1-4
ve peer
II. Peer mode
Active peer Passi
Netw ork
Clock synchronization
request packet
Oper
peer
ates in the passive
mode automatically
Netw ork
Response packet
Synchronize
Active peer Passi
ve peer
Netw ork
Clock synchronization
request packet
Oper
peer
ates in the passive
mode automatically
Netw ork
Response packet
Synchronize
Active peer Passi
ve peer
Netw ork
Clock synchronization
request packet
Oper
peer
ates in the passive
mode automatically
Netw ork
Response packet
Synchronize
Active peer Passi
ve peer
Netw ork
Clock synchronization
request packet
Oper
peer
ates in the passive
mode automatically
Netw ork
Response packet
Synchronize
Active peer Passi
ve peer
Netw ork
Clock synchronization
request packet
Oper
peer
ates in the passive
mode automatically
Netw ork
Response packet
Synchronize
Active peer Passi
ve peer
Netw ork
Clock synchronization
request packet
Oper
peer
ates in the passive
mode automatically
Netw ork
Response packet
Synchronize
Active peer Passi
ve peer
Netw ork
Clock synchronization
request packet
Oper
peer
ates in the passive
mode automatically
Netw ork
Response packet
Synchronize
Active peer Passi
ve peer
Netw ork
Clock synchronization
request packet
Oper
peer
ates in the passive
mode automatically
Netw ork
Response packet
Synchronize
Active peer Passi
ve peer
Netw ork
Clock synchronization
request packet
Oper
peer
ates in the passive
mode automatically
Netw ork
Response packet
Synchronize
Active peer Passi
ve peer
Netw ork
Clock synchronization
request packet
Oper
peer
ates in the passive
mode automatically
Netw ork
Response packet
Synchronize
Active peer Passi
ve peer
Netw ork
Clock synchronization
request packet
Oper
peer
ates in the passive
mode automatically
Netw ork
Response packet
Synchronize
Active peer Passi
ve peer
Netw ork
Clock synchronization
request packet
Oper
peer
ates in the passive
mode automatically
Netw ork
Response packet
Synchronize
In peer mode, both
sides are synchronized
to the clock with
smaller stratum
Active peer Passi
ve peer
Netw ork
Clock synchronization
request packet
Oper
peer
ates in the passive
mode automatically
Netw ork
Response packet
Synchronize
Active peer Passi
ve peer
Netw ork
Clock synchronization
request packet
Oper
peer
ates in the passive
mode automatically
Netw ork
Response packet
Synchronize
Active peer Passi
ve peer
Netw ork
Clock synchronization
request packet
Oper
peer
ates in the passive
mode automatically
Netw ork
Response packet
Synchronize
Active peer Passi
ve peer
Netw ork
Clock synchronization
request packet
Oper
peer
ates in the passive
mode automatically
Netw ork
Response packet
Synchronize
Active peer Passi
ve peer
Netw ork
Clock synchronization
request packet
Oper
peer
ates in the passive
mode automatically
Netw ork
Response packet
Synchronize
Active peer Passi
ve peer
Netw ork
Clock synchronization
request packet
Oper
peer
ates in the passive
mode automatically
Netw ork
Response packet
Synchronize
Active peer Passi
ve peer
Netw ork
Clock synchronization
request packet
Oper
peer
ates in the passive
mode automatically
Netw ork
Response packet
Synchronize
Active peer Passi
ve peer
Netw ork
Clock synchronization
request packet
Oper
peer
ates in the passive
mode automatically
Netw ork
Response packet
Synchronize
Active peer Passi
ve peer
Netw ork
Clock synchronization
request packet
Oper
peer
ates in the passive
mode automatically
Netw ork
Response packet
Synchronize
Active peer Passi
ve peer
Netw ork
Clock synchronization
request packet
Oper
peer
ates in the passive
mode automatically
Netw ork
Response packet
Synchronize
Active peer Passi
ve peer
Netw ork
Clock synchronization
request packet
Oper
peer
ates in the passive
mode automatically
Netw ork
Response packet
Synchronize
Active peer Passi
ve peer
Netw ork
Clock synchronization
request packet
Oper
peer
ates in the passive
mode automatically
Netw ork
Response packet
Synchronize
Active peer Passi
ve peer
Netw ork
Clock synchronization
request packet
Oper
peer
ates in the passive
mode automatically
Netw ork
Response packet
Synchronize
Active peer Passi
ve peer
Netw ork
Clock synchronization
request packet
Oper
peer
ates in the passive
mode automatically
Netw ork
Response packet
Synchronize
Active peer Passi
ve peer
Netw ork
Clock synchronization
request packet
Oper
peer
ates in the passive
mode automatically
Netw ork
Response packet
Synchronize
Active peer Passi
ve peer
Netw ork
Clock synchronization
request packet
Oper
peer
ates in the passive
mode automatically
Netw ork
Response packet
Synchronize
Active peer Passi
ve peer
Netw ork
Clock synchronization
request packet
Oper
peer
ates in the passive
mode automatically
Netw ork
Response packet
Synchronize
Active peer Passi
ve peer
Netw ork
Clock synchronization
request packet
Oper
peer
ates in the passive
mode automatically
Netw ork
Response packet
Synchronize
Active peer Passi
ve peer
Netw ork
Clock synchronization
request packet
Oper
peer
ates in the passive
mode automatically
Netw ork
Response packet
Synchronize
Active peer Passi
ve peer
Netw ork
Clock synchronization
request packet
Oper
peer
ates in the passive
mode automatically
Netw ork
Response packet
Synchronize
Active peer Passi
ve peer
Netw ork
Clock synchronization
request packet
Oper
peer
ates in the passive
mode automatically
Netw ork
Response packet
Synchronize
Active peer Passi
ve peer
Netw ork
Clock synchronization
request packet
Oper
peer
ates in the passive
mode automatically
Netw ork
Response packet
Synchronize
Active peer Passi
ve peer
Netw ork
Clock synchronization
request packet
Oper
peer
ates in the passive
mode automatically
Netw ork
Response packet
Synchronize
Active peer Passi
ve peer
Netw ork
Clock synchronization
request packet
Oper
peer
ates in the passive
mode automatically
Netw ork
Response packet
Synchronize
Active peer Passi
ve peer
Netw ork
Clock synchronization
request packet
Oper
peer
ates in the passive
mode automatically
Netw ork
Response packet
Synchronize
Active peer Passi
ve peer
Netw ork
Clock synchronization
request packet
Oper
peer
ates in the passive
mode automatically
Netw ork
Response packet
Synchronize
Active peer Passi
ve peer
Netw ork
Clock synchronization
request packet
Oper
peer
ates in the passive
mode automatically
Netw ork
Response packet
Synchronize
Active peer Passi
ve peer
Netw ork
Clock synchronization
request packet
Oper
peer
ates in the passive
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.
III. Broadcast mode
Netw ork
ClientServer
Broadcast clock synchronization
packets periodically
Client/Server mode request
Initiate a cli
request after
first broadca
ent/server mode
receiving the
st packet
Response packet
Obtain the del
client and t
a client in br
ay betw een the
he server and work as
oadcast mode
Broadcast clock synchronization
packets periodically
Work as a server
automatically and
send response
packets
Receive br
synchronize
oadcast packets and
its local clock
Netw ork
ClientServer
Broadcast clock synchronization
packets periodically
request after
first broadca
receiving the
st packet
Response packet
Obtain the del
client and t
ay betw een the
he server and work as
Broadcast clock synchronization
packets periodically
Work as a server
automatically and
send response
packets
Receive br
synchronize
oadcast packets and
its local clock
Netw ork
ClientServer
Broadcast clock synchronization
packets periodically
Client/Server mode request
Initiate a cli
request after
first broadca
ent/server mode
receiving the
st packet
Response packet
Obtain the del
client and t
a client in br
ay betw een the
he server and work as
oadcast mode
Broadcast clock synchronization
packets periodically
Work as a server
automatically and
send response
packets
Receive br
synchronize
oadcast packets and
its local clock
Netw ork
ClientServer
Broadcast clock synchronization
packets periodically
request after
first broadca
receiving the
st packet
Response packet
Obtain the del
client and t
ay betw een the
he server and work as
Broadcast clock synchronization
packets periodically
Work as a server
automatically and
send response
packets
Receive br
synchronize
oadcast packets and
its local clock
e
Figure 1-4 NTP implementation mode: broadcast mod
IV. Multicast mode
Netw ork
ClientServer
Multicast clock synchronization
packets periodically
Client/Server model request
Initiate a c
request af
first multic
lient/server mode
ter receiving the
ast packet
Response packet
Multicast clock synchronization
packets periodically
Work as a server
automatically and
send response
packets
Obtain the del
client and t
as a client
Receive m
synchroni
ay betw een the
he server and work
in multicast mode
ulticast packets and
ze its local clock
Netw ork
ClientServer
Multicast clock synchronization
packets periodically
Client/Server model request
request af
first multic
ter receiving the
ast packet
Response packet
Multicast clock synchronization
packets periodically
Work as a server
automatically and
send response
packets
Obtain the del
client and t
Receive m
synchroni
ay betw een the
he server and work
ulticast packets and
ze its local clock
Netw ork
ClientServer
Multicast clock synchronization
packets periodically
Client/Server model request
Initiate a c
request af
first multic
lient/server mode
ter receiving the
ast packet
Response packet
Multicast clock synchronization
packets periodically
Work as a server
automatically and
send response
packets
Obtain the del
client and t
as a client
Receive m
synchroni
ay betw een the
he server and work
in multicast mode
ulticast packets and
ze its local clock
Netw ork
ClientServer
Multicast clock synchronization
packets periodically
Client/Server model request
request af
first multic
ter receiving the
ast packet
Response packet
Multicast clock synchronization
packets periodically
Work as a server
automatically and
send response
packets
Obtain the del
client and t
Receive m
synchroni
ay betw een the
he server and work
ulticast packets and
ze its local clock
e
Figure 1-5 NTP implementation mode: multicast mod
Table 1-1 describes how the above mentioned NTP modes are implemented on an
S3100 series switch.