Add sntpserver peer|ipaddress – Allied Telesis AT-S63 User Manual
Page 80

Chapter 5: Simple Network Time Protocol (SNTP) Commands
80
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 local subnet from where the switch is reaching the SNTP or
NTP server must have a routing interface. The switch uses the IP
address of the interface as its source address when sending packets
to the server. For background information, refer to “Routing
Interfaces and Management Features” on page 560. For instructions
on how to add a routing interface to the switch, refer to “ADD IP
INTERFACE” on page 573.
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 in 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