C
HAPTER
20
| System Management Commands
Time
– 760 –
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.
EXAMPLE
Console(config)#clock summer-time MESZ recurring 1 friday june 23 59 3
saturday september 2 55 60
Console(config)#
RELATED COMMANDS
show sntp (752)
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)
hours - Number of hours before/after UTC. (Range: 0-12 hours
before UTC, 0-13 hours after UTC)
minutes - Number of minutes before/after UTC. (Range: 0-59
minutes)
before-utc - Sets the local time zone before (east) of UTC.
after-utc - Sets the local time zone after (west) of UTC.
DEFAULT SETTING
None
COMMAND MODE
Global Configuration
COMMAND USAGE
This command sets the local time zone relative to the Coordinated
Universal Time (UTC, formerly Greenwich Mean Time or GMT), based on
the earth’s prime meridian, zero degrees longitude. To display a time
corresponding to your local time, you must indicate the number of hours
and minutes your time zone is east (before) or west (after) of UTC.