C613-50100-01 REV C Command Reference for x930 Series 2814
AlliedWare Plus™ Operating System - Version 5.4.6-1.x
NTP COMMANDS
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
ntp discard
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