ptp-adaptive device-type

Function

The ptp-adaptive device-type command configures the 1588 ACR/ATR working mode for a device.

The undo ptp-adaptive device-type command deletes the 1588 ACR/ATR working mode configured on a device.

By default, no 1588 ACR/ATR working mode is configured for a device.

Format

ptp-adaptive device-type { client | server | server-and-client }

undo ptp-adaptive device-type

Parameters

Parameter Description Value
client

Configures the 1588 ACR/ATR working mode of the router as the client mode.

-

server

Configures the 1588 ACR/ATR working mode of the router as the server mode.

-

server-and-client

Configures the 1588 ATR working mode of the router as the server-and-client mode.

-

Views

System view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
clksync write

Usage Guidelines

Usage Scenario

During 1588 ACR/ATR clock synchronization, you need to set the working mode of the device. In the IPRAN networking, the clock node that is connected to a high-precision clock source such as BITS or IP CLK functions as the server, and the router close to the base station functions as the client to request clock information from the remote server.

In the 1588 ATR clock synchronization process, when the time node of the high-precision time source and the router near the base station are not in the same virtual private network, the virtual private network transit node serves as a client to synchronize time information of the time source, and serves as a server to provide a time service for the router near the base station, in this way, time synchronization traverses the virtual private network (VPN).

Prerequisites

1588 ACR/ATR has been enabled.

Precautions

  1. This command is supported only by the admin VS.
  2. In server-and-client mode, only 1588 ATR can be used for clock synchronization.
  3. By default, the system control board with a temperature compensation oscillator does not support the configuration of the 1588 ATR device type as client or server-and-client. After the ptp lite-sync sub-ms enable command is run to configure lightweight clock synchronization, the system control board with a temperature compensation oscillator can be configured with the 1588 ATR device type as client or server-and-client.
  4. After the lightweight clock mode is configured for the main control board of the temperature compensation crystal oscillator and the 1588 ATR device type is set to client or server-and-client, the lightweight clock configuration is canceled. As a result, the 1588 ATR device type is restored to the default value.

Example

# Configure the router as a client.
<HUAWEI> system-view
[~HUAWEI] ptp-adaptive enable
[*HUAWEI] ptp-adaptive device-type client
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >