1-3
This is only a rough description of the work mechanism of NTP. For details, refer to RFC 1305.
NTP Message Format
NTP uses two types of messages, clock synchronization message and NTP control message. An NTP
control message is used in environments where network management is needed. As it is not a must for
clock synchronization, it will not be discussed in this document.
All NTP messages mentioned in this document refer to NTP clock synchronization messages.
A clock synchronization message is encapsulated in a UDP message, in the format shown in
Figure 1-2
.
Figure 1-2
Clock synchronization message format
LI
VN
Mode
Stratum
Poll
Precision
0
7
15
23
31
Root delay (32 bits)
Root dispersion (32 bits)
Reference identifier (32 bits)
Receive timestamp (64 bits)
Transmit timestamp (64 bits)
Authenticator (optional 96 bits)
Reference timestamp (64 bits)
Originate timestamp (64 bits)
1
4
Main fields are described as follows:
z
LI: 2-bit leap indicator. When set to 11, it warns of an alarm condition (clock unsynchronized); when
set to any other value, it is not to be processed by NTP.
z
VN: 3-bit version number, indicating the version of NTP. The latest version is version 3.
z
Mode: a 3-bit code indicating the work mode of NTP. This field can be set to these values: 0 –
reserved; 1 – symmetric active; 2 – symmetric passive; 3 – client; 4 – server; 5 – broadcast or
multicast; 6 – NTP control message; 7 – reserved for private use.
z
Stratum: an 8-bit integer indicating the stratum level of the local clock, with the value ranging from 1
to 16. The clock precision decreases from stratum 1 through stratum 16. A stratum 1 clock has the
highest precision, and a stratum 16 clock is not synchronized and cannot be used as a reference
clock.
Содержание 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...