77
Views
System view
Predefined user roles
network-admin
Parameters
leap59-date
: Adjusts the UTC at the last minute (23:59) of the specified date so that the UTC is one
second slower than the TAI.
leap61-date
: Adjusts the UTC at the last minute (23:59) of the specified date so that the UTC is one
second faster than the TAI.
date
: Specifies the date to adjust the UTC, in the format of YYYY/MM/DD. The value range for YYYY
and MM is 2000 to 2035 and 1 to 12, respectively. The value range for DD depends on the specified
month. Do not specify a date earlier than the current date. Otherwise, the configuration does not take
effect.
Usage guidelines
This command is available only after you specify a PTP profile and a PTP mode.
Specify either the
leap59-date
or
leap61-date
keyword in this command. The most recent
configuration overwrites the earlier configuration.
Examples
# Assume the current date is August 8, 2010. Specify the clock node type as BC for the device, and
adjust the UTC at the last minute of December 31, 2010 so that the UTC is one second slower than
the TAI.
<Sysname> system-view
[Sysname] ptp profile 1588v2
[Sysname] ptp mode bc
[Sysname] ptp utc leap59-date 2010/12/31
Related commands
•
ptp
mode
•
ptp
profile
ptp utc offset
Use
ptp
utc
offset
to configure the cumulative offset between the UTC and TAI.
Use
undo ptp
utc
offset
to restore the default.
Syntax
ptp
utc
offset
utc-offset
undo
ptp
utc
offset
Default
The cumulative offset between the UTC and TAI is 0 seconds.
Views
System view
Predefined user roles
network-admin