103
Views
Interface view
Predefined user roles
network-admin
mdc-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 processing 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 access-control right for the peer devices to access the
IPv6 NTP services of the local device.
Use
undo ntp-service ipv6 acl
to remove the configured NTP service access-control right.
Syntax
ntp-service ipv6
{
peer
|
query
|
server
|
synchronization
}
acl
acl-number
undo ntp-service ipv6
{
peer
|
query
|
server
|
synchronization
}
acl
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
mdc-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.
synchronization
: Allows only time requests from a system whose address passes the access list
criteria.
acl
acl-number
: Specifies an ACL. The peer devices that match the ACL have the access right
specified in the command. The
acl-number argument
represents a basic ACL number in the range of
2000 to 2999.