Clock Protocol; Clock Summer-Time - H3C S6550X-HI Series Command Reference Manual

Table of Contents

Advertisement

clock protocol

Use
clock protocol
Use
undo clock protocol
Syntax
clock protocol { none | ntp | ptp }
undo clock protocol
Default
The device obtains the UTC time from an NTP time source.
Views
System view
Predefined user roles
network-admin
Parameters
: Uses the system time set by using the
none
: Uses NTP to obtain the UTC time. You must configure NTP correctly. For more information
ntp
about NTP and NTP configuration, see Network Management and Monitoring Configuration Guide.
: Uses PTP to obtain the UTC time. You must configure PTP correctly. For more information
ptp
about PTP and PTP configuration, see Network Management and Monitoring Configuration Guide.
Usage guidelines
Correct system time is essential to network management and communication. You must configure
the system time correctly before you run the device on the network.
The device can use the locally set system time, or obtain the UTC time from a time source on the
network and calculate the system time.
If you execute the
time. The device then uses the clock signals generated by its built-in crystal oscillator to
maintain the system time.
If you execute the
time through NTP or PTP and calculates the system time. The device then periodically
synchronizes the UTC time and recalculates the system time.
The system time calculated by using the UTC time from an NTP or PTP time source is more precise.
If you execute this command multiple times, the most recent configuration takes effect.
Examples
# Configure the device to use the local system time.
<Sysname> system-view
[Sysname] clock protocol none

clock summer-time

Use
clock summer-time
Use
undo clock summer-time
to specify the system time source.
to restore the default.
clock protocol none
clock protocol { ntp | ptp }
to set the daylight saving time.
to restore the default.
2
command.
clock datetime
command, the device uses the locally set system
command, the device obtains the UTC

Advertisement

Table of Contents
loading

Table of Contents