Configuring the System Clock
You need to correctly set the system clock to ensure synchronization with other devices.
Usage Scenario
NTP provides the provision for configuring the system datetime, timezone and daylight saving time information.
In the application environment where absolute time is strictly required, the current date and clock of the router must be set.
Procedure
- Run clock datetime time date
The current time is set.
- (Optional) Run system-view
The system view is displayed.
- Run clock timezone time-zone-name { add | minus } offset
The local time zone is set.
- Run clock daylight-saving-time time-zone-name one-year start-time start-date end-time end-date offset
Or, clock daylight-saving-time time-zone-name repeating start-time { { first | second | third | fourth | last } weekday month | start-date } end-time { { first | second | third | fourth | last } weekday month | end-date } offset [ start-year [ end-year ] ]
The daylight saving time is set.