Accton Technology ES4626 Switch User Manual


 
305
Command: sntp poll <interval>
no sntp poll
Function: Set the interval for SNTP client to send request to NTP/SNTP; the “no sntp
polltime” command cancels polltime set and restores the default setting.
Parameter: < interval> is the interval value from 16 to 16284.
Default: The default poll is 64 seconds.
Command mode: Global Mode
Example: Set the client to send request to the server every 128 seconds.
Switch#config
Switch(Config)#sntp poll 128
12.1.3 clock timezone
Command: clock timezone <name> hour <hours> [minute <minutes>] [before-utc |
after-utc]
Function: Set the time difference between the time zone in which the SNTP client resides
and UTC. The “no sntp timezone” command cancels the time zone set and restores the
default setting.
Parameter: <name> is the time zone name, up to 16 characters are allowed;
<before-utc> means the time zone equals UTC time plus <hours> and <munites>;
<after-utc> means the time zone equals UTC time minus <hours> and <munites>;
<hours> and <munites> are the time difference, range of <hours>is from 1 to 12, range
of <munites>from 0 to 59.
Default: <munites> default is 0
Command mode: Global Mode
Example: Set the time zone to Beijing.
Switch#config
Switch(Config)# clock timezone beijing hour 8 before-utc sntp timezone beijing add 8