2-368
Catalyst 6500 Series Switch Command Reference—Release7.6
78-15328-01
Chapter2 Catalyst 6500 Series Switch and ROM Monitor Commands
set ntp timezone
set ntp timezone
To configure the time offset from Greenwich Mean Time, use the set ntp timezone command.
set timezone [zone_name] [hours [minutes]]
Syntax Description
Defaults This command has no default settings.
Command Types Switch command.
Command Modes Privileged.
Usage Guidelines The set ntp timezone command is effec tiv e only when NTP is running. If you set the time ex plicitly and
NTP is disengaged, the set ntp timezone command has no effect. If you have enabled NTP and have not
entered the set timezone command, the Catalyst 6500 series switch displays UTC by default.
Examples This example shows how to set the time zone to Pacific Standard Time with an offset of minus 8hours
from UTC:
Console> (enable) set ntp timezone PST -8
Timezone set to “PST”, offset from UTC is -8 hours.
Console> (enable)
Related Commands clear ntp timezone
show ntp
zone_name (Optional) Name of the time zone.
hours (Optional) Time offset (hours) from Greenwich Mean Time; val id values
are from –12 to 12 hours.
minutes (Optional) Time offset (minutes) from Greenwich Mean Time; valid
values are 0 to 59 minutes.