Command Manual - System Management
Quidway S2000 Series Ethernet Switches Chapter 4 System Maintenance Commands
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: Specify the current year, month and date. YYYY ranges from 1993 to
2035. MM ranges from 1 to 12 and DD ranges from 1 to 31.
Description
Using clock datetime command, you can 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.
For the related commands, see 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