< Home

ptp enable (interface view)

Function

The ptp enable command enables PTP on a certain interface of the device.

The undo ptp enable command disables PTP on a certain interface of the device.

By default, PTP is not enabled on the interface of the device.

Format

ptp enable

undo ptp enable

Parameters

None

Views

XGE interface view, 25GE interface view, 40GE interface view, 100GE interface view

Default Level

2: Configuration level

Usage Guidelines

Usage scenario

After PTP is enabled globally, enable PTP on an interface so that PTP can take effect.

Precautions

  • Before enabling PTP, ensure that the interface supports PTP.

  • The management interface and the sub interface cannot be enabled with PTP.

Pre-configuration tasks

  • Before enabling PTP on an interface, you must run the ptp device-type command in the system view to set the device type.

  • You must use the ptp port-type command to configure the clock mode of an interface on the TCandBC device.
  • On the OC device, only one interface can be enabled with PTP.
  • On the OC or BC device, you must use the ptp delay-mechanism command to configure the delay mechanism before enabling PTP.

Example

# Enable PTP on XGigabitEthernet 0/0/1.

<HUAWEI> system-view
[HUAWEI] ptp device-type bc slot 0
[HUAWEI] interface xgigabitethernet 0/0/1 
[HUAWEI-XGigabitEthernet0/0/1] ptp delay-mechanism delay
[HUAWEI-XGigabitEthernet0/0/1] ptp enable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >