![Huawei AR150/200 Series Скачать руководство пользователя страница 119](http://html.mh-extra.com/html/huawei/ar150-200-series/ar150-200-series_configuration-manual_169293119.webp)
5.1 Overview of NTP
This section describes NTP.
5.1.1 Introduction to NTP
This part describes the application and working principles of NTP.
Network Time Protocol (NTP) synchronizes clocks of all devices in a network. It keeps all the
clocks of these devices consistent, and enables devices to implement various applications based
on the uniform time.
Any local system that runs NTP can be time synchronized by other clock sources, and also
functions as a clock source to synchronize other clocks. In addition, mutual synchronization can
be performed by exchanging NTP packets.
NTP packets are encapsulated in UDP packets for transmission and the port used by the NTP
protocol is 123.
NTP Application
NTP is applied to the following situations where all the clocks of hosts or routers in a network
need to be consistent:
l
Network management: Analysis on logs or debugging information collected from different
routers should be performed based on time.
l
Charging system: requires the clocks of all devices to be consistent.
l
Completing certain functions: For example, restart of all the routers in a network requires
the clocks of all the routers be consistent.
l
Several systems working together on the same complicate event: Systems have to take the
same clock for reference to ensure a proper sequence of implementation.
l
Incremental backup between the backup server and clients: Clocks on the backup server
and clients should be synchronized.
l
User login time: Some applications need to know the time when user logs in to the system
and the file revision time.
When all the devices on a network need to be synchronized, it is almost impossible for an
administrator to manually change the system clock by executing command lines. This is because
the work load is heavy and clock accuracy cannot be ensured. NTP can quickly synchronize the
clocks of network devices and ensure their precision.
NTP has the following advantages:
l
Defines clock accuracy by means of stratum to synchronize the time of network devices in
a short time
l
Supports access control and MD5 authentication
l
Transmits packets in unicast, manycast, or broadcast mode
Huawei AR150&200 Series Enterprise Routers
Configuration Guide - Network Management
5 NTP Configuration
Issue 02 (2012-03-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
108