Procedure
l
Run the
display ntp-service status
command to view the status of the NTP service.
l
Run the
display ntp-service sessions
[
verbose
] command to view the status of NTP
sessions.
l
Run the
display ntp-service trace
command to view the summary information on each
passing NTP server when tracing from the local device to the reference clock source.
----End
Example
Run the
display ntp-service status
command to view the status of the NTP service.
<Quidway>
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 2010(C6179088.426490A3)
Run the
display ntp-service sessions
[
verbose
] command to view the status of NTP sessions.
<Quidway>
display ntp-service sessions
source reference stra reach poll now offset delay
disper
********************************************************************************
[12345]127.127.1.0 LOCAL(0) 7 1 64 2 - 0.0
15.6
note: 1 source(master),2 source(peer),3 selected,4 candidate,5 configured,
6 vpn-instance
Run the
display ntp-service trace
command to view the summary information on each passing
NTP server when tracing from the local device to the reference clock source.
<Quidway>
display ntp-service trace
server 127.0.0.1,stratum 5, offset 0.024099, synch distance 0.06337
server 171.1.1.2,stratum 4, offset 0.028786, synch distance 0.04575
server 201.1.1.2,stratum 3, offset 0.035199, synch distance 0.03075
server 200.1.7.1,stratum 2, offset 0.039855, synch distance 0.01096
refid 127.127.1.0
4.4 Configuring NTP Security Mechanisms
This section describes how to configure NTP security mechanisms to guarantee reliable clock
synchronization on networks demanding high security.
4.4.1 Establishing the Configuration Task
Before configuring NTP security mechanisms , familiarize yourself with the applicable
environment, complete the pre-configuration tasks, and obtain the required data. This can help
you complete the configuration task quickly and accurately.
Quidway S2700 Series Ethernet Switches
Configuration Guide - Network Management
4 NTP Configuration
Issue 01 (2011-07-15)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
221