< Home

ptp port-type

Function

The ptp port-type command configures the clock mode of an interface on a TCandBC device.

The undo ptp port-type command deletes the clock mode configured on the interface on a TCandBC device.

By default, the PTP clock mode is not configured on the interface.

Format

ptp port-type { bc | tc }

undo ptp port-type

Parameters

Parameter

Description

Value

bc

Indicates that the clock mode configured on the interface of the TCandBC is BC.

-

tc

Indicates that the clock mode configured on the interface of the TCandBC is TC.

-

Views

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

Default Level

2: Configuration level

Usage Guidelines

Usage scenario

The device supports the TCandBC clock mode. In this case, you can configure the clock mode of the interface to TC or BC. If the original clock mode of the interface is BC or OC, and the interface is enabled with PTP, the clock mode of the interface changes to BC after the device clock mode is changed to TC and BC mode.

Precautions

  • This command is invalid when G.8275.1 is enabled.

  • If the interface is enabled with PTP, the ptp port-type command is invalid.

  • Before delete the clock mode of the interface of the TCandBC device, you must first clear the clock domain of the interface, if the clock mode is TC and the clock domain of the interface is configured.

Example

# Configure the clock mode of XGigabitEthernet0/0/1 interface on the TCandBC device to BC.

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