EasyManuals Logo

Ruijie RG-S29 Series User Manual

Ruijie RG-S29 Series
1510 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #113 background imageLoading...
Page #113 background image
Command Reference SYS Commands
Description
5.3 clock set
Use this command to set the system software clock.
clock set { hour [ :minute [ :second ] ] } [ month [ day [ year ] ] ]
Parameter
Description
Parameter
Description
hour [ :minute [ :second ] ]
Sets software time in the format of hour: minute: second. Only the specified
parameters (hour, minute, or second) can reset. The unspecified
parameters keep the current system values.
month
Sets month. The range is from 1 to 12.
day
Sets date. The range is from 1 to 31. If the day does not exist in the current
month, the date is calculated backward.
year
Sets year. The range is from 1970 to 2069.
Defaults
-
Command
Mode
Privileged EXEC mode
Default Level
-
Usage Guide
1. The time parameter is mandatory. After setting time, set month, day, and year, which can be
neglected according to your needs. The parameter that is neglected keeps the current system value.
For example, if the current hardware time is "2012-02-29 09:33:44" and you want to change month
and hour and keep values of other parameters, use the clock set
12 5
command to change the
current time into "2012-05-29 12:33:44".
2. If the value of parameter day is between 1 and 31, but the current month does not contain that day,
the value will be calculated backward.
For example, February 2012 has 29 days. If you use the clock set
11:30
2 31 2012 command to set
the date to February 31, by default, the system adds two days backward. Therefore, the current
hardware time is "2012-03-02 11:30:23".
Configuration
Examples
The following example changes the current software time of the system (for example, 2012-02-01
18:23:06) into 6 o’clock and keeps the values of other parameters.
Ruijie# clock set 6
06:48:13 CST Fri, Mar 2, 2012
The following example changes the current software time of the system (for example, 2012-02-01

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Ruijie RG-S29 Series and is the answer not in the manual?

Ruijie RG-S29 Series Specifications

General IconGeneral
BrandRuijie
ModelRG-S29 Series
CategorySwitch
LanguageEnglish

Related product manuals