Add sntpserver peer|ipaddress, Alliedware plus command – Allied Telesis AT-S63 User Manual
Page 114

Chapter 6: Simple Network Time Protocol (SNTP) Commands
114
Section I: Basic Operations
ADD SNTPSERVER PEER|IPADDRESS
Syntax
add sntpserver peer|ipaddress=
ipaddress
Parameter
peer or
Specifies the IP address of an SNTP server. These
ipaddress
parameters are equivalent.
Description
This command adds the IP address of an SNTP or NTP server to the
SNTP client on the switch. The switch uses the SNTP or NTP server to set
its date and time. You can specify only one SNTP or NTP server.
Note
The switch must have a routing interface on the local subnet leading
to the SNTP or NTP server. The switch uses the IP address of the
interface as its source address to communicate with the server. For
instructions on how to add a routing interface to the switch, refer to
“ADD IP INTERFACE” on page 642.
If the routing interface obtains its IP address and subnet mask from
a DHCP sever, you can configure the DHCP server to provide the
switch with an IP address of an NTP or SNTP server. If you
configured the DHCP server to provide this address, then you do not
need to enter it with this command.
Example
The following command specifies the IP address of 148.35.16.248 for the
SNTP server:
add sntpserver ipaddress=148.35.16.248
AlliedWare Plus
Command
Syntax
ntp server
ipaddress
Mode
Configure mode
Command
Available
AlliedWare Plus