Configuring G.8275.1 on an Interface
Procedure
- Run system-view
The system view is displayed.
- Run interface interface-type interface-number
The interface view is displayed.
- Run ptp delay-mechanism delay
The delay measurement mechanism is configured as delay.
By default, no delay measurement mechanism is configured for interfaces.
- Run ptp notslave disable
The G.8275.1 interface is configured to work in slave state.
- Run ptp enable
PTP is enabled on the interface.
By default, PTP is not enabled on an interface.
- (Optional) Run ptp announce-drop enable
The interface of the G.8275.1 device is configured to discard the received Announce messages.
By default, an interface does not discard Announce messages. Announce messages are used for PTP clock synchronization. If an interface is configured to drop Announce messages, the device cannot receive clock signals from other devices through the interface. Generally, a user-side interface is configured to drop Announce messages.
- (Optional) Run ptp asymmetry-correction { positive | negative } asymmetry-correction
The asymmetric correction time for sending G.8275.1 messages on the interface is set.
- (Optional) Run ptp clock-step { one-step | two-step }
The mode in which the G.8275.1 device timestamps G.8275.1 messages to perform clock synchronization is configured.
By default, G.8275.1 messages are timestamped in one-step mode.
- (Optional) Run ptp local-priority local-priority-value
A local priority is configured for the G.8275.1 interface.
By default, the local priority of a G.8275.1 interface is 128. If multiple clock sources participate in clock source selection, clock source switching can be achieved through the local priorities configured for interfaces.