2.3.2. clock timezone

Syntax

clock timezone ACRONYM HOUR-OFFSET [minutes <0-59>]

no clock timezone

Parameter

ACRONYM

Specify acronym name of time zone

HOUR-OFFSET

Specify hour offset of time zone

minutes <1-59>

Specify minute offset of time zone

Default

Default time zone is UTC+0.

Mode

Global Configuration

Usage

Use the clock timezone command to set timezone setting. Use the no form of this command to restore to default setting. You can verify your setting by entering the show clock detail command.

Example

The example shows how to set time zone of switch and then restore to default time zone.

Switch(config)# clock timezone msk +3
Switch(config)# show clock detail
10:13:27 msk(UTC+3) Sep 21 2012
No time source
Time zone: Acronym is msk Offset is UTC+3
Switch(config)# no clock timezone
Switch(config)# show clock detail
13:14:50 GMT(UTC+0) Sep 21 2012
No time source
Time zone: Acronym is GMT Offset is UTC+0