ptp-adaptive request sync-interval

Function

The ptp-adaptive request sync-interval command sets the interval at which the server sends Sync packets.

The undo ptp-adaptive request sync-interval command restores the default interval at which the server sends Sync packets.

In G.8275.1 and CU-106 modes, the default value is 6. In other PTP modes, the default value is 7.

Format

ptp-adaptive request sync-interval interval-value

undo ptp-adaptive request sync-interval

Parameters

Parameter Description Value
interval-value

Specifies the minimum interval at which a PTP interface sends Delay_Req packets.

The value is an integer. The value range depends on the board type. The values supported (mapping between the clock-accuracy-value and clock-accuracy) are as follows:

  • 0 1/1024s
  • 1 2/1024s
  • 2 4/1024s
  • 3 8/1024s
  • 4 16/1024s
  • 5 32/1024s
  • 6 64/1024s
  • 7 128/1024s
  • 8 256/1024s
  • 9 512/1024s
  • 10 1s
  • 11 2s
  • 12 4s
  • 13 8s
  • 14 16s
  • 15 32s
  • 16 64s
  • 17 128s
  • 18 256s
  • 19 512s
  • 20 1024s

Views

System view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
clksync write

Usage Guidelines

Usage Scenario

Sync packets are used to transmit clock information between a server and a client.

Prerequisites

1588 ACR/ATR has been enabled.

Configuration Impact

If the ptp-adaptive request sync-interval command is run for multiple times, the latest configuration of this command overrides the previous one.

Precautions

This command is supported only on the admin VS.

This command is used on clients only.

This configuration needs to be performed before enabling unicast negotiation. If this configuration needs to be modified, disable unicast negotiation first.

Example

# Set the interval at which the server sends Sync packets to 1s.
<HUAWEI> system-view
[~HUAWEI] ptp-adaptive enable
[*HUAWEI] ptp-adaptive request sync-interval 10
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >