Mellanox MLNX-OS®Command Reference Guide for SX1018HP Ethernet Managed Blade Switch
Rev 1.6.2
Mellanox Technologies
69
2.3 NTP, Clock & Time Zones
clock set
clock set <hh:mm:ss> [<yyyy/mm/dd>]
Sets the time and date.
Syntax Description hh:mm:ss Time.
yyyy/mm/dd Date.
Default N/A
Modes/Context Config
History 3.1.0000
Role admin
Example
switch (config) # clock set 23:23:23 2010/08/19
switch (config) # show clock
Time: 23:23:26
Date: 2010/08/19
Time zone: UTC
(Etc/UTC)
UTC offset: same as UTC
switch (config) #
Related Commands show clock
Note If not specified, the date will be left the same.