ptp alarm-threshold time-offset-sum

Function

The ptp alarm-threshold time-offset-sum command configures an alarm threshold for the peak value of the accumulated PTP source time offsets.

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

By default, the alarm threshold for the peak value of the accumulated PTP source time offsets is 500 ns.

Format

ptp alarm-threshold time-offset-sum time-offset-sum

undo ptp alarm-threshold time-offset-sum [ time-offset-sum ]

Parameters

Parameter Description Value
time-offset-sum

Specifies the alarm threshold of the peak value of the accumulated time offsets.

The value is an integer ranging from 0 to 1000000000, in ns.

Views

System view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
clksync write

Usage Guidelines

Usage Scenario

A device of the BC/T-BC or OC slave type supports time offset accumulation and detection. If the peak value of the accumulated time offsets exceeds the threshold, an alarm will be reported. The peak value of the accumulated time offsets is the difference between the maximum and minimum time offsets within a specified period.

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

Example

# Set the alarm threshold of the peak value of the accumulated PTP source time offsets to 600 ns.
<HUAWEI> system-view
[~HUAWEI] ptp alarm-threshold time-offset-sum 600
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >