2-639
Catalyst 6500 Series Switch Command Reference—Release7.6
78-15328-01
Chapter2 Catalyst 6500 Series Switch and ROM Monitor Commands set timezone
set timezone
To set the time zone for the system, use the set timezone command.
set timezone [zone_name] [hours [minutes]]
Syntax Description
Defaults The default is the time zone is set to UTC.
Command Types Switch command.
Command Modes Privileged.
Usage Guidelines The set timezone command is effective only when Network Time Protocol (NTP) is running. If you set
the time explicitly and NTP is disengaged, the set timezone command has no effect. If you have enabled
NTP and have not entered the set timezone command, the Catalyst6500 series switch displays UTC by
default.
Examples This example shows how to set the time zone to pacific standard t ime wi th an offset o f mi nus 8 hours
from UTC:
Console> (enable) set timezone PST -8
Timezone set to “PST”, offset from UTC is -8 hours.
Console> (enable)
Related Commands clear timezone
show timezone
zone_name (Optional) Name of the time zone to be displayed.
hours (Optional) Number of hours offset from UTC.
minutes (Optional) Number of minutes offset from UTC. If the specified
hours value is a negative number, then the minutes v alue is assumed
to be negative as well.