1-2
z
NTP supports access control and MD5 authentication.
z
NTP can unicast, multicast or broadcast protocol messages.
How NTP Works
Figure 1-1
shows the basic workflow of NTP. Device A and Device B are interconnected over a network.
They have their own independent system clocks, which need to be automatically synchronized through
NTP. For an easy understanding, we assume that:
z
Prior to system clock synchronization between Device A and Device B, the clock of Device A is set
to 10:00:00 am while that of Device B is set to 11:00:00 am.
z
Device B is used as the NTP time server, namely, Device A synchronizes its clock to that of Device
B.
z
It takes 1 second for an NTP message to travel from one device to the other.
Figure 1-1
Basic work flow of NTP
IP network
IP network
IP network
IP network
Device B
Device A
Device B
Device A
Device B
Device A
Device B
Device A
10:00:00 am
11:00:01 am
10:00:00 am
NTP message
10:00:00 am
11:00:01 am
11:00:02 am
NTP message
NTP message
NTP message received at 10:00:03 am
1.
3.
2.
4.
The process of system clock synchronization is as follows:
z
Device A sends Device B an NTP message, which is timestamped when it leaves Device A. The
time stamp is 10:00:00 am (T1).
z
When this NTP message arrives at Device B, it is timestamped by Device B. The timestamp is
11:00:01 am (T2).
z
When the NTP message leaves Device B, Device B timestamps it. The timestamp is 11:00:02 am
(T3).
z
When Device A receives the NTP message, the local time of Device A is 10:00:03 am (T4).
Up to now, Device A has sufficient information to calculate the following two important parameters:
z
The roundtrip delay of NTP message: Delay = (T4–T1) – (T3-T2) = 2 seconds.
z
Time difference between Device A and Device B: Offset = ((T2-T1) + (T3-T4))/2 = 1 hour.
Based on these parameters, Device A can synchronize its own clock to the clock of Device B.
Содержание S7906E - Switch
Страница 82: ...1 4 DeviceA interface tunnel 1 DeviceA Tunnel1 service loopback group 1...
Страница 200: ...1 11 DeviceB display vlan dynamic No dynamic vlans exist...
Страница 494: ...ii Displaying and Maintaining Tunneling Configuration 1 45 Troubleshooting Tunneling Configuration 1 45...
Страница 598: ...ii...
Страница 1757: ...4 9...
Страница 1770: ...6 4...
Страница 2017: ...2 11 Figure 2 3 SFTP client interface...
Страница 2062: ...i Table of Contents 1 URPF Configuration 1 1 URPF Overview 1 1 What is URPF 1 1 How URPF Works 1 1 Configuring URPF 1 2...
Страница 2238: ...1 16 DeviceA cfd linktrace service instance 1 mep 1001 target mep 4002...
Страница 2442: ...2 4 Set the interval for sending Syslog or trap messages to 20 seconds Device mac address information interval 20...