Example
Run the
display ntp-service status
command to view the status of the NTP service.
<HUAWEI>
display ntp-service status
clock status: synchronized
clock stratum: 2
reference clock ID: LOCAL (0)
nominal frequency: 60.0002 Hz
actual frequency: 60.0002 Hz
clock precision: 2^18
clock offset: 0.0000 ms
root delay: 0.00 ms
root dispersion: 0.00 ms
peer dispersion: 10.00 ms
reference time: 15:51:36.259 UTC Apr 25 2005 (C6179088.426490A3)
Run the
display ntp-service sessions verbose
command to view the status of NTP sessions.
<HUAWEI>
display ntp-service sessions verbose
clock source: 172.11.12.1
clock stratum: 1
clock status: configured, master, sane, valid
reference clock ID: LOCAL(0)
local mode: client, local poll: 10
peer mode: server, peer poll: 10
offset: -3.2385 ms,delay: 26.97 ms, disper: 14.85 ms
root delay: 0.00 ms, root disper: 10.94 ms
reach: 377, sync dist: 0.058, sync state: 4
precision: 2^18, version: 3, peer interface: wildcard
reftime: 10:01:38.546 UTC Sep 5 2005(C6C69602.8C00DA1A)
orgtime: 10:01:43.463 UTC Sep 5 2005(C6C69607.76ACC921)
rcvtime: 10:01:43.480 UTC Sep 5 2005(C6C69607.7AF4ADBC)
xmttime: 10:01:43.452 UTC Sep 5 2005(C6C69607.73F1E8E6)
filter delay : 0.03 0.02 0.03 0.02 0.02 0.02 0.04 0.02
filter offset: 0.00 -0.01 0.00 0.01 0.00 0.00 0.00 0.00
filter disper: 0.03 0.02 0.00 0.11 0.09 0.08 0.06 0.05
2.5 Configuring the System Clock
You need to correctly set the system clock to ensure synchronization with other devices.
Applicable Environment
NTP provides the provision for configuring the system datetime, timezone and daylight saving
time information.
In the application environment where absolute time is strictly required, the current date and clock
of the router must be set.
Pre-configuration Tasks
None
Procedure
Step 1
Run:
clock datetime
time
date
The current time is set.
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.
33