On the test, I will configure the time on the Huawei SmartAX MA5683T.
First, look at the current time settings:
1 2 3 4 5 6 | 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:
1 2 | time time-stamp utc timezone GMT+ 02:00 |
Example of manually setting the time and date:
1 2 | 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):
1 | ntp-service unicast-server 192.168.2.2 source-interface meth 0 |
Time should be synchronized, check:
1 2 3 | 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):
1 | time dst start 4-1 00:00:00 end 10-28 00:00:00 adjust 01:00 |