Command Manual – System Management 
Quidway S8500 Series Routing Switches  Chapter 4  System Maintenance Commands
 
Huawei Technologies Proprietary 
4-1 
Chapter 4  System Maintenance Commands 
4.1  Basic System Configuration and Management 
Commands 
4.1.1  clock datetime 
Syntax 
clock datetime HH:MM:SS YYYY/MM/DD 
View 
User view 
Parameter 
HH:MM:SS: Current clock. HH ranges from 0 to 23. MM and SS range from 0 to 59. 
YYYY/MM/DD: Specifies the current year, month and date. YYYY ranges from 2000 to 
2100. MM ranges from 1 to 12 and DD ranges from 1 to 31. 
Description 
Use the clock datetime command to configure the current date and clock of Ethernet 
Switch. 
By default, the date and clock of Ethernet Switch is set as 0:0:0, 2000/1/1. 
The current date and clock of Ethernet Switch must be set in the circumstance that 
absolute time is strictly required. 
Related command: display clock. 
Example 
# Set the current date of Ethernet Switch to 0:0:0, 2001/01/1. 
<Quidway> clock datetime 0:0:0 2001/01/01 
4.1.2  clock summer-time  
Syntax 
clock summer-time zone-name { one-off | repeating } start-time start-date end-time 
end-date offset-time 
undo clock summer-time