
Getting Started
©2008 Allied Telesis Inc. All rights reserved.
Software Version 5.2.1
AlliedWare Plus
TM
Operating System Software Reference C613-50003-00 REV E
1.21
Example
To set the timezone to Eastern Standard Time, use the command:
awplus(config)#
clock timezone EST minus 5
How to configure summer-time
There are two approaches for setting summer-time:
■
recurring
, when you specify the week when summer-time starts and ends and each year the
switch changes the time at those weeks. For example, Eastern Daylight Time (EDT) starts
at 2 am on the second Sunday in March and ends at 2 am on the first Sunday in
November.
■
date-based
, when you specify the start and end dates for summer-time for a particular year.
For example, Eastern Daylight Time (EDT) starts at 2 am on Sunday,
11
March 2007 and
ends at 2 am on Sunday, 4 November 2007.
Recurring
To set summer-time with recurring dates, enter Global Configuration mode and enter the
command:
awplus(config)#
clock summer-time <
zone-name
> recurring
<
start-week
> <
start-day
> <
start-month
> <
start-time
>
<
end-week
> <
end-day
> <
end-month
> <
end-time
>
<
offset-minutes
>
The
zone-name
can be any string up to 6 characters long.
The
start-time
and
end-time
are in the form
hh:mm
, in 24-hour time.
Note that if you specify 5 for the week, this changes the time on the last day of the month, not
the 5th week.
For example, to configure EDT, enter the command:
awplus(config)#
clock summer-time EDT recurring 2 Sun Mar 02:00 1 Sun
Nov 02:00 60
Date-based
To set summer-time for a single year, enter Global Configuration mode and enter the
command:
awplus(config)#
clock summer-time <
zone-name
> date
<
start-day
> <
start-month
> <
start-month
> <
start-time
>
<
end-day
> <
end-month
> <
end-week
> <
end-time
>
<
offset-minutes
>
The
zone-name
can be any string up to 6 characters long.
The
start-time
and
end-time
are in the form
hh:mm
, in 24-hour time.
For example, to configure EDT for 2007, enter the command:
awplus(config)#
clock summer-time EDT date 11 Mar 2007 02:00 4 Nov
2007 02:00 60