111
Views
Interface view
Predefined user roles
network-admin
Usage guidelines
Execute the undo ntp-service inbound enablecommand 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 theinterface.
Examples
# Disable GigabitEthernet1/0/1 from receiving NTP messages.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] undo ntp-service inboundenable
ntp-service ipv6 acl
Use ntp-service ipv6 aclto configure the access-control right for the peer devices to access the
IPv6 NTP services of the local device.
Use undo ntp-service ipv6 aclto remove the configured NTP service access-control right.
Syntax
ntp-service ipv6{ peer |query | server | synchronization } aclipv6-acl-number
undo ntp-service ipv6{ peer |query | server | synchronization }aclipv6-acl-number
Default
The access-control right for the peer devices to access the IPv6 NTP services of 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.
query: Allows only NTP control queries from a peer device to the local device.
server: Allows time requests and NTP control queries, but does not allow the local device to
synchronize itself to a peer device.