Configuring the system time
Correct system time is essential to network management and communication. Configure the system time
correctly before you run the device on the network.
Specifying the system time source
The device can use one of the following system time sources:
None—Local system time. If you specify this time source for the device, you must set the system time
•
as described in "Setting the system time."
NTP—NTP time source. When the device uses the NTP time source, you cannot change the system
•
time manually. For more information about NTP, see Network Management and Monitoring
Configuration Guide.
To specify the system time source:
Step
1.
Enter system view.
2.
Specify the system
time source.
Setting the system time
When the system time source is the local system time, the system time is determined by the UTC time, local
time zone, and daylight saving time. You can use the display clock command to view the system time.
To set the system time:
Step
1.
Set the UTC time.
Enter system view.
2.
3.
Set the local time zone.
4.
Set the daylight saving time.
Command
system-view
clock protocol { none | { ntp
| ptp } mdc mdc-id }
Command
clock datetime time date
system-view
clock timezone zone-name { add |
minus } zone-offset
clock summer-time name start-time
start-date end-time end-date
add-time
217
Remarks
N/A
By default, the device uses the NTP time source
specified on the default MDC.
The device does not support the ptp keyword.
If you configure this command multiple times, the
most recent configuration takes effect.
Remarks
The default UTC time is the device
manufacture time.
N/A
The default local time zone is the
UTC time zone.
By default, daylight saving time is
disabled.