C613-50170-01 Rev B
Command Reference for x510 Series
2553
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
NTP C
OMMANDS
NTP
RESTRICT
Default
None. By default, there are no restrictions configured.
Mode
Global Configuration
Example
To prevent all hosts from using NTP except for the host 192.0.2.1 and the subnet
192.168.1.0/16, use the commands:
awplus#
configure terminal
awplus(config)#
ntp restrict default-v4 ignore
awplus(config)#
ntp restrict default-v6 ignore
awplus(config)#
ntp restrict 192.0.2.1
awplus(config)#
ntp restrict 192.168.1.0/16
To force the host 192.0.2.1 and the subnet 192.168.1.0/16 to authenticate NTP
sessions with this device, use the commands:
awplus#
configure terminal
awplus(config)#
ntp restrict 192.0.2.1 notrust
awplus(config)#
ntp restrict 192.168.1.0/16 notrust
To drop NTP packets from the 192.168.1.0/16 subnet if they arrive more frequently
than every 5 seconds, and also send kiss-of-death messages, use the commands:
awplus#
configure terminal
awplus(config)#
ntp discard minimum 5
awplus(config)#
ntp restrict 192.168.1.0/16 limited kod
Related
Commands
noserve
Do not serve the time to matching hosts.
notrust
Require that matching hosts authenticate NTP sessions with this
device. If you use this option, the device will drop all unsigned
NTP packets from matching hosts.
Parameter
Description