< Home

ptp local-priority

Function

The ptp local-priority command configures the local priority of a G.8275.1 interface.

The undo ptp local-priority command restores the default local priority of a G.8275.1 interface.

By default, the local priority of a G.8275.1 interface is 128.

Format

ptp local-priority local-priority-value

undo ptp local-priority [ local-priority-value ]

Parameters

Parameter Description Value
local-priority-value Specifies the local priority of a G.8275.1 interface. The value is an integer that ranges from 1 to 255.

Views

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

Default Level

2: Configuration level

Usage Guidelines

According to the BMC algorithm in G.8275.1:
  • When two line clock sources are compared and other attributes the same, the interface with a lower local priority is preferentially selected.
  • When the local or external clock source competes with a line clock source and other attributes are the same, the two clock sources are compared against the local priority. The clock source with a lower local priority is preferentially selected.

Example

# Set the local priority of a local G.8275.1 clock source to 120.

<HUAWEI> system-view
[HUAWEI] interface xgigabitethernet 0/0/1
[HUAWEI-XGigabitEthernet0/0/1] ptp local-priority 120
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >