Manually Setting The Date And Time - Allied Telesis AT-9028 User Manual

At-9000 series layer 2-4 gigabit ethernet ecoswitches
Table of Contents

Advertisement

Manually Setting the Date and Time

Section II: Basic Operations
To manually set the date and time on the switch, use the CLOCK SET
command in the Privileged Exec mode. Here is the format of the
command:
hh:mm:ss dd mm yyyy
clock set
Here are the variables:
hh:mm:ss: Use this variable to specify the hour, minute, and second for
the switch's time in 24-hour format.
dd: Use this variable to specify the day of the month. The day must be
entered in two digits. Include a zero for the first nine days of the month.
For example, the fourth day of the month is 04.
mm: Use this variable to specify the month. The month must be
specified in two digits. Include a zero for the first nine months of the
year. For example, June is 06.
yyyy: Use this variable to specify the year. The year must be specified
in four digits (for example, 2011 or 2012).
The command must include both the date and time. This example sets the
time to 4:11 pm and the date to May 4, 2010:
awplus> enable
awplus# clock set 16:11:0 04 05 2010
To display the date and time, use the SHOW CLOCK command in the
User Exec or Privileged Exec mode.
awplus# show clock
For reference information, refer to "CLOCK SET" on page 117 and
"SHOW CLOCK" on page 131.
Note
The date and time, when set manually, are not retained by the
switch when it is reset or power cycled.
AT-9000 Switch Command Line User's Guide
101

Advertisement

Table of Contents
loading

Table of Contents