You need to enable G.8275.1 in the system view of a device, configure the device as a T-BC, specify the domain to which the device belongs to, and enable the static configuration of the status of the T-BC interface. After enabling G.8275.1 in the system view, you need to enable G.8275.1 in the interface view.
Context
Perform the following operations on the T-BC:
Procedure
- Run system-view
The system view is displayed.
- Run ptp enable
PTP is enabled.
- Run ptp profile g-8275-1 enable
G.8275.1 is enabled.
- Run ptp device-type t-bc
The device type is set to T-BC.
- (Optional) Run ptp domain domain-value
The domain where the device resides is configured.
Devices in the same clock domain can exchange G.8275.1 packets to synchronize time signals.
- (Optional) Configure automatic asymmetry measurement for fibers.
- Run ptp asymmetry-measure enable
Automatic asymmetry measurement is enabled on the device.
- Run ptp passive-measure enable
The performance monitoring function is enabled on the passive interface of a G.8275.1 device.
- Run ptp passive-measure alarm-threshold alarm-threshold-value
An alarm threshold is configured for the time offset (time difference between the master and slave clocks) on the passive interface of a G.8275.1 device.
- (Optional) Configure the clock source access control function.
- Run ptp acl enable
The clock source access control function is enabled.
- Run ptp acl-permit-clockid clockid-value
A clock ID is configured for a T-BC to allow for local BMC algorithm.
- (Optional) Run ptp max-steps-removed max-steps-removed-value
The maximum number of hops for time synchronization is configured.
A clock source is considered unavailable if stepsRemoved in the Announce packets received by the clock source is greater than or equal to max-steps-removed-value.
- Run commit
The configuration is committed.
- Run interface interface-type interface-number
The interface view is displayed.
- Run ptp enable
PTP is enabled on the interface.
- (Optional) Run ptp notslave disable.
The notslave attribute of the interface is set to FALSE.
- (Optional) Run ptp local-priority local-priority-value.
The local priority of a PTP interface is set.
- (Optional) Run ptp asymmetry-correction { positive | negative } correction-value
The asymmetric correction time for sending G.8275.1 packets on the interface is set.
- (Optional) Run ptp clock-step { one-step | two-step }
The timestamping mode of the synchronization packets sending by the G.8275.1 port is set.
- Run commit
The configuration is committed.