CLI Reference Guide-R04

Table Of Contents
Chapter 4
| System Management Commands
Time
– 174 –
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 earths 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.
Example
Console(config)#clock timezone Japan hours -8 minute 0
Console(config)#
Related Commands
show sntp (165)
clock timezone-
predefined
This command sets the time zone for the switchs internal clock from a set of
predefined time zones.
Syntax
clock timezone-predefined timezone
timezone - Name of timezone as listed in the list in the command usage
section.
Default Setting
None
Command Mode
Global Configuration
Command Usage
This command sets the local time zone by selecting a pre-defined GMT zone with a
geographical description.
Select one time zone from the following list to use as the timezone parameter with
the command:
GMT+0100-Amsterdam,Berlin,Bern,Rome,Stockholm,Vienna
GMT+0100-Belgrade,Bratislava,Budapest,Ljubljana,Prague
GMT+0100-Brussels,Copenhagen,Madrid,Paris
GMT+0100-Sarajevo,Skopje,Warsaw,Zagreb
GMT+0100-WestCentralAfrica
GMT+0200-Athens,Beirut,Istanbul,Minsk
GMT+0200-Bucharest
GMT+0200-Cairo
GMT+0200-Harare,Pretoria
GMT+0200-Helsinki,Kyiv,Riga,Sofia,Tallinn,Vilnius