494
C
22: F
S
HAPTER
ILE
YSTEM
NTP Configuration
Configuring NTP
Operating Mode
M
ANAGEMENT
In this way, Switch A uses the above information to set the local clock and
synchronize it with the clock on Switch B.
The operating principle of NTP is briefly introduced above. For more information, refer
to RFC1305.
NTP is used for time synchronization throughout a network. NTP configuration tasks
include:
Configure NTP operating mode
■
Configure NTP ID authentication
■
Set NTP authentication key
■
Set the specified key to be reliable
■
Set a local interface for transmitting NTP packets
■
Set an external reference clock or the local clock as the master NTP clock
■
Enable/Disable an interface to receive NTP packets
■
Set control authority to access the local Switch service
■
Set maximum local sessions
■
You can set the NTP operating mode of a Switch 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 Switch works as an NTP
client. If you set a remote server as a peer of the local Switch, the local equipment
operates in symmetric active mode. If you configure an interface on the local Switch
to transmit NTP broadcast packets, the local Switch will operate in broadcast mode. If
you configure an interface on the local Switch to receive NTP broadcast packets, the
local Switch will operate in broadcast client mode. If you configure an interface on
the local Switch to transmit NTP multicast packets, the local Switch will operate in
multicast mode. Or you may also configure an interface on the local Switch to receive
NTP multicast packets, the local Switch will operate in multicast client mode.
Configure NTP server mode
■
Configure NTP peer mode
■
Configure NTP broadcast server mode
■
Configure NTP broadcast client mode
■
Configure NTP multicast server mode
■
Configure NTP multicast client mode
■
Configuring NTP Server Mode
Set a remote server whose ip address is ip-address as the local time server. ip-address
specifies a host address other than a broadcast, multicast or reference clock IP
address. In this case, the local Switch operates in client mode. In this mode, only the
local client synchronizes its clock with the clock of the remote server, while the reverse
synchronization will not happen.
Perform the following configurations in System View.