< Home

ptp sync-interval

Function

The ptp sync-interval command sets the interval for sending Sync packets from an interface.

The undo ptp sync-interval command restores the default interval for sending Sync packets from an interface.

By default, the interval for sending 1588v2 Sync packets is 8 ms, the interval for sending G.8275.1 Sync packets is 64 ms.

Format

ptp sync-interval sync-interval

undo ptp sync-interval

Parameters

Parameter

Description

Value

sync-interval

Indicates that the interval for sending Sync packets on an interface is set to the nth power of 2 in milliseconds, where n is specified by sync-interval.

The value is an integer that ranges from 0 to 20.

In 1588v2 mode, the default value is 3. That is, the interval is 8 ms. In G.8275.1 mode, the default value is 6. That is, the interval is 64 ms.

Views

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

Default Level

2: Configuration level

Usage Guidelines

Usage scenario

Sync packets are used to generate timestamps when the delay mechanism is used. Based on the generated timestamps, PTP calculates the link delay and implements clock synchronization. The interval for sending Sync packets affects the clock synchronization accuracy. A higher interval indicates a higher clock synchronization accuracy. However, a high packet sending interval will increase the network load. Therefore, configure the interval for sending Sync packets according to networking requirements.

Example

# Set the interval for sending Sync packets to 128 ms on XGigabitEthernet0/0/1.

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