358
C
11: S
HAPTER
YSTEM
Configuring NTP
M
ANAGEMENT
The system clocks are synchronized as follows:
Ethernet Switch A sends an NTP packet to Ethernet Switch B. The packet
■
carries the timestamp 10:00:00am (T1) that tells when it left Ethernet Switch A.
When the NTP packet arrives at Ethernet Switch B, Ethernet Switch B adds a
■
local timestamp 11:00:01am (T2) to it.
When the NTP packet leaves Ethernet Switch B, Ethernet Switch B adds
■
another local timestamp 11:00:02am (T3) to it.
When Ethernet Switch A receives the acknowledgement packet, it adds a new
■
timestamp 10:00:03am (T4) to it.
Next, Ethernet Switch A collects enough information to calculate the following
two important parameters:
The delay for a round trip of an NTP packet traveling between the Switch A and
■
B: Delay= (T4-T1) - (T3-T2).
Offset of Ethernet Switch A clock relative to Ethernet Switch B clock: offset= (
■
(T2-T1) + (T3-T4) ) /2.
Ethernet Switch A uses this information to set the local clock and to synchronize it
with the clock on Ethernet Switch B.
Configuring NTP is described in the following sections:
Configuring NTP
■
NTP Configuration Examples
■
NTP configuration includes the tasks described in the following sections:
Configuring NTP Operating Mode
■
Configuring NTP ID Authentication
■
Setting the NTP Authentication Key
■
Setting the Specified Key to Be Reliable
■
Designating an Interface to Transmit the NTP Message
■
Setting the NTP Master Clock
■
Enabling or Disabling an Interface to Receive an NTP Message
■
Setting the Authority to Access a Local Switch
■
Setting Maximum Local Sessions
■
Displaying and Debugging NTP
■
Configuring NTP Operating Mode
The Switch 7700 can only serve as an NTP client but not as an NTP server.
You can set the NTP operating mode of the Switch 7700 according to its location
in the network, and the network structure. For example, you can set a remote
server as the time server of the local equipment. In this case the local Ethernet
Switch works as an NTP client. If you set a remote server as a peer of the local
Ethernet Switch, the local equipment operates in symmetric active mode. If you
configure an interface on the local switch to transmit NTP broadcast packets, the