sntp
The machine clock can be synchronized with an NTP server clock using Simple Network Time Protocol (SNTP). Use the "sntp" command to change the SNTP settings.
You can only select either the IP address or host name for the ntp server.
View settings
msh> sntp
NTP IPv4 server address configuration
You can specify the IPv4/IPv6 address of the NTP server.
msh> sntp server "IPv4/IPv6_address"
NTP hostname configuration
You can specify the hostname of the NTP server.
msh> sntp server "hostname"
Deleting NTP server configuration
msh> sntp server clear
Interval configuration
msh> sntp interval "polling_time"
You can specify the interval at which the machine synchronizes with the operator-specified NTP server. The default is 60 minutes.
The interval can be entered from 0 to 10,080 minutes.
If you set to "0", the machine synchronizes with the NTP server only when you turn the machine on. After that, the machine does not synchronize with the NTP server.
You can use the SNTP polling function for switches that request packet transmissions from devices to open ports. For example, you may use the SNTP polling function to prevent the IEEE 802.1x authentication from being canceled.
Time-zone configuration
msh> sntp timezone "±hour_time"
You can specify the time difference between the machine clock and NTP server clock. The values are between -12:00 and +13:00.