Ntp peer – Allied Telesis AlliedWare Plus Operating System Version 5.4.4C (x310-26FT,x310-26FP,x310-50FT,x310-50FP) User Manual
Page 1677

NTP Commands
Software Reference for x310 Series Switches
C613-50046-01 REV A
AlliedWare Plus
TM
Operating System - Version 5.4.4C
62.7
ntp peer
Use this command to configure an NTP peer association. An NTP association is a peer
association if this system is willing to either synchronize to the other system, or allow the
other system to synchronize to it.
Use the no variant of this command to remove the configured NTP peer association.
Syntax
ntp peer {<peeraddress>|<peername>}
ntp peer {<peeraddress>|<peername>}
[prefer] [key <key>] [version <version>]
no ntp peer {<peeraddress>|<peername>}
Mode
Global Configuration
Examples
See the following commands for options to configure NTP peer association, key and NTP
version for the peer with an IPv4 address of 192.0.2.23:
To remove an NTP peer association for this peer with an IPv4 address of 192.0.2.23,
use the following commands:
Parameter
Description
<peeraddress>
Specify the IP address of the peer, entered in the form
A.B.C.D
for an IPv4 address, or in the form X:XX.X for an
IPv6 address.
<peername>
Specify the peer hostname. The peer hostname can resolve
to an IPv4 and an IPv6 address.
prefer
Prefer this peer when possible.
key <key>
<1-4294967295>
Configure the peer authentication key.
version <version>
<1-4>
Configure for this NTP version.
awplus#
configure terminal
awplus(config)#
ntp peer 192.0.2.23
awplus(config)#
ntp peer 192.0.2.23 prefer
awplus(config)#
ntp peer 192.0.2.23 prefer version 4
awplus(config)#
ntp peer 192.0.2.23 prefer version 4 key 1234
awplus(config)#
ntp peer 192.0.2.23 version 4 key 1234
awplus(config)#
ntp peer 192.0.2.23 version 4
awplus(config)#
ntp peer 192.0.2.23 key 1234
awplus#
configure terminal
awplus(config)#
no ntp peer 192.0.2.23