ptp local-priority

Function

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

The undo ptp local-priority command restores the default configuration.

The default local priority of a PTP interface is 128.

Format

ptp local-priority local-priority-value

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

Parameters

Parameter Description Value
local-priority-value

Displays the local priority of a PTP interface.

The value is an integer ranging from 1 to 255. A smaller value indicates a higher priority.

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

ITUT G.8275.1 defines the local priority of an interface. To configure the local priority, run the ptp local-priority command. In the BMC algorithm of G.8275.1, when all the priority attributes are the same except for the local priority, the local priority is used for data set comparison algorithm.

This command applies only to G.8275.1 and CU-106.

Prerequisites

The ptp profile g-8275-1 enable command has been run.

Precautions

This command is supported only by the admin VS.

If all the priority attributes of two line clock sources are the same other than the local priority, the clock source with the smaller local priority is preferred.

If the local clock source (or external BITS clock reference source) has the same priority attributes with another line clock source other than the local priority, the clock source with the smaller priority is preferred.

Example

# Set the local priority of GE 0/1/1 to 10.
<HUAWEI> system-view
[~HUAWEI] ptp profile g-8275-1 enable
[~HUAWEI] interface GigabitEthernet 0/1/1
[~HUAWEI-GigabitEthernet0/1/1] ptp local-priority 10
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >