C613-50057-01 REV A
Command Reference for AT-IX5-28GPX High Availability, High Power Video Surveillance PoE Switch
1533
AlliedWare Plus™ Operating System - Version 5.4.5-0.x
NTP C
OMMANDS
NTP
SERVER
ntp server
Overview
Use this command to configure an NTP server. This means that this system will
synchronize to the other system, and not vice versa.
Use the
no
variant of this command to remove the configured NTP server.
Syntax
ntp server {<
serveraddress
>|<
servername
>}
ntp server {<
serveraddress
>|<
servername
>} [prefer] [key <
key
>]
[version <
version
>]
no ntp server {<
serveraddress
>|<
servername
>}
Mode
Global Configuration
Examples
See the following commands for options to configure an NTP server association,
key and NTP version for the server with an IPv4 address of
192.0.1.23
:
awplus#
configure terminal
awplus(config)#
ntp server 192.0.1.23
awplus(config)#
ntp server 192.0.1.23 prefer
awplus(config)#
ntp server 192.0.1.23 prefer version 4
awplus(config)#
ntp server 192.0.1.23 prefer version 4 key 1234
awplus(config)#
ntp server 192.0.1.23 version 4 key 1234
awplus(config)#
ntp server 192.0.1.23 version 4
awplus(config)#
ntp server 192.0.1.23 key 1234
To remove an NTP peer association for this peer with an IPv4 address of
192.0.1.23
, use the following commands:
awplus#
configure terminal
awplus(config)#
no ntp server 192.0.1.23
Parameter
Description
<
serveraddress
>
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.
<
servername
>
Specify the server hostname. The server hostname can
resolve to an IPv4 and an IPv6 address.
prefer
Prefer this server when possible.
key <
key
>
<
1-4294967295
>
Configure the server authentication key.
version <
version
>
<
1-4
>
Configure for this NTP version.