Related commands
ntp-service broadcast-client
ntp-service enable
Use ntp-service enable to enable the NTP service.
Use undo ntp-service enable to disable the NTP service.
Syntax
ntp-service enable
undo ntp-service enable
Default
The NTP service is not enabled.
Views
System view
Predefined user roles
network-admin
Examples
# Enable the NTP service.
<Sysname> system-view
[Sysname] ntp-service enable
ntp-service inbound disable
Use ntp-service inbound disable to disable an interface from receiving NTP messages.
Use undo ntp-service inbound disable to restore the default.
Syntax
ntp-service inbound disable
undo ntp-service inbound disable
Default
All interfaces are enabled to receive NTP messages.
Views
VLAN interface view
Predefined user roles
network-admin
Usage guidelines
To disable an interface on the device from synchronizing the peer device in the corresponding subnet or
disable the device from being synchronized by the peer device in the subnet corresponding to an
interface, execute the command on the interface to disable the interface from receiving NTP messages.
31