Procedure
l
Run the
display ntp-service sessions
command to view the details about the configured
and the dynamic NTP sessions.
l
Run the
display ntp-service status
command to view the status of the NTP service.
l
Run the
display ntp-service trace
command to trace the path of reference clock source
from the local device.
l
Run the
display clock
command to view the system time.
----End
2.7 Configuration Examples
This section provides several configuration examples of NTP.
2.7.1 Example for Configuring NTP Authentication in Unicast
Server and Client Mode
You must enable NTP authentication for the NTP client, and then specify the IP address for the
NTP server and the authentication key sent to the NTP server. Otherwise, if NTP authentication
fails, then no synchronization will take place. In general, for successful NTP authentication, you
must completely configure the NTP client and server.
Networking Requirements
CAUTION
On a single NE5000E, an interface is numbered in the format of slot number/card number/
interface number. On an NE5000E cluster, the interface is numbered in the format of chassis
ID/slot number/card number/interface number. This requires the chassis ID to be specified along
with the slot number.
l
Router A functions as a unicast NTP server. The clock on it functions as a primary NTP
clock with the stratum as 2.
l
Router B functions as a unicast NTP client. Its clock needs to synchronize with the clock
on Router A.
l
Router C and Router D function as NTP clients of Router B.
l
Enable NTP authentication on all the Routers.
HUAWEI NetEngine5000E Core Router
Configuration Guide - System Management
2 NTP Configuration
Issue 01 (2011-10-15)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
35