Ethernet Switch CLI Reference Guide
67
C
H A P T E R
1 3
Date and Time Commands
Use these commands to configure the date and time on the Switch.
13.1 Command Summary
The following table describes user-input values available in multiple commands for this
feature.
The following section lists the commands for this feature.
Table 38
time User-input Values
COMMAND
DESCRIPTION
week
Possible values (
daylight-saving-time
commands only):
first
,
second
,
third
,
fourth
,
last
.
day
Possible values (
daylight-saving-time
commands only):
Sunday
,
Monday
,
Tuesday
, ....
month
Possible values (
daylight-saving-time
commands only):
January
,
February
,
March
, ....
o’clock
Possible values (
daylight-saving-time
commands only): 0-23
Table 39
time Command Summary
COMMAND
DESCRIPTION
M
P
show time
Displays current system time and date.
E
3
time <
hour
:
min
:
sec
>
Sets the current time on the Switch.
hour
: 0-23
min
: 0-59
sec
: 0-59
Note: If you configure Daylight Saving Time
after you configure the time, the Switch
will apply Daylight Saving Time.
C
13
time date <
month
/
day
/
year
>
Sets the current date on the Switch.
month
: 1-12
day
: 1-31
year
: 1970-2037
C
13
time timezone <-1200|...|1200>
Selects the time difference between UTC (formerly
known as GMT) and your time zone.
C
13
time daylight-saving-time
Enables daylight saving time. The current time is
updated if daylight saving time has started.
C
13