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 HUAWEI NetEngine 8000 F Series functioning as a 1588 ATR client.

Context

ATR, which is an adaptive clock recovery technology, allows a 1588 ATR 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.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run ptp enable

    The 1588v2 function is enabled.

  3. Run ptp-adaptive enable

    The 1588 ATR function is enabled.

  4. Run clock source ptp synchronization enable

    A PTP clock is specified to participate in clock source selection.

  5. Run ptp-adaptive device-type client

    The 1588 ATR clock working mode is set to client.

  6. Run ptp-adaptive time profile

    The 1588 ATR-enabled device is configured to totally comply with ITUT-G.8275.2.

    After the ptp-adaptive time profile command is run, the default domain value changes to 44. The domain value range changes to 44-63.

  7. Run ptp-adaptive atr hop-by-hop

    The 1588 ATR client hop-by-hop mode is enabled.

    The ptp-adaptive atr hop-by-hop command is used when the time server supports only the 1588 ATR unicast negotiation mode.

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

    A 1588 ATR domain is configured.

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

  9. 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 ATR 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.

  10. 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 HUAWEI NetEngine 8000 F Series, 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, the client initiates a request for two connections to both clock servers.

  11. Run ptp-adaptive atr unicast-negotiate enable

    1588 ATR unicast negotiation is enabled on the HUAWEI NetEngine 8000 F Series.

  12. Enable 1588 ATR on the outbound interface used to transmit 1588 ATR packets.

    1. Run interface interface-type interface-number

      The interface view is displayed.

    2. Run ptp-adaptive atr enable

      1588 ATR is enabled on the interface.

    3. Run commit

      The configuration is committed.

    4. Run quit

      The system view is displayed.

  13. Run commit

    The configuration is committed.

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