Procedure
Step 1
Run:
system-view
The system view is displayed.
Step 2
Run:
interface
interface-type
interface-number
The interface view is displayed.
Step 3
Run:
quit
The system view is displayed.
Step 4
Run:
ntp-service in-interface disable
The interface on the router is disabled from receiving NTP packets.
----End
5.2.8 Checking the Configuration
After basic NTP functions are configured, you can view the configuration.
Prerequisites
The configurations of the Basic NTP Functions are complete.
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.
<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 2010(C6179088.426490A3)
Run the
display ntp-service sessions
[
verbose
] command to view the status of NTP sessions.
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.
118