XG Series User's Guide Chapter 5 Command Reference
Device Information Settings
286
5.15.3 Automatic Time Setting Information
This section explains about the commands related to automatic time setting information.

5.15.3.1 time auto server

Function Specify the IP address, protocol, and priority of server(s) that supply time information.
Available Model XG0224 / XG0448 / XG2600
Syntax time auto server <count> address <address> <protocol> [<interface>]
Options
<count>
Priority
Set the server priority with a decimal value from 0 to 3.
A smaller value has a higher priority.
<address>
IPv4 address
Specify the IPv4 address of the server that supplies time information.
Specifying 0.0.0.0 will delete the set value.
The allowable range is as follows:
1.0.0.1 to 126.255.255.254
128.0.0.1 to 191.255.255.254
192.0.0.1 to 223.255.255.254
224.0.0.1 to 239.255.255.254 (Multicast address)
255.255.255.255 (Broadcast address)
IPv6 address
Specify the IPv6 address of the server that supplies time information.
Specifying 0:0: 0 will delete the set value.
The allowable range is as follows:
::2 to fe7f:ffff:ffff:ffff :ffff:ffff:ffff:ffff
fec0:: to feff:ffff:ffff :ffff:ffff:ffff:ffff:ffff
<protocol>
Specify the desireded protocol.
time
Specify the TIME protocol (TCP).
sntp
Specify the simple NTP protocol (UDP).
<interface>
Specify the target interface.
[Note]
This option can be specified only when the <address> has been specified as an IPv4
multicast address or IPv4 broadcast address and the <protocol> has been specified as
sntp.
Use Mode Configuration mode (admin class)
Explanation Specify the working parameters for the time information server(s).
The switch clock is automatically synchronized to the time information server(s)
specified.
Default It is assumed that the time is not set automatically.