Configuring the device name, Configuring the system clock, Displaying the system clock – H3C Technologies H3C WX6000 Series Access Controllers User Manual
Page 560: 2 configuring the system clock
![background image](https://www.manualsdir.com/files/812993/content/doc560.png)
60-2
Configuring the Device Name
To do…
Use the command…
Remarks
Enter system view
system-view
—
Configure the device name
sysname
sysname
Optional
The device name is H3C by default.
Configuring the System Clock
Configuring the system clock
Follow these steps to configure the system clock:
To do…
Use the command…
Remarks
Set time and date
clock datetime
time date
Set the time zone
clock timezone zone-name
{ add | minus } zone-offset
clock summer-time
zone-name one-off start-time start-date
end-time end-date add-time
Set a summer time
scheme
clock summer-time
zone-name repeating start-time start-date
end-time end-date add-time
Optional
Available in user
view.
Displaying the system clock
The system clock is displayed by system time stamp, which is the same as that displayed by the
display clock
command. The system clock is decided by the commands clock datetime, clock
timezone
and clock summer-time. If these three commands are not configured, the display clock
command displays the original system clock. If you combine these three commands in different ways,
the system clock is displayed in the ways shown in
. The meanings of the parameters in the
configuration column are as follows:
z
1 indicates date-time has been configured with the clock datetime.
z
2 indicates time-zone has been configured with the clock timezone command and the offset time
is zone-offset.
z
3 indicates summer time has been configured with the clock summer-time command and the
offset time is summer-offset.
z
[1] indicates the clock datetime command is an optional configuration.
z
The default system clock is 2005/1/1 1:00:00 in the example.
Table 60-1
Relationship between the configuration and display of the system clock
Configuration
System clock displayed by the
display clock command
Example
1
date-time
Configure: clock datetime 1:00 2007/1/1
Display: 01:00:00 UTC Mon 01/01/2007
2
The original system clock
±
zone-offset
Configure: clock timezone zone-time add 1
Display: 02:00:00 zone-time Sat 01/01/2005
1 and 2
date-time
± zone-offset
Configure: clock datetime 2:00 2007/2/2 and
clock timezone zone-time add 1
Display: 03:00:00 zone-time Fri 02/02/2007