ptp enable (interface view)

Function

The ptp enable command enables PTP on a specific interface.

The undo ptp enable command disables PTP on a specific interface.

By default, PTP is disabled on an interface.

Format

ptp enable

undo ptp enable

Parameters

None

Views

100GE interface view, 10G LAN interface view, 25GE interface view, 400GE interface view, 40GE interface view, 50GE interface view, FlexE-100G interface view, FlexE-400G interface view, FlexE-50G interface view, GE optical interface view, GE electrical interface view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
clksync write

Usage Guidelines

Usage Scenario

The PTP protocol can be enabled in two dimensions: system and interface.

Run the ptp enable command to enable PTP on the device, and then configure PTP in the system view.

Then, you need to run this command to enable PTP on the interface. After PTP is enabled on the interface, the interface can receive and send PTP packets. If an interface is selected as the best master clock, the device can perform clock synchronization through the PTP packets received by the interface.

PTP can be enabled on only one interface of the OC.

Precautions

In SMPTE-2059-2, if PTP is enabled on an interface and Layer 3 packet encapsulation is not configured, the source IP address in the ptp udp-egress source-ip command is automatically set to the IP address of the management network interface.

In SMPTE-2059-2, after the undo ptp udp-egress source-ip command is run on an interface, PTP is disabled on the interface.

Example

# Enable PTP on GE 0/1/0.
<HUAWEI> system-view
[~HUAWEI] ptp enable
[~HUAWEI] interface GigabitEthernet 0/1/0
[~HUAWEI-GigabitEthernet0/1/0] ptp enable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >