69
Configuring the cumulative offset between the UTC and TAI
The time displayed on a device is based on the Coordinated Universal Time (UTC). There is an offset
between UTC and TAI (International Atomic Time in English), which is made public periodically. This task
allows you to adjust the offset between the UTC and TAI on the device. It is applicable to the GM only.
To configure the cumulative offset between the UTC and TAI:
Ste
Command
Remarks
1. Enter system view.
system-view N/A
2. Configure the cumulative
offset between the UTC and
TAI.
ptp utc offset utc-offset The default is 0 seconds.
Configuring the correction date of the UTC
This task allows you to adjust the UTC at the last minute (23:59) of the specified date.
To configure the correction date of the UTC:
Ste
Command
Remarks
1. Enter system view.
system-view N/A
2. Configure the correction date
of the UTC.
ptp utc { leap59-date |
leap61-date } date
By default, the correction date of
the UTC is not configured.
This command takes effect only on
the GM.
Configuring the parameters of the Bits clock
Clock nodes in a PTP domain exchange announce messages through BMC to elect a GM. They compare
the parameters in the announce messages in the following sequence: priority 1, time class, time accuracy,
and priority 2. If all these parameters are the same, the clock node with a smaller port ID (consisting of
clock number and port number) wins.
To configure the clock parameters
Ste
Command
Remarks
1. Enter system view.
system-view N/A
2. Configure priority 1 of the
clock.
ptp priority clock-source { bits1 |
bits2 | local } priority1 pri1-value
Optional.
The default is 128.
3. Configure the parameters of
the Bits clock.
ptp clock-source { bits1 | bits2 }
{ accuracy acc-value | class
class-value | time-source ts-value }
By default, the time accuracy is
254, the time class is 248, and the
attribute value is 160 for the Bits
clock.
4. Configure the time accuracy
of the Bits clock.
ptp clock-source { bits1 | bits2 }
accuracy acc-value
Optional.
The default is 254.