System information
25
How to set the time and date
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 25)
setting the timezone ("How to set the timezone" on page 26)
configuring the switch to automatically change the time when summer-time begins and
ends ("How to configure summer-time" on page 26)
Instead of manually setting the time, you can use NTP to automatically get the time from
another device. This How To Note does not describe NTP—see the “NTP Configuration” and
“NTP Commands” chapters of the Software Reference.
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
14:55:14 Thu 24 May 2007
Timezone: UTC+0