ntp-service inbound enable
Use ntp-service inbound enable to enable an interface to receive NTP messages.
Use undo ntp-service inbound enable to disable an interface from receiving NTP messages.
Syntax
ntp-service inbound enable
undo ntp-service inbound enable
Default
An interface receives NTP messages.
Views
Interface view
Predefined user roles
network-admin
Usage guidelines
Execute the undo ntp-service inbound enable command on an interface in the following cases:
•
You do not want the interface to synchronize the peer device in the corresponding subnet.
•
You do not want the device to be synchronized by the peer device in the subnet corresponding
to the interface.
Examples
# Disable VLAN-interface 1 from receiving NTP messages.
<Sysname> system-view
[Sysname] interface vlan-interface 1
[Sysname-Vlan-interface1] undo ntp-service inbound enable
ntp-service ipv6 acl
Use ntp-service ipv6 acl to configure the right for the peer devices to access the IPv6 NTP services
of the local device.
Use undo ntp-service ipv6 to remove the configured IPv6 NTP service access right.
Syntax
ntp-service ipv6 { peer | query | server | synchronization } acl ipv6-acl-number
undo ntp-service ipv6 { peer | query | server | synchronization } [ acl ipv6-acl-number ]
Default
The right for the peer devices to access the IPv6 NTP services on the local device is peer.
Views
System view
Predefined user roes
network-admin
Parameters
peer: Allows time requests and NTP control queries (such as alarms, authentication status, and time
server information) and allows the local device to synchronize itself to a peer device.
108