2.3.6 Disabling the Interface From Receiving NTP Packets
To prevent a host on the LAN from synchronizing the clock on the specified server, you can
disable the specified interface on the host from receiving NTP packets.
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:
ntp-service in-interface disable
The interface on the router is disabled from receiving NTP packets.
Step 4
Run:
commit
The configurations are committed.
----End
2.3.7 Checking the Configuration
After the basic NTP functions are configured, you can view the details about the configured and
the dynamic NTP sessions, the status of the NTP service and so on.
Prerequisite
All configurations of basic NTP functions are complete.
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 ntp-service bd-status
command to view the status of each board on a
router.
----End
Example
Run the
display ntp-service sessions
command to view the details about the configured and the
dynamic NTP sessions.
<HUAWEI>
display ntp-service sessions
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.
25