Specifying the system time source

The device can use one of the following system time sources:

If you configure the clock protocol none command together with the clock protocol ntp or clock protocol ptp command, the device uses the NTP or PTP time source.

If you power cycle an HPE 5900, the system time settings are restored to the defaults. You must configure the settings again.

Power cycling or using the reboot command to reboot an HPE 5920 does not change the system time settings.

To specify the system time source:

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Specify the system time source.

clock protocol { none | ntp | ptp }

By default, the device uses the NTP time source.

If you configure this command multiple times, the most recent configuration takes effect.