The ptp-adaptive duration command sets a duration for each type of 1588 ACR/ATR packet.
The undo ptp-adaptive duration command restores the default duration of each type of 1588 ACR/ATR packet.
By default, the duration of each type of 1588 ACR packet is 300s.
Parameter | Description | Value |
---|---|---|
announce-duration |
Indicates the duration of Announce packets. |
- |
sync-duration |
Indicates the duration of a Sync packet. |
- |
delay-resp-duration |
Indicates the duration of a Delay_Resp packet. |
- |
duration-value |
Specifies the duration value. |
The value is an integer ranging from 60 to 1000, in seconds. |
Usage Scenario
Announce packets carry clock source information about 1588v2 devices and are used for BMC source selection in 1588 ACR/ATR Layer 3 unicast negotiation. Delay_Resp and Sync packets are used to transmit frequency information during 1588 ACR/ATR Layer 3 unicast negotiation. If the client and the server do not receive any of the three types of packets within a certain period, the Layer 3 unicast negotiation between them fails.
The duration of a packet indicates whether a connection is valid. For example, a client on which the duration of a Sync packet is set records the interval for receiving Sync packets. If the client does not receive the second Sync packet within the duration of a Sync packet, the client considers that the connection with the server fails.Prerequisites
1588 ACR/ATR has been enabled.
Precautions
This command is supported only on the admin VS.
The duration expiration of any type of packets triggers a client to resend a request for establishing a connection to the server. Generally, modifying the duration of a packet is not recommended. This command is used on clients. If the ptp-adaptive duration command is run for multiple times, the latest configuration of this command overrides the previous one.