Purpose
Command or Action
•
hh:mm:ss
—
Specifies the time in hours (24-hour format), minutes,
and seconds. The time specified is relative to the configured time
zone.
•
clock set hh:mm:ss day month year
•
clock set hh:mm:ss month day year
•
day
—
Specifies the day by date in the month.
Example:
Switch#
clock set 13:32:00 23 March 2013
•
month
—
Specifies the month by name.
•
year
—
Specifies the year (no abbreviation).
Configuring the Time Zone
Follow these steps to manually configure the time zone:
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
clock timezone zone hours-offset
[
minutes-offset
]
4.
end
5.
show running-config
6.
copy running-config startup-config
DETAILED STEPS
Purpose
Command or Action
Enables privileged EXEC mode. Enter your password if prompted.
enable
Step 1
Example:
Switch>
enable
Enters the global configuration mode.
configure terminal
Example:
Switch#
configure terminal
Step 2
Sets the time zone.
clock timezone zone hours-offset
[
minutes-offset
]
Step 3
Internal time is kept in Coordinated Universal Time (UTC), so this
command is used only for display purposes and when the time is
manually set.
Example:
Switch(config)#
clock timezone AST -3 30
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
1532
How to Administer the Switch
Summary of Contents for Catalyst 2960 Series
Page 96: ......
Page 196: ......
Page 250: ......
Page 292: ......
Page 488: ......
Page 589: ...P A R T VI Cisco Flexible NetFlow Configuring NetFlow Lite page 509 ...
Page 590: ......
Page 619: ...P A R T VII QoS Configuring QoS page 539 Configuring Auto QoS page 645 ...
Page 620: ......
Page 750: ......
Page 1604: ......
Page 1740: ......
Page 2105: ...P A R T XII Configuring Cisco IOS IP SLAs Configuring Cisco IP SLAs page 2025 ...
Page 2106: ......
Page 2118: ......
Page 2164: ......