CLI Reference Guide-R04

Table Of Contents
Chapter 4
| System Management Commands
Time
– 176 –
GMT-0700-Arizona
GMT-0700-Chihuahua,La-Paz,Mazatlan
GMT-0700-Mountain-Time(US&Canada)
GMT-0800-Pacific-Time(US&Canada),Tijuana
GMT-0900-Alaska
GMT-0930-Taiohae
GMT-1000-Hawaii
GMT-1100-Midway-Island,Samoa
GMT-1200-International-Date-Line-West
GMT-Casablanca,Monrovia
GMT-Greenwich-Mean-Time-Dublin,Edinburgh,Lisbon,London
Example
This example sets the timezone to
GMT+1030-Lord-Howe-Island and shows the
result.
Console(config)#clock timezone-predefined GMT+1030-Lord-Howe-Island
Console(config)#end
Console#show calendar
Current Time : May 31 18:22:21 2018
Time Zone : GMT+1030-LordHoweIsland
Summer Time : Not configured
Summer Time in Effect : No
Console#
Related Commands
show sntp (165)
calendar set This command sets the system clock. It may be used if there is no time server on
your network, or if you have not configured the switch to receive signals from a
time server.
Syntax
calendar set hour min sec {day month year | month day year}
hour - Hour in 24-hour format. (Range: 0 - 23)
min - Minute. (Range: 0 - 59)
sec - Second. (Range: 0 - 59)
day - Day of month. (Range: 1 - 31)
month - january | february | march | april | may | june | july | august |
september | october | november | december
year - Year (4-digit). (Range: 1970-2037)
Default Setting
None
Command Mode
Privileged Exec