F3215-HP Load Balancing Module System Management Command Reference-6PW101
52
Examples
# Set the system time ahead one hour every year after 2012 (inclusive) for the period from August 1 at
06:00:00 to September 1 at 06:00:00.
<Sysname> system-view
[Sysname] clock summer-time abc2 repeating 06:00:00 08/01/2012 06:00:00 09/01/2012
01:00:00
Related commands
• clock datetime
• clock summer-time one-off
• clock timezone
• display clock
clock timezone
Use clock timezone to set the local time zone.
Use undo clock timezone to restore the local time zone to the default UTC time zone.
Syntax
clock timezone zone-name { add | minus } zone-offset
undo clock timezone
Default
The local time zone is UTC zone.
Views
System view
Default command level
3: Manage level
Parameters
zone-name: Specifies a time zone by its name, a case-sensitive string of 1 to 32 characters.
add: Adds a specified offset to UTC.
minus: Subtracts a specified offset to UTC.
zone-offset: Specifies an offset to the UTC, in the hh:mm:ss format. Zeros can be omitted, unless you
specify 00:00:00.
Usage guidelines
To verify the setting, use the display clock command.
The timestamps in system messages are adjusted in reference to the time zone and daylight saving
schedule.
Examples
# Set the local time zone to add five hours to UTC time.
<Sysname> system-view
[Sysname] clock timezone z5 add 5