3Com OfficeConnect 3C100XF Cli User's Manual - page 38
3-2
C
HAPTER
3: A
DMINISTRATIVE
CLI C
OMMANDS
Set Commands
set date
date
>
The
set date
format is
dd-mmm-[yy]yy
. The month should be the first three characters of the
month name. The year can be expressed in either 2 or 4 digits - 01 or 2001.
set date
time
The
set date
time
Alternatively, the
set date
show date
command to see the current settings for the date and time. The
format is
dd-mmm-[yy]yy
. The month should be the first three characters of the
month name. The year can be expressed in either 2 or 4 digits - 97 or 1997. The
time is expressed in
hh:mm:ss
format with seconds optional.
set time
The
set time
unchanged. Use the
show date
command to view current settings. The format is
hh:mm:ss
. The seconds field is optional. The
set date
time
command also sets the time.
set timezone
The
set timezone
be a simple time zone rule or the name of one of the pre-defined time zone
names. To see a list of the pre-defined time zones, use the
list time zones
command. All of the standard BSD Unix time zones are supported in the
OfficeConnect Gateway.
The local clock will adjust its time offset depending on the timezone settings. The
show ntp settings
command displays the current active time zone along with
other information.
Show Command
show time
The
show time
command displays the system
date, time,
and
uptime.
For
example:
show date
The
show date
command displays the system
date, time,
and
uptime
. For
example:
NTP
The OfficeConnect Gateway uses NTP to automatically set system date and system
time to the values provided by NTP servers installed on the network.
The OfficeConnect gateway maintains a list of known NTP servers installed on the
network. If a particular NTP server is not specified, the OfficeConnect Gateway
randomly selects two NTP servers front he list and designates them as the primary
and secondary NTP servers, respectively.
If an installed NTP server is not available on the network, the OfficeConnect
Gateway sets the system date and time using the values automatically provided at
system power-up, or the values set manually by the user with the CLI commands.
System Date
13-JUL-2041 19:25:11
System UpTime:
0d 00:12:30
System Date
13-JUL-2041 19:25:11
System UpTime:
0d 00:12:30