Clock Timezone - H3C S6812 Series Command Reference Manual

Hide thumbs Also See for S6812 Series:
Table of Contents

Advertisement

Related commands
clock datetime

clock timezone

display clock
clock timezone
Use clock timezone to set the time zone.
Use undo clock timezone to restore the default.
Syntax
clock timezone zone-name { add | minus } zone-offset
undo clock timezone
Default
The Greenwich Mean Time time zone is used.
Views
System view
Predefined user roles
network-admin
Parameters
zone-name: Specifies a time zone by its name, a case-sensitive string of 1 to 32 characters.
add: Adds an offset to the UTC time.
minus: Decreases the UTC time by an offset.
zone-offset: Specifies an offset to the UTC time, in the hh:mm:ss format. The value range for hh is 0
to 23. The value range for mm is 0 to 59. The value range for ss is 0 to 59. The leading zero in a
segment can be omitted. If the seconds segment is 0 (hh:mm:00), you can omit it. If both the minutes
and seconds segments are 0 (hh:00:00), you can omit both of the segments. For example, to specify
08:00:00, you can enter 8.
Usage guidelines
Correct system time is essential to network management and communication. You must configure
the system time correctly before you run the device on the network.
After you set the time zone, the device recalculates the system time. To view the system time, use
the display clock command.
Make sure all devices on the network are using the same time zone as the local time.
Examples
# Set the name of the time zone to Z5, and add 5 hours to the UTC time.
<Sysname> system-view
[Sysname] clock timezone Z5 add 5
Related commands
clock datetime
clock summer-time
display clock
4

Advertisement

Table of Contents
loading

This manual is also suitable for:

S6813 seriesS5150-ei

Table of Contents