This section describes how to globally enable SMPTE-2059-2. SMPTE-2059-2 needs to be enabled in both the system view and interface view. After SMPTE-2059-2 is enabled in the system view, configure basic device information, such as the domain name and virtual clock ID, required for setup of an SMPTE-2059-2 network.
Procedure
- Perform the following steps on an OC:
- Run system-view
The system view is displayed.
- Run ptp enable
PTP is enabled.
- Run ptp profile smpte-2059-2 enable
SMPTE-2059-2 is enabled.
- Run ptp device-type oc
The device type is set to OC.
- (Optional) Run ptp slaveonly
The OC is configured to work in slave-only mode.
A router that functions as an OC to synchronize time signals with other devices can be configured to work in slave-only mode. The OC working in slave-only mode has its interfaces in Slave state. This means that the OC can function as a slave clock to receive clock signals from other clocks, but cannot function as a master clock to provide clock signals for other clocks.
- Run ptp domain domain-value
The clock domain where the SMPTE-2059-2 device resides is specified.
Devices in the same clock domain can exchange SMPTE-2059-2 packets to synchronize time signals.
- (Optional) Run ptp virtual-clock-id clock-id-value
A virtual clock ID is set.
- Run commit
The configuration is committed.
- Perform the following steps on a BC:
- Run system-view
The system view is displayed.
- Run ptp enable
PTP is enabled.
- Run ptp profile smpte-2059-2 enable
SMPTE-2059-2 is enabled.
- Run ptp device-type bc
The device type is set to BC.
- Run ptp domain domain-value
The clock domain where the SMPTE-2059-2 device resides is specified.
Devices in the same clock domain can exchange SMPTE-2059-2 packets to synchronize time signals.
- (Optional) Run ptp virtual-clock-id clock-id-value
A virtual clock ID is set.
- (Optional) Run ptp asymmetry-measure enable
Automatic asymmetry measurement is enabled on the router over an SMPTE-2059-2 ring network.
- (Optional) Run ptp max-steps-removed max-steps-removed-value
The maximum number of hops is specified. If the stepsRemoved value of the Announce packets received by the clock source is greater than or equal to the value of max-steps-removed-value, the clock source is unavailable.
- Run commit
The configuration is committed.
- Perform the following steps on a TC or TCOC:
- Run system-view
The system view is displayed.
- Run ptp enable
PTP is enabled.
- Run ptp profile smpte-2059-2 enable
SMPTE-2059-2 is enabled.
- Run ptp device-type { e2etc | e2etcoc | p2ptc | p2ptcoc }
The device type is set to TC or TCOC.
A TCOC has the same functions as a TC and also implements frequency synchronization.
- Run ptp domain domain-value
The clock domain where the SMPTE-2059-2 device resides is specified.
Devices in the same clock domain can exchange SMPTE-2059-2 packets to synchronize time signals.
- (Optional) Run ptp virtual-clock-id clock-id-value
A virtual clock ID is set.
- Run commit
The configuration is committed.
- Perform the following steps on a TCandBC:
- Run system-view
The system view is displayed.
- Run ptp enable
PTP is enabled.
- Run ptp profile smpte-2059-2 enable
SMPTE-2059-2 is enabled.
- Run ptp device-type tcandbc
SMPTE-2059-2 is enabled.
- Run ptp domain domain-value
The clock domain where the SMPTE-2059-2 device resides is specified.
Devices in the same clock domain can exchange SMPTE-2059-2 packets to synchronize time signals.
- (Optional) Run ptp virtual-clock-id clock-id-value
A virtual clock ID is set.
- (Optional) Run ptp asymmetry-measure enable
Automatic asymmetry measurement is enabled on the router over an SMPTE-2059-2 ring network.
- Run commit
The configuration is committed.