3-2
C
HAPTER
3: A
DMINISTRATIVE
CLI C
OMMANDS
Set Commands
set date <
date
>
The
set date
<date> command sets the date without changing the 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 - 01 or 2001.
set date
<date>
time
<time>
The
set date
<date>
time
<time> command sets the system date and time.
Alternatively, the
set date
<date> command leaves the time unchanged. Use the
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
<time>
The
set time
<time> command sets the system time and leaves the date
unchanged. Use the
show date
command to view current settings. The format is
hh:mm:ss
. The seconds field is optional. The
set date
<date>
time
<time>
command also sets the time.
set timezone
<string>
The
set timezone
<string> command sets the local time zone. This time zone can
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
Summary of Contents for OfficeConnect 3C100XF
Page 1: ...http www 3com com OfficeConnect Gateway CLI User s Guide Release 1 0 Part No 10042302 Rev AA ...
Page 14: ...xiv ...
Page 18: ...iv ABOUT THIS GUIDE ...
Page 30: ...1 12 CHAPTER 1 USING THE COMMAND LINE INTERFACE CLI ...
Page 50: ...3 14 CHAPTER 3 ADMINISTRATIVE CLI COMMANDS ...
Page 58: ...4 8 CHAPTER 4 CONFIGURING AND MANAGING USERS ...
Page 70: ...6 8 CHAPTER 6 BRIDGING COMMANDS ...
Page 78: ...8 4 CHAPTER 8 INTERFACE COMMANDS ...
Page 82: ...9 4 CHAPTER 9 ARP COMMANDS ...
Page 88: ...11 4 CHAPTER 11 DHCP COMMANDS ...
Page 124: ...12 36 CHAPTER 12 IP ROUTING COMMANDS ...
Page 134: ...13 10 CHAPTER 13 DNS COMMANDS ...
Page 142: ...15 6 CHAPTER 15 MULTICASTING AND IGMP COMMANDS ...
Page 160: ...17 8 CHAPTER 17 PPP COMMANDS ...
Page 182: ...21 6 CHAPTER 21 ADDRESS TRANSLATION COMMANDS ...
Page 186: ...22 4 CHAPTER 22 IPSEC COMMANDS ...
Page 188: ...23 2 CHAPTER 23 SECURITY ASSOCIATION SA COMMANDS ...
Page 192: ...24 4 CHAPTER 24 TCP COMMANDS ...
Page 204: ...25 12 CHAPTER 25 SNMP COMMANDS ...
Page 210: ...26 6 CHAPTER 26 IP FILTERS COMMANDS ...
Page 238: ...29 6 CHAPTER 29 TRACEROUTE COMMANDS ...
Page 255: ...xv RFC 1483 16 3 RFC 1483 MER 16 4 ...
Page 256: ...xvi ...
Page 260: ......