232
set ntp
Syntax:
set ntp <ip> <timezone>
Description:
To set up the current time via NTP server.
Argument:
<ip>: ntp server ip address or domain name
<timezone>: time zone (GMT), range: -12 to +13
Possible value:
<timezone>: -12,-11…,0,1…,13
Example:
GSW-2693(time)# set ntp clock.via.net 8
Synchronizing...(1)
Synchronization success
show
Syntax:
show
Description:
To show the time configuration, including “Current Time”, “NTP Server”,” Timezone”,
” Daylight Saving”,” Daylight Saving Start” and “Daylight Saving End”
Argument:
None.
Possible value:
None.
Example:
GSW-2693(time)# show
Current Time : Wed Apr 21 06:16:22 2005
NTP Server : 209.81.9.7
Timezone : 8
Day light Saving : 4 Hours
Day light Saving Start: Mth: 2 Day: 20 Hour: 10
Day light Saving End : Mth: 3 Day: 20 Hour: 10