
GSWB
CHAPTER 8 CLI Operations
8.3Operation Commands
This section describes the operation commands.
8.3.1Console-related commands
This section describes the
8.3.1.1clock set
This command sets the software clock. The setting values 0 to 9 for the month, day, hour, minute, and second are equivalent to 00 to 09.
Example:
switch#clock set 1:1:1 1 2 2003 Sat Feb 1 01:01:01 JST 2003 switch#clock set 01:01:01 01 02 2003 Sat Feb 1 01:01:01 JST 2003 switch#
(1) Synopsis
clock set <hh:mm:ss> <day> <month> <year>
(2) Options
z<hh:mm:ss>: Specifies the current time.
-hh: Specifies the hour (0 to 23).
-mm: Specifies the minute (0 to 59).
-ss: Specifies the second (0 to 59).
z<day>: Specifies the day (1 to 31).
z<month>: Specifies the month (01 to 12).
z<year>: Specifies the year (1970 to 2037).
The hour, minute, second, day, and month can be entered as a
The setting values 0 to 9 are equivalent to 00 to 09.