DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide
221
40-3
clock timezone
This command is used to set the time zone for display purposes. Use the
no
form of this command to revert to
the default setting.
clock timezone {+ | -}
HOURS-OFFSET
[
MINUTES-OFFSET
]
no clock timezone
Parameters
+|-
+: Specifies that time to be added to the UTC.
- : Specifies that time to be subtracted from the UTC.
HOURS-OFFSET
Specifies the hours difference from UTC.
MINUTES-OFFSET
(Optional) Specifies the minutes difference from UTC.
Default
By default, this option is set to UTC.
Command Mode
Global Configuration Mode.
Command Default Level
Level: 15.
Usage Guideline
The time obtained by the SNTP server refers to the UTC time. The local time will be calculated based on UTC
time, time zone, and the daylight saving configuration.
Example
This example shows how to set the time zone to the Pacific Standard Time (PST), which is 8 hours ahead of
UTC.
Switch# config terminal
Switch(config)# clock timezone - 8
Switch(config)#
40-4
show clock
This command is used to display the time and date information.
show clock
Parameters
None.
Default
None.
Command Mode