Add sntpserver peer|ipaddress, Syntax, Parameter – Allied Telesis AT-S63 User Manual

Page 84: Description, Example

Advertising
background image

Chapter 5: Simple Network Time Protocol (SNTP) Commands

84

ADD SNTPSERVER PEER|IPADDRESS

Syntax

add sntpserver peer|ipaddress=

ipaddress

Parameter

peer

Specifies the IP address of an SNTP server. These

ipaddress

parameters are equivalent.

Description

This command adds the IP address of an SNTP server to the SNTP client
software on the switch. The switch uses the SNTP server to set its date
and time. If an IP address has already been assigned, the new address
overwrites the old address.

Note

If the switch is obtaining 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

Advertising