Clock Timezone - H3C S7500 Series Command Manual

System maintenance and debugging
Hide thumbs Also See for S7500 Series:
Table of Contents

Advertisement

Command Manual – System Maintenance and Debugging
H3C S7500 Series Ethernet Switches
Related commands: clock timezone.
Examples
# Set the daylight saving time named z2, which starts from 06:00:00 2002/06/08, ends
until 06:00:00 2002/09/01, and is one hour ahead of the standard time.
<H3C> clock summer-time z2 one-off 06:00:00 2005/06/08 06:00:00 2002/09/01
01:00:00
# Set the daylight saving time named z2, which starts from 06:00:00 06/08, ends until
06:00:00 09/01, and is one hour ahead of the standard time every year from 2002 on.
<H3C> clock summer-time z2 repeating 06:00:00 2002/06/08 06:00:00 2002/09/01
01:00:00

1.1.3 clock timezone

Syntax
clock timezone zone-name { add | minus } HH:MM:SS
undo clock timezone
View
User view
Parameters
zone-name: Name of the time zone, in length of 1 to 32 characters.
add: Sets the time zone to a time before the UTC time.
minus: Sets the time zone to a time behind the UTC time.
HH:MM:SS: Time to be subtracted from the UTC time, in the form of HH:MM:SS.
Description
Use the clock timezone command to set the local time zone.
Use the undo clock timezone command to restore the local time zone to the default
UTC (universal time coordinated) time zone.
After the setting, you can use the display clock command to check the results. The log
information time and the debugging information time adopt the local time that has been
adjusted by the time zone and the daylight saving time.
Related commands: clock summer-time.
Examples
# Set the local time zone named z5, which is five hours ahead of the UTC time.
<H3C> clock timezone z5 add 05:00:00
Chapter 1 Basic System Configuration
1-3
and Debugging Commands

Advertisement

Table of Contents
loading

Table of Contents