we can only set the time relatively close to the real data automatically once the device reboot with
the help of EAA.
The configuration is following:
rtm cli-policy 1
event interface NULL0 monitor-obj tx-pps start-op le start-val 0
restart-op lt restart-val 0 interval 120
action 10 cli clock datetime 15:42:35 2021/1/21
Then save the configuration, the time would always be set as
15:42:35 2021/1/21 once the device reboot in the future.
One thing should be noticed that the clock protocol must be set to “none”, in order for this to work.