< Home

ptp announce-interval

Function

The ptp announce-interval command sets the interval for sending Announce packets on an interface of the PTP device.

The undo ptp announce-interval command restores the default interval for sending Announce packets on the interface of the PTP device.

By default, the interval for sending Announce packets is 128 ms.

Format

ptp announce-interval announce-interval

undo ptp announce-interval

Parameters

Parameter

Description

Value

announce-interval

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

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

By default, the interval is 7 (128 ms).

Views

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

Default Level

2: Configuration level

Usage Guidelines

Announce messages are advertisement messages in PTP, which are used to establish the master-slave hierarchy between devices. Announce packets ensure the exchange of clock synchronization information between PTP devices. If the value of the announce-interval is too small, devices frequently exchange PTP packets, which consume excessive bandwidth; if the value of the announce-interval is too great, the clock synchronization accuracy cannot be guaranteed. Therefore, while the clock synchronization accuracy is ensured, you should set the announce-interval to a larger value.

Example

# Set the interval for sending Announce packets on XGigabitEthernet0/0/1 of the PTP device to 256 ms.

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