Chapter 8: Simple Network Time Control (SNTP) Commands
154 Section II: Switch Management
SET NTP
Syntax
set ntp [peer=
ip_address
] [utcoffset=
time_zone
|
utc_offset
]
[listenport=
port_number
]
Parameters
ip_address
Specifies an IPv4 address.
time_zone
time_zone
Specifies the time zone. See Table 18 on page 154.
utc_offset
Specifies the UTC offset. The format is hh:mm:ss. See Table 18 on
page 154.
port_number
Specifies the number of UDP port for SNTP. The port number is
from 1 to 65535. By default, the UDP port for SNMP is 123.
Description
Use this command to specify the IP address of the SNTP server, UTC
offset, the UDP port for SNTP. SNTP synchronizes the system time of the
switch with the specified SNTP server. You can specify only one IP
address of the SNTP server on the switch.
To synchronize the system time with the SNTP server, you must
enable SNTP. See “ENABLE NTP” on page 150.
The time zones and UTC offest are listed in Table 18.
Table 18. UTC Time Zone and UTC Offset
Time Zone
Keyword
UTC Offset Area
asia +8:00:00 Asia
acdt +10:30:00 Australian Central Daylight Time
acst +9:30:00 Australian Central Standard Time
aedt +11:00:00 Australian Eastern Daylight Time