Basic System Configuration Commands; Clock Datetime - H3C S3100-52P Command Manual

Hide thumbs Also See for S3100-52P:
Table of Contents

Advertisement

Command Manual – System Maintenance and Debugging
H3C S3100-52P Ethernet Switch
Chapter 1 Basic System Configuration and

1.1 Basic System Configuration Commands

1.1.1 clock datetime

Syntax
clock datetime HH:MM:SS { YYYY/MM/DD | MM/DD/YYYY }
View
User view
Parameters
HH:MM:SS: Current time, where HH ranges from 0 to 23, MM and SS range from 0 to
59.
YYYY/MM/DD or MM/DD/YYYY: Current date, where YYYY represents year ranging
from 2000 to 2099, MM represents month ranging from 1 to 12, and DD represents day
ranging from 1 to 31.
Description
Use the clock datetime command to set the current date and time of the Ethernet
switch.
By default, it is 23:55:00 04/01/2000 when the system starts up.
In an implementation where exact absolute time is required, it is necessary to use this
command to set the current date and time of the Ethernet switch.
Related commands: display clock.
Examples
# Set the current date and time of the Ethernet switch to 0:0:0 2001/01/01.
<Sysname> clock datetime 0:0:0 2001/01/01
<Sysname> display clock
00:00:04 UTC Mon 01/01/2001
Time Zone : add 00:00:00
Debugging Commands
1-1
Chapter 1 Basic System Configuration and
Debugging

Advertisement

Table of Contents
loading

Table of Contents