Command Guide of WGSW-28040
326
4.28.3 clock source
Command:
clock source (local|sntp)
Parameter:
local
Specify to use static time
sntp
Specify to use sntp time
Default:
Default is using local time.
Mode:
Global Configuration
Usage Guide:
Use the
clock source
command to set the source of time. The “
local
” means that use static setting by user manual
set. The “
sntp
” means that use remote SNTP server. Use the no form of this command to default setting.
Example:
The example shows how to set clock source of switch. You can verify settings by the following show show clock
command.
switch(config)#
clock source sntp
switch(config)#
show clock detail
08:32:12 test(UTC+5) Sep 21 2012
No time source
Time zone:
Acronym is DFL
Offset is UTC+8
4.28.4 clock summer-time
Command:
clock summer-time ACRONYM date
(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec) <1-31> <2000-2037> HH:MM
(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec) <1-31> <2000-2037> HH:MM