clock timezone

Syntax

clock timezone <TIME-ZONE>
no clock timezone

Description

Sets the time zone and its associated daylight savings time rule.

The no form of this command sets the time zone to the default value of UTC.

Command context

config

Parameters

timezone <TIME-ZONE>

Specifies the time zone, <TIME-ZONE>, using a name defined in the IANA time zone database. See https://en.wikipedia.org/wiki/List_of_tz_database_time_zones.

Authority

Administrators

Examples

Setting the time zone to Eastern Standard Time (EST):

switch(config)# clock timezone EST