On the test, I will configure the time on the Huawei SmartAX MA5683T.
First, look at the current time settings:
display time
display timezone
display time dst
display time time-stamp
display time-range
display ntp-service
We proceed to the configuration, specify the time zone:
time time-stamp utc
timezone GMT+ 02:00
Example of manually setting the time and date:
time 12:53:00
time 12:53:00 2019-03-20
We specify the server address for time synchronization and the interface through which to send requests (I use the meth interface for management):
ntp-service unicast-server 192.168.2.2 source-interface meth 0
Time should be synchronized, check:
display ntp-service status
display ntp-service sessions
display ntp-service trace
You can customize the transition to summer/winter time (for example, April 1 and October 28):
time dst start 4-1 00:00:00 end 10-28 00:00:00 adjust 01:00
See also my article:
Setting up the Huawei SmartAX MA5683T via the console