R21xx-HP FlexFabric 11900 Network Management and Monitoring Command Reference

27
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, Layer 3 Ethernet 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.
Examples
# Disable VLAN-interface 1 from receiving NTP messages.
<Sysname> system-view
[Sysname] interface vlan-interface 1
[Sysname-Vlan-interface1] ntp-service inbound disable
ntp-service ipv6 acl
Use ntp-service ipv6 acl to configure the access-control right for the peer devices to access the IPv6 NTP
services of the local device.