
Operation Manual – NTP
H3C S5600 Series Ethernet Switches-Release 1510 Chapter 1 NTP Configuration
1-4
e peer
II. Peer mode
Active peer Passiv
Netw ork
Clock synchronization
request packet Oper
peer m
ates in the passive
ode automatically
Netw ork
Response packet
Synchronize
Active peer Passive peer
Netw ork
Clock synchronization
request packet Oper
peer m
ates in the passive
ode automatically
Netw ork
Response packet
Synchronize
Active peer Passive peer
Netw ork
Clock synchronization
request packet Oper
peer m
ates in the passive
ode automatically
Netw ork
Response packet
Synchronize
Active peer Passive peer
Netw ork
Clock synchronization
request packet Oper
peer m
ates in the passive
ode automatically
Netw ork
Response packet
Synchronize
Active peer Passive peer
Netw ork
Clock synchronization
request packet Oper
peer m
ates in the passive
ode automatically
Netw ork
Response packet
Synchronize
Active peer Passive peer
Netw ork
Clock synchronization
request packet Oper
peer m
ates in the passive
ode automatically
Netw ork
Response packet
Synchronize
Active peer Passive peer
Netw ork
Clock synchronization
request packet Oper
peer m
ates in the passive
ode automatically
Netw ork
Response packet
Synchronize
Active peer Passive peer
Netw ork
Clock synchronization
request packet Oper
peer m
ates in the passive
ode automatically
Netw ork
Response packet
Synchronize
Active peer Passive peer
Netw ork
Clock synchronization
request packet Oper
peer m
ates in the passive
ode automatically
Netw ork
Response packet
Synchronize
Active peer Passive peer
Netw ork
Clock synchronization
request packet Oper
peer m
ates in the passive
ode automatically
Netw ork
Response packet
Synchronize
Active peer Passive peer
Netw ork
Clock synchronization
request packet Oper
peer m
ates in the passive
ode automatically
Netw ork
Response packet
Synchronize
Active peer Passive peer
Netw ork
Clock synchronization
request packet Oper
peer m
ates in the passive
ode automatically
Netw ork
Response packet
Synchronize
In peer mode, both
sides aresynchronized
to the clockwith
smaller stratum
Active peer Passive peer
Netw ork
Clock synchronization
request packet Oper
peer m
ates in the passive
ode automatically
Netw ork
Response packet
Synchronize
Active peer Passive peer
Netw ork
Clock synchronization
request packet Oper
peer m
ates in the passive
ode automatically
Netw ork
Response packet
Synchronize
Active peer Passive peer
Netw ork
Clock synchronization
request packet Oper
peer m
ates in the passive
ode automatically
Netw ork
Response packet
Synchronize
Active peer Passive peer
Netw ork
Clock synchronization
request packet Oper
peer m
ates in the passive
ode automatically
Netw ork
Response packet
Synchronize
Active peer Passive peer
Netw ork
Clock synchronization
request packet Oper
peer m
ates in the passive
ode automatically
Netw ork
Response packet
Synchronize
Active peer Passive peer
Netw ork
Clock synchronization
request packet Oper
peer m
ates in the passive
ode automatically
Netw ork
Response packet
Synchronize
Active peer Passive peer
Netw ork
Clock synchronization
request packet Oper
peer m
ates in the passive
ode automatically
Netw ork
Response packet
Synchronize
Active peer Passive peer
Netw ork
Clock synchronization
request packet Oper
peer m
ates in the passive
ode automatically
Netw ork
Response packet
Synchronize
Active peer Passive peer
Netw ork
Clock synchronization
request packet Oper
peer m
ates in the passive
ode automatically
Netw ork
Response packet
Synchronize
Active peer Passive peer
Netw ork
Clock synchronization
request packet Oper
peer m
ates in the passive
ode automatically
Netw ork
Response packet
Synchronize
Active peer Passive peer
Netw ork
Clock synchronization
request packet Oper
peer m
ates in the passive
ode automatically
Netw ork
Response packet
Synchronize
Active peer Passive peer
Netw ork
Clock synchronization
request packet Oper
peer m
ates in the passive
ode automatically
Netw ork
Response packet
Synchronize
Active peer Passive peer
Netw ork
Clock synchronization
request packet Oper
peer m
ates in the passive
ode automatically
Netw ork
Response packet
Synchronize
Active peer Passive peer
Netw ork
Clock synchronization
request packet Oper
peer m
ates in the passive
ode automatically
Netw ork
Response packet
Synchronize
Active peer Passive peer
Netw ork
Clock synchronization
request packet Oper
peer m
ates in the passive
ode automatically
Netw ork
Response packet
Synchronize
Active peer Passive peer
Netw ork
Clock synchronization
request packet Oper
peer m
ates in the passive
ode automatically
Netw ork
Response packet
Synchronize
Active peer Passive peer
Netw ork
Clock synchronization
request packet Oper
peer m
ates in the passive
ode automatically
Netw ork
Response packet
Synchronize
Active peer Passive peer
Netw ork
Clock synchronization
request packet Oper
peer m
ates in the passive
ode automatically
Netw ork
Response packet
Synchronize
Active peer Passive peer
Netw ork
Clock synchronization
request packet Oper
peer m
ates in the passive
ode automatically
Netw ork
Response packet
Synchronize
Active peer Passive peer
Netw ork
Clock synchronization
request packet Oper
peer m
ates in the passive
ode automatically
Netw ork
Response packet
Synchronize
Active peer Passive peer
Netw ork
Clock synchronization
request packet Oper
peer m
ates in the passive
ode automatically
Netw ork
Response packet
Synchronize
Active peer Passive peer
Netw ork
Clock synchronization
request packet Oper
peer m
ates in the passive
ode automatically
Netw ork
Response packet
Synchronize
Active peer Passive peer
Netw ork
Clock synchronization
request packet Oper
peer m
ates in the passive
ode automatically
Netw ork
Response packet
Synchronize
Active peer Passive peer
Netw ork
Clock synchronization
request packet Oper
peer m
ates in the passive
ode automatically
Netw ork
Response packet
Synchronize
Active peer Passive peer
Netw ork
Clock synchronization
request packet Oper
peer m
ates in the passive
ode automatically
Netw ork
Response packet
Synchronize
Active peer Passive peer
Netw ork
Clock synchronization
request packet Oper
peer m
ates in the passive
ode automatically
Netw ork
Response packet
Synchronize
Active peer Passive peer
Netw ork
Clock synchronization
request packet Oper
peer m
ates in the passive
ode automatically
Netw ork
Response packet
Synchronize
Active peer Passive peer
Netw ork
Clock synchronization
request packet Oper
peer m
ates in the passive
ode automatically
Netw ork
Response packet
Synchronize
In peer mode, both
sides aresynchronized
to the clockwith
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 clien
request after
first broadcas
t/server mode
receiving the
t packet
Response packet Obtain the de
client and the
a client in bro
lay betw een the
server andwork as
adcast mode
Broadcast clock synchronization
packets periodically
Work as aserver
automatically and
send response
packets Receive broa
synchronize itdcast packets and
s local clock
Netw ork
ClientServer
Broadcast clock synchronization
packets periodically request after
first broadcasreceiving the
t packet
Response packet Obtain the de
client and thelay betw een the
server andwork as
Broadcast clock synchronization
packets periodically
Work as aserver
automatically and
send response
packets Receive broa
synchronize itdcast packets and
s local clock
Netw ork
ClientServer
Broadcast clock synchronization
packets periodically
Client/Server mode request
Initiate a clien
request after
first broadcas
t/server mode
receiving the
t packet
Response packet Obtain the de
client and the
a client in bro
lay betw een the
server andwork as
adcast mode
Broadcast clock synchronization
packets periodically
Work as aserver
automatically and
send response
packets Receive broa
synchronize itdcast packets and
s local clock
Netw ork
ClientServer
Broadcast clock synchronization
packets periodically request after
first broadcasreceiving the
t packet
Response packet Obtain the de
client and thelay betw een the
server andwork as
Broadcast clock synchronization
packets periodically
Work as aserver
automatically and
send response
packets Receive broa
synchronize itdcast packets and
s 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 cli
request af
first multica
ent/server mode
ter receiving the
st packet
Response packet
Multicast clock synchronization
packets periodically
Work as a server
automatically and
send response
packets
Obtain the
client and th
as a client i
Receive mu
synchroniz
delay between the
e server andwork
n multicast mode
lticast packets and
e its local clock
Netw ork
ClientServer
Multicast clock synchronization
packets periodically
Client/Server model request
request af
first multica
ter receiving the
st packet
Response packet
Multicast clock synchronization
packets periodically
Work as a server
automatically and
send response
packets
Obtain the
client and th
Receive mu
synchroniz
delay between the
e server andwork
lticast packets and
e its local clock
Netw ork
ClientServer
Multicast clock synchronization
packets periodically
Client/Server model request
Initiate a cli
request af
first multica
ent/server mode
ter receiving the
st packet
Response packet
Multicast clock synchronization
packets periodically
Work as a server
automatically and
send response
packets
Obtain the
client and th
as a client i
Receive mu
synchroniz
delay between the
e server andwork
n multicast mode
lticast packets and
e its local clock
Netw ork
ClientServer
Multicast clock synchronization
packets periodically
Client/Server model request
request af
first multica
ter receiving the
st packet
Response packet
Multicast clock synchronization
packets periodically
Work as a server
automatically and
send response
packets
Obtain the
client and th
Receive mu
synchroniz
delay between the
e server andwork
lticast packets and
e 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
S5600 series switch.