The ptp utc-offset command sets the offset between the Coordinated Universal Time (UTC) and International Atomic Time (TAI) on the grandmaster.
The undo ptp utc-offset command restores the default setting.
The default offset is 35s.
By default, the offset is 35s.
Usage Scenario
The UTC time is Greenwich Mean Time (GMT) that is displayed on a 1588v2 device, There is a fixed offset between the UTC time and TAI time. The International Earth Rotation Service (IERS) advertises the offset.
When a 1588v2 device tracks a BITS, the device uses the offset provided by the BITS by default. If the BITS clock signals are lost, the 1588v2 uses the previous offset, which may change. An offset change causes inaccurate time signals on the 1588v2 network. To manually set the offset between the UTC time and TAI time, run the ptp utc-offset command only on the grandmaster.Prerequisites
1588v2 has been enabled on the device using the ptp enable command.
Configuration Impact
If the ptp utc-offset command is run twice, the later command overrides the previous one.
In VS mode, this command is supported only by the admin VS.