Device Management Commands; Clock Datetime - HP FlexFabric 7900 Series Command Reference Manual

Hide thumbs Also See for FlexFabric 7900 Series:
Table of Contents

Advertisement

Device management commands

The HPE 7904/HPE 7904 TAA switch uses one built-in MPU (slot 0) and the HPE 7910/HPE 7910
TAA switch uses two removable switching fabric modules (slots 10 and 11) for switching and control.
Unless otherwise stated, the term "card" collectively refers to LPUs, switching fabric modules, and
MPUs.

clock datetime

Use clock datetime to set the system time.
Syntax
clock datetime time date
Default
The factory default system time is used.
Views
User view
Predefined user roles
network-admin
mdc-admin
Parameters
time: Specifies a time in the hh:mm:ss format. The hh value is in the range of 0 to 23, the mm value
is in the range of 0 to 59, and the ss value is in the range of 0 to 59. The leading zero in a segment
can be omitted. If the seconds segment is 0 (hh:mm:00), you can omit it. If both the minutes and
seconds segments are 0 (hh:00:00), you can omit both of the segments. For example, to specify
08:00:00, you can enter 8.
date: Specifies a date in the MM/DD/YYYY or YYYY/MM/DD format. The YYYY value is in the range
of 2000 to 2035, the MM value is in the range of 1 to 12, and the value range for DD depends on the
month value.
Usage guidelines
Correct system time is essential to network management and communication. You must configure
the system time correctly before you run the device on the network.
For the device to use the local system time, execute the clock protocol none command and this
command in turn. The specified system time takes effect immediately. Then, the device uses the
clock signals generated by its built-in crystal oscillator to maintain the system time.
If you set the time zone or daylight saving time after you configure this command, the device
recalculates the system time. To view the system time, use the display clock command.
Examples
# Set the system time to 08:08:08 01/01/2015.
<Sysname> clock datetime 8:8:8 1/1/2015
# Set the system time to 08:10:00 01/01/2015.
<Sysname> clock datetime 8:10 2015/1/1
Related commands
clock protocol
190

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents