Configuring the Unicast Negotiation Function for a Client

The unicast negotiation function and parameters for a connection between a client and a clock server are configured on the router functioning as a 1588 ACR client.

Context

ACR, which is an adaptive clock recovery technology, allows a 1588 ACR client to exchange 1588v2 packets with a clock server on a link where a 1588v2-incapable device resides. After receiving 1588v2 packets, the client uses clock information carried in the packets to restore clock information.

The 1588 ACR features supported by the NetEngine 8000 F are as follows:
  • 1588 ACR clock synchronization in single-server scenarios

    In a 1588 ACR domain, a client establishes a client/server relationship only with the remote clock server. The client initiates unicast negotiation requests and obtains 1588v2 packets for clock restoration. If a clock server becomes faulty, the client does not automatically initiate a connection request to another clock server.

  • 1588 ACR clock synchronization in dual-server scenarios

    In a 1588 ACR domain, a client establishes a client/server relationship with two remote clock servers. The client initiates unicast negotiation requests and obtains 1588v2 packets for clock restoration. If the master clock server becomes faulty, the client automatically initiates a connection request to the slave clock server.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run ptp-adaptive enable

    1588 ACR is enabled.

  3. Run ptp-adaptive device-type client

    The 1588 ACR clock working mode is set to client.

  4. (Optional) Run ptp-adaptive frequency profile

    The 1588 ACR-enabled device to totally comply with ITU-T G.8265.1 is configured.

    After the ptp-adaptive frequency profile command is run, the default domain value changes to 4. The domain value range changes to 4-23.

  5. (Optional) Run ptp-adaptive domain domain-value

    A 1588 ACR domain is configured.

    The client and clock server, which exchange 1588 ACR packets for clock or time synchronization, must be in one 1588 ACR clock domain.

  6. Run ptp-adaptive local-ip ip-address

    An IP address is assigned to the client, which is used to initiate a request for negotiation and send Layer 3 unicast packets.

    The clock server's and client's IP addresses uniquely identify a 1588 ACR connection, which is set up by exchanging Layer 3 unicast packets between a client and a clock server during negotiation. Configuring a loopback address as the client's IP address is recommended, not the IP address of the management network port on the device, helping the clock server direct packets to the client.

  7. (Optional) Run ptp-adaptive vpn-instance vpn-name

    The VPN instance name carried in 1588v2 packets is specified, which identifies the VPN instance bound to the server's loopback interface.

  8. Run ptp-adaptive { remote-server1-ip | remote-server2-ip } ip-address

    The remote clock server list is configured.

    If multiple clock servers exist on a network, the router, functioning as a client, tracks its clock server based on the clock server's IP address. Running this command twice specifies master and slave clock servers.

    If two clock servers are configured, a client initiates connection requests to both servers. If a connection to a server fails to be established or is disconnected, the client automatically initiates a connection to the other client. The process repeats until the client is connected to a server.

  9. Run ptp-adaptive { acr [ one-way | two-way ] | atr } unicast-negotiate enable

    1588 ACR unicast negotiation is enabled on the router and the frequency recovery mode is configured.

  10. Run commit

    The configuration is committed.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
Next topic >