The ptp-adaptive acr unicast-negotiate enable command enables 1588 ACR unicast negotiation on the router and configures the frequency recovery mode to be one-way or two-way.
The undo ptp-adaptive acr command disables 1588 ACR unicast negotiation from the router and cancels the configured frequency recovery mode. As a result, the frequency recovery mode is none.
The ptp-adaptive atr unicast-negotiate enable command enables the 1588 ATR unicast negotiation function on an router.
The undo ptp-adaptive atr command disables the 1588 ATR unicast negotiation function on an router.
By default, 1588 ACR unicast negotiation is disabled, and therefore the frequency recovery mode is none.
By default, the 1588 ATR unicast negotiation function is disabled.
Parameter | Description | Value |
---|---|---|
one-way |
The specified frequency recovery mode is one-way, or the clock frequency is recovered using Sync packets. |
- |
two-way |
The specified frequency recovery mode is two-way, or the clock frequency is recovered using Sync packets, Delay_Request packets, and Delay_Response packets. |
- |
Usage Scenario
To ensure the 1588 ACR clock synchronization between the clock server and the client, you need to use this command to configure 1588 ACR unicast negotiation and frequency recovery mode on the two ends.
To enable the 1588 ATR unicast negotiation function, run the ptp-adaptive atr unicast-negotiate enable command.Prerequisites
Before running the ptp-adaptive acr unicast-negotiate enable command, the following configurations have been performed:
Configuration Impact
After 1588 ACR and unicast negotiation have been enabled on the router, the device functioning as a client initiates a request for negotiation and exchanges Layer 3 unicast packets with a clock server to set up a connection. If the connection is successful, the client exchanges 1588v2 packets with the clock server to restore clock information. After 1588 ACR and unicast negotiation have been enabled on the router, the device functioning as a server accepts the connection request sent by a client. If the connection is successful, the server exchanges 1588v2 packets carrying clock information with the client.
After the 1588 ATR unicast negotiation function is enabled on an router, the router can function as a clock server to receive connection requests from clock clients and send 1588 packets carrying clock information to the clock clients.Follow-up Procedure
Parameters for unicast negotiation need to be set.
<HUAWEI> system-view [~HUAWEI] interface loopback 0 [*HUAWEI-Loopback0] ip address 2.2.2.2 [*HUAWEI-Loopback0] quit [~HUAWEI] ptp-adaptive enable [*HUAWEI] ptp-adaptive device-type client [*HUAWEI] ptp-adaptive local-ip 2.2.2.2 ptp-adaptive acr unicast-negotiate enable
<HUAWEI> system-view [~HUAWEI] interface loopback 0 [*HUAWEI-Loopback0] ip address 2.2.2.2 [*HUAWEI-Loopback0] quit [~HUAWEI] ptp-adaptive enable [~HUAWEI] ptp-adaptive time profile [*HUAWEI] ptp-adaptive device-type server [*HUAWEI] ptp-adaptive local-ip 2.2.2.2 ptp-adaptive atr unicast-negotiate enable