C613-50631-01 Rev A Command Reference for IE340 Series 3144
AlliedWare Plus™ Operating System - Version 5.5.3-0.x
NTP COMMANDS
NTP
RESTRICT
ntp restrict
Overview Use this command to configure a restriction (allow or deny) on NTP packets or NTP
functionality for a specific host/network or all hosts of a given IP family.
This means you can control host access to NTP service and NTP server status
queries.
Use the no variant of this command to remove a restriction from one or more
hosts.
Syntax
ntp restrict
{default-v4|default-v6|<host-address>|<host-subnet>}ď€
{allow|deny}
ntp restrict
{default-v4|default-v6|<host-address>|<host-subnet>} query
{allow|deny}
ntp restrict
{default-v4|default-v6|<host-address>|<host-subnet>} serve
{allow|deny}
no ntp restrict
{default-v4|default-v6|<host-address>|<host-subnet>}
Default By default, time service is allowed to all hosts, and NTP server status querying is
denied to all hosts.
Mode Global Configuration
Parameter Description
default-v4 Apply this restriction to all IPv4 hosts.
default-v6 Apply this restriction to all IPv6 hosts.
<host-address> Apply this restriction to the specified IPv4 or IPv6 host.
Enter an IPv4 address in the format A.B.C.D.
Enter an IPv6 address in the format X:X::X:X.
<host-subnet> Apply this restriction to the specified IPv4 subnet or IPv6 prefix.
Enter an IPv4 subnet in the format A.B.C.D/M.
Enter an IPv6 prefix in the format X:X::X:X/X.
query Control NTP server status queries to matching hosts.
serve Control NTP time service to matching hosts.
allow Allow the configured restriction.
deny Deny the configured restriction.