Getting Started
©2008 Allied Telesis Inc. All rights reserved.
1.20
AlliedWare Plus
TM
Operating System Software Reference C613-50003-00 REV E
Software Version 5.2.1
How to set the time and date
There are three aspects to setting the time and date:
■
setting the current time and date (
“How to set the time and date” on page 1.20
)
■
setting the timezone (
“How to set the timezone” on page 1.20
)
■
configuring the switch to automatically change the time when summer-time begins and
ends (
“How to configure summer-time” on page 1.21
)
Instead of manually setting the time, you can use NTP to automatically get the time from
another device.
How to show current settings
To display the current time, timezone and date, enter Privileged Exec mode and enter the
command:
awplus#
show clock
The output looks like this:
How to set the time and date
To set the time and date, enter Privileged Exec mode and enter the command:
awplus#
clock set <
hh
:
mm
:
ss
>
<
day
>
<
month
>
<
year
>
where:
■
hh
is two digits giving the hours in 24-hour format (e.g.
1
4
)
■
mm
is two digits giving the minutes
■
ss
is two digits giving the seconds
■
day
is two digits giving the day of the month
■
month
is the first three letters of the month name (e.g.
sep
)
■
year
is four digits giving the year
How to set the timezone
To set the timezone, enter Global Configuration mode and enter the command:
awplus(config)#
clock timezone <
timezone-name
> {plus|minus} 0-12
The
timezone-name
can be any string up to 6 characters long.
To return the timezone to UTC+0, enter the command:
awplus(config)#
no clock timezone
14:55:14 Thu 24 May 2007
Timezone: UTC+0