4.5 Maintaining NTP
This section describes how to debug NTP through the debugging command in case of an NTP
operation fault.
Context
CAUTION
Debugging affects the performance of the system. So, after debugging, run the undo debugging
all command to disable it immediately.
Run the following debugging commands in the user view to debug NTP and locate the fault.
For the description about the debugging commands, refer to the Quidway S5700 Series Ethernet
Switches Command Reference.
Procedure
Step 1 Run the debugging ntp-service { access | adjustment | all | authentication | event | filter |
packet | parameter | refclock | selection | synchronization | validity } to enable NTP
debugging.
----End
4.6 Configuration Examples
This section provides several configuration examples of NTP.
4.6.1 Example for Configuring NTP Authentication in Unicast
Client/Server Mode
Networking Requirements
Figure 4-2 shows the diagram of NTP.
l Switch A functions as a unicast NTP server. The clock of Switch A is the master clock with
the stratum being 2.
l Switch B functions as a unicast NTP client. Its clock needs to be synchronized with the
clock of Switch A.
l Switch C and Switch D function as NTP clients of Switch B.
l NTP authentication needs to be enabled.
Quidway S5700 Series Ethernet Switches
Configuration Guide - Network Management 4 NTP Configuration
Issue 01 (2011-10-26) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
228