SUMMARY STEPS
1.
configure terminal
2.
clock timezone zone-name offset-hours offset-minutes
3.
exit
4.
(Optional) show clock
5.
(Optional) copy running-config startup-config
DETAILED STEPS
PurposeCommand or Action
Enters global configuration mode.configure terminal
Example:
switch# configure terminal
switch(config)#
Step 1
Configures the time zone. The zone-name argument is a
3-character string for the time zone acronym (for example, PST
clock timezone zone-name offset-hours
offset-minutes
Step 2
or EST). The offset-hours argument is the offset from the UTC
Example:
switch(config)# clock timezone EST -5 0
and the range is from –23 to 23 hours. The range for the
offset-minutes argument is from 0 to 59 minutes.
Exits global configuration mode.exit
Example:
switch(config)# exit
switch#
Step 3
(Optional)
Displays the time and time zone.
show clock
Example:
switch# show clock
Step 4
(Optional)
Copies the running configuration to the startup configuration.
copy running-config startup-config
Example:
switch# copy running-config startup-config
Step 5
Configuring Summer Time (Daylight Saving Time)
You can configure when summer time, or daylight saving time, is in effect for the device and the offset in
minutes.
Cisco Nexus 5500 Series NX-OS Fundamentals Configuration Guide, Release 7.x
OL-30890-01 99
Basic Device Management
Configuring Summer Time (Daylight Saving Time)