H3C LSW1FC4P0 Interface Card for S5820X-28C Ethernet Switches Command Line Interface Guide Firmware Version 9.0.7
Switch Module Configuration
Setting the Date and Time
70 59272-00 C
Setting the Date and Time
The Switch Module date and time can be set explicitly using the Date command or
it can be set automatically through a Network Time Protocol (NTP) server. The
Date command also displays the current time. Unlike the Date command, the NTP
server also synchronizes the date and time on the Switch Module with the date
and time on the workstation. Synchronized date and time is required for Secure
Socket Layer (SSL) connections.
To use an NTP server, you must enable the NTP client on the Switch Module and
specify an IP address for the NTP server.
Enter the Date command to display the date and time as show in the following
example:
H3C #> date
Mon Apr 07 07:51:24 200x
Enter the Date command within an Admin session to set the date and time as
shown in the following example:
H3C #> admin start
H3C (admin) #> date 013110152025
H3C (admin) #> date
Fri Jan 31 10:15:03 UTC 2025
NOTE:
To set the date with the Date command, the NTP client must be disabled.










