Configure G.8275.1 Profile
This topic details the steps to configure SyncE, PTP, and PTPoLAG on G.8275.1 profile.
You can configure the G.8275.1 PTP profile for applications requiring accurate phase and time synchronization. It supports the architecture defined in ITU-T G.8275 to enable the distribution of phase and time with full timing support and is based on the second version of PTP defined in [IEEE 1588].
Configure G.8275.1 PTP profile
-
In configuration mode, go to the
[edit protocols ptp]
hierarchy level:[edit] user@host# edit protocols ptp
-
Configure the G.8275.1 profile.
[edit protocols ptp] user@host# set profile-type g.8275.1
-
Configure the clock mode as either boundary or ordinary.
The
boundary
option signifies that the clock can be both a timeTransmitter clock and a timeReceiver clock. Theordinary
option signifies that the clock is either a timeTransmitter clock or a timeReceiver clock.[edit protocols ptp] user@host# set clock-mode (boundary | ordinary)
-
Configure the PTP domain option with values from 24 through 43. The default
value is 24.
[edit protocols ptp] user@host# set domain domain-value
-
Configure the
priority2
option with values from 0 through 255. The default value is 128.The
priority2
value differentiates and prioritizes the timeTransmitter clock to avoid confusion whenpriority1-value
is the same for different timeTransmitter clocks in a network.[edit protocols ptp] user@host# set priority2 priority2-value
-
Configure stateful interface for boundary clock mode of operation.
[edit protocols ptp stateful] user@host# edit interface interface-name
Note:For the configuration to work, the interface you specify must be configured at the [
edit interfaces interface-name
] hierarchy level. -
Configure multicast transmission of Precision Time Protocol (PTP)
packets.
[edit protocols ptp stateful interface interface-name] user@host# set multicast-mode
-
Configure the
local-priority
option. This attribute to be used as a tie-breaker in the dataset comparison algorithm, in the event that all other previous attributes of the datasets being compared are equal.[edit protocols ptp stateful interface interface-name multicast-mode] user@host# set local-priority local priority-value
-
Specify the encapsulation type for PTP packet transport as Ethernet or IEEE
802.3.
[edit protocols ptp stateful interface interface-name multicast-mode] user@host# set transport ieee-802.3
-
Specify the asymmetry value.
[edit protocols ptp stateful interface interface-name multicast-mode] user@host# set asymmetry asymmetry value
Configure G.8275.1 PTPoLAG profile
-
In the configuration mode, configure the aggregate interface:
set interfaces ae0 aggregated-ether-options link-speed mixed set interfaces ae0 unit 0 family inet address 2.2.0.1/24 set interfaces et-0/0/2 ether-options 802.3ad ae0 set interfaces et-0/0/4 ether-options 802.3ad ae0
-
In configuration mode, go to the
[edit protocols ptp]
hierarchy level to configure PTP with G.8275.1 profile. The timeReceiver clock is configured on an aggregate interface:set protocols ptp clock-mode boundary set protocols ptp profile-type g.8275.1 set protocols ptp slave interface ae0.0 multicast-mode transport ieee-802.3 set protocols ptp slave interface ae0.0 primary et-0/0/2 set protocols ptp slave interface ae0.0 secondary et-0/0/4 set protocols ptp slave hybrid set protocols ptp master interface et-0/0/0.0 multicast-mode transport ieee-802.3
-
Optionally, configure non-revertive switchover for LAG. If configured, it
enables non-revertive switchover for LAG, that is if primary link goes down,
the secondary link continues to stay as active link, even when the primary
link comes back up. If not configured, the AE link shall switchover to
primary from secondary as soon as the primary link becomes available.
set protocols ptp disable-lag-revertive-switchover