ptp alarm-threshold standard-time-offset

Function

The ptp alarm-threshold standard-time-offset command configures an alarm threshold for the PTP source absolute time reference.

The undo ptp alarm-threshold standard-time-offset command restores the default configuration.

By default, the alarm threshold for the PTP source absolute time reference is 500 ns.

Format

ptp alarm-threshold standard-time-offset time-offset-value

undo ptp alarm-threshold standard-time-offset [ time-offset-value ]

Parameters

Parameter Description Value
time-offset-value

Specifies the alarm threshold for the PTP source absolute time reference.

The value is an integer that ranges from 200 to 1000, in ns.

Views

System view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
clksync write

Usage Guidelines

Usage Scenario

If a device can obtain the absolute time reference source through an external BITS clock source, the device can compare the external reference time and PTP time and reports the time difference. If the time difference exceeds the threshold, an alarm will be reported. To configure the alarm threshold for the difference between the eternal reference time and PTP time, run the ptp alarm-threshold standard-time-offset command.

In VS mode, this command is supported only by the admin VS.

Example

# Configure the alarm threshold for PTP source absolute time reference as 600 ns.
<HUAWEI> system-view
[~HUAWEI] ptp alarm-threshold standard-time-offset 600
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >