ptp-adaptive remote-server-ip

Function

The ptp-adaptive remote-server-ip command configures the remote clock server list used for unicast negotiation.

The undo ptp-adaptive remote-server-ip command deletes the remote clock server list.

By default, no clock server is configured.

Format

ptp-adaptive { remote-server1-ip | remote-server2-ip } ip-address

undo ptp-adaptive { remote-server1-ip | remote-server2-ip }

Parameters

Parameter Description Value
remote-server1-ip ip-address

Specifies the IP address of clock server 1.

The value of ip-address can be an IPv4 address only.

remote-server2-ip ip-address

Specifies the IP address of clock server 2. Clock server 1 and clock server 2 back up each other.

The value of ip-address can be an IPv4 address only.

Views

System view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
clksync write

Usage Guidelines

Usage Scenario

The clock server's and client's IP addresses uniquely identify a connection, over which a client initiates Layer 3 1588 ACR/ATR unicast negotiation with a clock server. 1588v2 packets are exchanged over the Layer 3 unicast negotiation connection.

Prerequisites

Before using the ptp-adaptive remote-server-ip command, enable 1588 ACR/ATR and run the ptp-adaptive device-type command to configure the device as a client.

Configuration Impact

If the ptp-adaptive remote-server-ip command is run to configure an IP address for a server that has been configured with an IP address, the newly configured IP address overwrites the original one. The ptp-adaptive remote-server-ip command can be used twice to specify an IP address for each of server 1 and server 2 so that the two servers can back up each other.

If the IP addresses of two remote servers are specified, the client sends connection requests to the servers at the same time. Based on the best master clock algorithm (BMCA) and SSM algorithms, a preferred server is selected as the master server, and the other server is selected as the backup server.

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

Example

# Configure a remote device as server 1, set the IP address of the server to 10.0.0.1.
<HUAWEI> system-view
[~HUAWEI] ptp-adaptive enable
[*HUAWEI] ptp-adaptive device-type client
[*HUAWEI] ptp-adaptive remote-server1-ip 10.0.0.1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >