C
HAPTER
20
| System Management Commands
Time
– 760 –
e-day - The day of the week summer time will end. (Options:
sunday | monday | tuesday | wednesday | thursday | friday |
saturday)
e-month - The month when summer time will end. (Options:
january | february | march | april | may | june | july |
august | september | october | november | december)
e-hour - The hour when summer time will end. (Range: 0-23 hours)
e-minute - The minute when summer time will end. (Range: 0-59
minutes)
offset - Summer-time offset from the regular time zone, in minutes.
(Range: 0-99 minutes)
DEFAULT SETTING
Disabled
COMMAND MODE
Global Configuration
COMMAND USAGE
â—† In some countries or regions, clocks are adjusted through the summer
months so that afternoons have more daylight and mornings have less.
This is known as Summer Time, or Daylight Savings Time (DST).
Typically, clocks are adjusted forward one hour at the start of spring
and then adjusted backward in autumn.
â—† This command sets the summer-time time zone relative to the
currently configured time zone. To display a time corresponding to your
local time when summer time is in effect, you must indicate the number
of minutes your summer-time time zone deviates from your regular
time zone (that is, the offset).
EXAMPLE
The following example sets a recurring 60 minute offset summer-time to
begin on the Friday of the 1st week of March at 01:59 hours and summer
time to end on the Sunday of the 2nd week of November at 01:59 hours.
Console(config)#clock summer-time MESC recurring 1 friday march 01 59 2
sunday november 1 59 60
Console(config)#
clock timezone This command sets the time zone for the switch’s internal clock.
SYNTAX
clock timezone name hour hours minute minutes
{before-utc | after-utc}
name - Name of timezone, usually an acronym. (Range: 1-30
characters)