1266
Command Reference for IE200 Series Industrial Managed PoE+ Switches
C613-50066-01 REV A
AlliedWare Plus™ Operating System - Version 5.4.5I-0.x
NTP C
OMMANDS
NTP
PEER
ntp peer
Overview
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.
NTP for IPv6 is supported in Software Version 5.4.3A-1.x and later.
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
:
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
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:X::X: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.