Configure G.8275.2 Enhanced Profile
When you enable the G.8275.2 enhanced profile, you cannot enable any other profile.
Configure PTP and Its Options
This topic includes the following tasks:
Configure PTP Options
To configure PTP options:
-
In configuration mode, go to the
[edit protocols ptp]
hierarchy level:[edit] user@host# edit protocols ptp
-
Configure the clock mode as either boundary or ordinary. This attribute
is mandatory and has no default value.
The
boundary
option signifies that both timeTransmitter and timeReceiver must be configured. Theordinary
option signifies that only the timeTransmitter, or only the timeReceiver, must be configured.[edit protocols ptp] user@host# set clock-mode (boundary | ordinary)
-
Configure the profile type as g.8275.2.enh (the G.8275.2.enh profile
type provides the telecom profile). This attribute is mandatory.
[edit protocols ptp] user@host# set profile-type g.8275.2.enh
-
(Optional) Configure the PTP domain option with a value from 44 through
63. The default value is 44.
[edit protocols ptp] user@host# set domain domain-value
-
(Optional) 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
-
(Optional) Configure the
unicast-negotiation
option.Unicast negotiation is a method by which the announce, sync, and delay response packet rates are negotiated between the timeTransmitter clock and the timeReceiver clock before a PTP session is established.
[edit protocols ptp] user@host# set unicast-negotiation
Note:Unicast negotiation, when enabled, does not allow you to commit any packet rate–related configuration.
Configure TimeReceiver Clock Options
Configure the following options after the aforementioned PTP options have been set.
-
Configure the timeReceiver clock.
[edit protocols ptp] user@host# edit slave
-
(Optional) Configure the
delay-request
option in the timeReceiver node. The range is -7 to -3 seconds, and the default values are -6 for the timeTransmitter and -7 for the timeReceiver.The delay request value is the logarithmic mean interval in seconds between the delay request messages sent by the timeReceiver to the timeTransmitter.
[edit protocols ptp slave] user@host# set delay-request delay-request-value
-
Configure the interface for the timeReceiver.
[edit protocols ptp slave] user@host# set interface interface-name
Note:You can configure an aggregated Ethernet interface and its configured IP address for PTP streams acting as timeReceiver clocks or timeTransmitter clocks.
For example, to configure a timeReceiver using an aggregated Ethernet interface:
user@switch# set protocols ptp slave interface ae0.0
Note:You can configure a loopback interface (there is only one loopback interface, and it is lo0.0) and its corresponding IP addresses for PTP streams acting as timeReceiver clocks or timeTransmitter clocks. Although the loopback interface is the same for both timeTransmitter clocks and timeReceiver clocks, the IP addresses must be unique.
For example, to configure a timeReceiver using the loopback interface:
user@switch# set protocols ptp slave interface lo0.0
-
Configure the
unicast-mode
option for the timeReceiver.[edit protocols ptp slave interface interface-name] user@host# set unicast-mode
-
Configure the
transport
option in unicast mode as IPv4 or IPv6.[edit protocols ptp slave interface interface-name unicast-mode] user@host# set transport (ipv4 | ipv6)
-
Configure the clock source and the IP address of the interface acting
as the local PTP timeReceiver port. Optionally, configure the global
asymmetry, timeTransmitter-asymmetry or secondary-asymmetry value.
Primary and secondary asymmetry values take precedence, if
defined.
[edit protocols ptp slave interface interface-name unicast-mode] user@host# set clock-source ip-address local-ip-address local-ip-address (asymmetry asymmetry-value | primary-asymmetry asymmetry-value | secondary-asymmetry asymmetry-value)
Note:You must configure this IP address at the [
edit interfaces interface-name
] hierarchy level. -
(Optional) Configure the priority assigned to the interface acting as
the local PTP timeReceiver port.
[edit protocols ptp slave interface interface-name unicast-mode] user@host# set local-priority number
Configure TimeTransmitter Clock Options
Configure the following options after the aforementioned PTP options and timeReceiver clock options have been set.
-
Configure the timeTransmitter clock.
[edit protocols ptp] user@host# edit master
-
Configure the interface for the timeTransmitter.
[edit protocols ptp master] user@host# set interface interface-name
Note:You can configure an aggregated Ethernet interface and its configured IP address for PTP streams acting as timeReceiver clocks or timeTransmitter clocks.
For example, to configure a timeTransmitter using an aggregated Ethernet interface:
user@switch# set protocols ptp master interface ae0.0
Note:You can configure a loopback interface (there is only one loopback interface, and it is lo0.0) and its corresponding IP addresses for PTP streams acting as timeReceiver clocks or timeTransmitter clocks. Although the loopback interface is the same for both timeTransmitter clocks and timeReceiver clocks, the IP addresses must be unique.
For example, to configure a timeTransmitter using the loopback interface:
user@switch# set protocols ptp master interface lo0.0
-
Configure the unicast mode option for the timeTransmitter.
[edit protocols ptp master interface interface-name] user@host# edit unicast-mode
-
Configure the
transport
option in unicast mode as IPv4 or IPv6.[edit protocols ptp master interface interface-name unicast-mode] user@host# set transport (ipv4 | ipv6)
-
Configure the remote clock source and the IP address of the interface
acting as the timeTransmitter.
[edit protocols ptp master interface interface-name unicast-mode transport type] user@host# set clock-client ip-address local-ip-address ip-address