IPI-PTP
Configure instance type
PTP instance type
This command is supported when following feature are enabled Precision Time Protocol (PTP) feature
Attribute Name: instance-type
Attribute Type: uint8
Attribute Range: 0-1
Attribute Name: profile
Attribute Type: enum (g8265.1|g8275.1|g8275.2|e2e-transparent|default)
Netconf edit-config payload
<ptp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-ptp">
<ptp-instances>
<ptp-instance> <!-- operation="delete"-->
<instance-type>0</instance-type>
<config>
<instance-type>0</instance-type>
<profile>g8265.1</profile>
</config>
</ptp-instance>
</ptp-instances>
</ptp>
Command Syntax
ptp clock <0-1> profile (g8265.1|g8275.1|g8275.2|e2e-transparent|default)
Configure l2 pkt forward
l2-pkt-forward
This command is supported when following feature are enabled feature support on DUNE platform,Precision Time Protocol (PTP) feature
Attribute Name: l2-pkt-forward
Attribute Type: empty
Netconf edit-config payload
<ptp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-ptp">
<ptp-instances>
<ptp-instance>
<instance-type>0</instance-type>
<config>
<instance-type>0</instance-type>
</config>
<default-data-set>
<config>
</l2-pkt-forward><!-- operation="delete"-->
</config>
</default-data-set>
</ptp-instance>
</ptp-instances>
</ptp>
Command Syntax
l2-pkt-forward
Configure domain
The domain number of the current domain
This command is supported when following feature are enabled feature support on DUNE platform,Precision Time Protocol (PTP) feature
Attribute Name: domain
Attribute Type: uint8
Default Value: 24
Attribute Range: 0-127
Netconf edit-config payload
<ptp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-ptp">
<ptp-instances>
<ptp-instance>
<instance-type>0</instance-type>
<config>
<instance-type>0</instance-type>
</config>
<default-data-set>
<config>
<domain>0</domain> <!-- operation="delete"-->
</config>
</default-data-set>
</ptp-instance>
</ptp-instances>
</ptp>
Command Syntax
domain <0-127>
Configure servo config
servo config
This command is supported when following feature are enabled feature support on DUNE platform,Precision Time Protocol (PTP) feature
Attribute Name: servo-config
Attribute Type: enum (fts|fts-no-synce)
Netconf edit-config payload
<ptp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-ptp">
<ptp-instances>
<ptp-instance>
<instance-type>0</instance-type>
<config>
<instance-type>0</instance-type>
</config>
<default-data-set>
<config>
<servo-config>fts</servo-config> <!-- operation="delete"-->
</config>
</default-data-set>
</ptp-instance>
</ptp-instances>
</ptp>
Command Syntax
servo (fts|fts-no-synce)
Configure external clock holdover duration
External clock holdover duration
This command is supported when following feature are enabled feature support on DUNE platform,Precision Time Protocol (PTP) feature
Attribute Name: external-clock-holdover-duration
Attribute Type: uint16
Default Value: 120
Attribute Range: 0-10080
Netconf edit-config payload
<ptp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-ptp">
<ptp-instances>
<ptp-instance>
<instance-type>0</instance-type>
<config>
<instance-type>0</instance-type>
</config>
<default-data-set>
<config>
<external-clock-holdover-duration>0</external-clock-holdover-duration> <!-- operation="delete"-->
</config>
</default-data-set>
</ptp-instance>
</ptp-instances>
</ptp>
Command Syntax
holdover <0-10080>
Configure system clock sync
External clock holdover duration
This command is supported when following feature are enabled feature support on DUNE platform,Precision Time Protocol (PTP) feature
Attribute Name: system-clock-sync
Attribute Type: uint16
Default Value: 30
Attribute Range: 5-600
Netconf edit-config payload
<ptp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-ptp">
<ptp-instances>
<ptp-instance>
<instance-type>0</instance-type>
<config>
<instance-type>0</instance-type>
</config>
<default-data-set>
<config>
<system-clock-sync>5</system-clock-sync> <!-- operation="delete"-->
</config>
</default-data-set>
</ptp-instance>
</ptp-instances>
</ptp>
Command Syntax
system-clock-sync (<5-600>|)
Configure ptp clock sync
Initialise ptp clock from operating system clock
This command is supported when following feature are enabled feature support on DUNE platform,Precision Time Protocol (PTP) feature
Attribute Name: ptp-clock-sync
Attribute Type: empty
Netconf edit-config payload
<ptp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-ptp">
<ptp-instances>
<ptp-instance>
<instance-type>0</instance-type>
<config>
<instance-type>0</instance-type>
</config>
<default-data-set>
<config>
</ptp-clock-sync><!-- operation="delete"-->
</config>
</default-data-set>
</ptp-instance>
</ptp-instances>
</ptp>
Command Syntax
ptp-clock-sync
Configure ptsf wtr duration
External clock holdover duration
This command is supported when following feature are enabled feature support on DUNE platform,Precision Time Protocol (PTP) feature
Attribute Name: ptsf-wtr-duration
Attribute Type: uint16
Default Value: 5
Attribute Range: 1-1440
Netconf edit-config payload
<ptp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-ptp">
<ptp-instances>
<ptp-instance>
<instance-type>0</instance-type>
<config>
<instance-type>0</instance-type>
</config>
<default-data-set>
<config>
<ptsf-wtr-duration>1</ptsf-wtr-duration> <!-- operation="delete"-->
</config>
</default-data-set>
</ptp-instance>
</ptp-instances>
</ptp>
Command Syntax
ptsf-wait-to-restore <1-1440>
Configure g8265p1 wtr duration
g8265.1 master wtr
This command is supported when following feature are enabled feature support on DUNE platform,Precision Time Protocol (PTP) feature
Attribute Name: g8265p1-wtr-duration
Attribute Type: uint64
Default Value: 0
Attribute Range: 0-3600
Netconf edit-config payload
<ptp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-ptp">
<ptp-instances>
<ptp-instance>
<instance-type>0</instance-type>
<config>
<instance-type>0</instance-type>
</config>
<default-data-set>
<config>
<g8265p1-wtr-duration>0</g8265p1-wtr-duration> <!-- operation="delete"-->
</config>
</default-data-set>
</ptp-instance>
</ptp-instances>
</ptp>
Command Syntax
g8265.1-wtr <0-3600>
Configure g8265p1 option
g8265.1 option
This command is supported when following feature are enabled feature support on DUNE platform,Precision Time Protocol (PTP) feature
Attribute Name: g8265p1-option
Attribute Type: enum (1|2)
Default Value: 1
Netconf edit-config payload
<ptp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-ptp">
<ptp-instances>
<ptp-instance>
<instance-type>0</instance-type>
<config>
<instance-type>0</instance-type>
</config>
<default-data-set>
<config>
<g8265p1-option>1</g8265p1-option> <!-- operation="delete"-->
</config>
</default-data-set>
</ptp-instance>
</ptp-instances>
</ptp>
Command Syntax
g8265.1-option (1|2)
Configure reserved vlan base
Reserved vlan base index
This command is supported when following feature are enabled feature support on DUNE platform,Precision Time Protocol (PTP) feature
Attribute Name: reserved-vlan-base
Attribute Type: uint16
Default Value: 4064
Attribute Range: 1-4064
Netconf edit-config payload
<ptp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-ptp">
<ptp-instances>
<ptp-instance>
<instance-type>0</instance-type>
<config>
<instance-type>0</instance-type>
</config>
<default-data-set>
<config>
<reserved-vlan-base>1</reserved-vlan-base> <!-- operation="delete"-->
</config>
</default-data-set>
</ptp-instance>
</ptp-instances>
</ptp>
Command Syntax
reserved-vlan-base-id <1-4064>
Configure two step
two step
This command is supported when following feature are enabled feature support on DUNE platform,Precision Time Protocol (PTP) feature
Attribute Name: two-step
Attribute Type: empty
Netconf edit-config payload
<ptp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-ptp">
<ptp-instances>
<ptp-instance>
<instance-type>0</instance-type>
<config>
<instance-type>0</instance-type>
</config>
<default-data-set>
<config>
</two-step><!-- operation="delete"-->
</config>
</default-data-set>
</ptp-instance>
</ptp-instances>
</ptp>
Command Syntax
two-step
Configure clock type tgm
clock type as tgm
This command is supported when following feature are enabled feature support on DUNE platform,Precision Time Protocol (PTP) feature
Attribute Name: clock-type-tgm
Attribute Type: enum (tgm)
Netconf edit-config payload
<ptp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-ptp">
<ptp-instances>
<ptp-instance>
<instance-type>0</instance-type>
<config>
<instance-type>0</instance-type>
</config>
<default-data-set>
<config>
<clock-type-tgm>tgm</clock-type-tgm> <!-- operation="delete"-->
</config>
</default-data-set>
</ptp-instance>
</ptp-instances>
</ptp>
Command Syntax
clock-type (tgm)
Configure one way
For G.8265.1 one-way ptp
This command is supported when following feature are enabled feature support on DUNE platform,Precision Time Protocol (PTP) feature
Attribute Name: one-way
Attribute Type: empty
Netconf edit-config payload
<ptp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-ptp">
<ptp-instances>
<ptp-instance>
<instance-type>0</instance-type>
<config>
<instance-type>0</instance-type>
</config>
<default-data-set>
<config>
</one-way><!-- operation="delete"-->
</config>
</default-data-set>
</ptp-instance>
</ptp-instances>
</ptp>
Command Syntax
one-way
Configure number ports
Number of ports
This command is supported when following feature are enabled feature support on DUNE platform,Precision Time Protocol (PTP) feature
Attribute Name: number-ports
Attribute Type: uint8
Default Value: 1
Attribute Range: 1-31
Netconf edit-config payload
<ptp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-ptp">
<ptp-instances>
<ptp-instance>
<instance-type>0</instance-type>
<config>
<instance-type>0</instance-type>
</config>
<default-data-set>
<config>
<number-ports>1</number-ports> <!-- operation="delete"-->
</config>
</default-data-set>
</ptp-instance>
</ptp-instances>
</ptp>
Command Syntax
number-ports <1-31>
Configure pps pulse offset
1pps Out Pulse Offset in nanoseconds
This command is supported when following feature are enabled feature support on DUNE platform,Precision Time Protocol (PTP) feature
Attribute Name: pps-pulse-offset
Attribute Type: int16
Default Value: 0
Attribute Range: -2048-2048
Netconf edit-config payload
<ptp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-ptp">
<ptp-instances>
<ptp-instance>
<instance-type>0</instance-type>
<config>
<instance-type>0</instance-type>
</config>
<default-data-set>
<config>
<pps-pulse-offset>-2048</pps-pulse-offset> <!-- operation="delete"-->
</config>
</default-data-set>
</ptp-instance>
</ptp-instances>
</ptp>
Command Syntax
1pps-out offset <-2048-2048>
Configure pps in smx tod type
1pps in SMX tod type
This command is supported when following feature are enabled feature support on DUNE platform,Precision Time Protocol (PTP) feature
Attribute Name: pps-in-smx-tod-type
Attribute Type: enum (smx|tod)
Default Value: tod
Netconf edit-config payload
<ptp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-ptp">
<ptp-instances>
<ptp-instance>
<instance-type>0</instance-type>
<config>
<instance-type>0</instance-type>
</config>
<default-data-set>
<config>
<pps-in-smx-tod-type>tod</pps-in-smx-tod-type> <!-- operation="delete"-->
</config>
</default-data-set>
</ptp-instance>
</ptp-instances>
</ptp>
Command Syntax
1pps-in (smx|tod)
Configure priority 2
The priority2 attribute of the local clock
This command is supported when following feature are enabled feature support on DUNE platform,Precision Time Protocol (PTP) feature
Attribute Name: priority-2
Attribute Type: uint8
Default Value: 128
Attribute Range: 0-255
Netconf edit-config payload
<ptp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-ptp">
<ptp-instances>
<ptp-instance>
<instance-type>0</instance-type>
<config>
<instance-type>0</instance-type>
</config>
<default-data-set>
<config>
<priority-2>0</priority-2> <!-- operation="delete"-->
</config>
</default-data-set>
</ptp-instance>
</ptp-instances>
</ptp>
Command Syntax
priority2 <0-255>
Configure slave only
When set the clock is a slave-only clock
This command is supported when following feature are enabled feature support on DUNE platform,Precision Time Protocol (PTP) feature
Attribute Name: slave-only
Attribute Type: empty
Netconf edit-config payload
<ptp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-ptp">
<ptp-instances>
<ptp-instance>
<instance-type>0</instance-type>
<config>
<instance-type>0</instance-type>
</config>
<default-data-set>
<config>
</slave-only><!-- operation="delete"-->
</config>
</default-data-set>
</ptp-instance>
</ptp-instances>
</ptp>
Command Syntax
slave-only
Configure local priority
The local priority attribute of the local clock
This command is supported when following feature are enabled feature support on DUNE platform,Precision Time Protocol (PTP) feature
Attribute Name: local-priority
Attribute Type: uint8
Default Value: 128
Attribute Range: 1-255
Netconf edit-config payload
<ptp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-ptp">
<ptp-instances>
<ptp-instance>
<instance-type>0</instance-type>
<config>
<instance-type>0</instance-type>
</config>
<default-data-set>
<config>
<local-priority>1</local-priority> <!-- operation="delete"-->
</config>
</default-data-set>
</ptp-instance>
</ptp-instances>
</ptp>
Command Syntax
local-priority <1-255>
Configure max steps removed
The maximum number of communication paths between the local clock and the grandmaster clock
This command is supported when following feature are enabled feature support on DUNE platform,Precision Time Protocol (PTP) feature
Attribute Name: max-steps-removed
Attribute Type: uint8
Default Value: 255
Attribute Range: 1-255
Netconf edit-config payload
<ptp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-ptp">
<ptp-instances>
<ptp-instance>
<instance-type>0</instance-type>
<config>
<instance-type>0</instance-type>
</config>
<default-data-set>
<config>
<max-steps-removed>1</max-steps-removed> <!-- operation="delete"-->
</config>
</default-data-set>
</ptp-instance>
</ptp-instances>
</ptp>
Command Syntax
max-steps-removed <1-255>
Configure servo history interval
PTP servo history interval
This command is supported when following feature are enabled feature support on DUNE platform,Precision Time Protocol (PTP) feature
Attribute Name: servo-history-interval
Attribute Type: uint8
Attribute Range: 1-60
Attribute Name: servo-history-enabled
Attribute Type: empty
Netconf edit-config payload
<ptp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-ptp">
<ptp-instances>
<ptp-instance>
<instance-type>0</instance-type>
<config>
<instance-type>0</instance-type>
</config>
<default-data-set>
<servo-history>
<config>
</servo-history-enabled>
<servo-history-interval>1</servo-history-interval>
</config>
</servo-history>
</default-data-set>
</ptp-instance>
</ptp-instances>
</ptp>
Command Syntax
servo-history <1-60>
Configure clock class
The clock-class denotes the traceability of the time or frequency distributed by the clock
This command is supported when following feature are enabled feature support on DUNE platform,Precision Time Protocol (PTP) feature
Attribute Name: clock-class
Attribute Type: uint8
Default Value: 248
Attribute Range: 0-255
Netconf edit-config payload
<ptp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-ptp">
<ptp-instances>
<ptp-instance>
<instance-type>0</instance-type>
<config>
<instance-type>0</instance-type>
</config>
<default-data-set>
<clock-quality>
<config>
<clock-class>0</clock-class> <!-- operation="delete"-->
</config>
</clock-quality>
</default-data-set>
</ptp-instance>
</ptp-instances>
</ptp>
Command Syntax
clock-class <0-255>
Configure clock accuracy
The clock-accuracy indicates the expected accuracy of the clock
This command is supported when following feature are enabled feature support on DUNE platform,Precision Time Protocol (PTP) feature
Attribute Name: clock-accuracy
Attribute Type: uint8
Default Value: 254
Attribute Range: 0-255
Netconf edit-config payload
<ptp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-ptp">
<ptp-instances>
<ptp-instance>
<instance-type>0</instance-type>
<config>
<instance-type>0</instance-type>
</config>
<default-data-set>
<clock-quality>
<config>
<clock-accuracy>0</clock-accuracy> <!-- operation="delete"-->
</config>
</clock-quality>
</default-data-set>
</ptp-instance>
</ptp-instances>
</ptp>
Command Syntax
clock-accuracy <0-255>
Configure offset scaled log variance
The offset-scaled-log-variance provides an estimate of the variations of the clock from a linear timescale when it is not synchronized to another clock using the protocol
This command is supported when following feature are enabled feature support on DUNE platform,Precision Time Protocol (PTP) feature
Attribute Name: offset-scaled-log-variance
Attribute Type: uint16
Default Value: 65535
Attribute Range: 0-65535
Netconf edit-config payload
<ptp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-ptp">
<ptp-instances>
<ptp-instance>
<instance-type>0</instance-type>
<config>
<instance-type>0</instance-type>
</config>
<default-data-set>
<clock-quality>
<config>
<offset-scaled-log-variance>0</offset-scaled-log-variance> <!-- operation="delete"-->
</config>
</clock-quality>
</default-data-set>
</ptp-instance>
</ptp-instances>
</ptp>
Command Syntax
offset-log-variance <0-65535>
Configure offset nano seconds
GPS offset in ns
This command is supported when following feature are enabled feature support on DUNE platform,Precision Time Protocol (PTP) feature
Attribute Name: offset-nano-seconds
Attribute Type: int16
Attribute Range: -2048-2048
Attribute Name: offset-seconds
Attribute Type: int8
Attribute Range: -100-100
Netconf edit-config payload
<ptp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-ptp">
<ptp-instances>
<ptp-instance>
<instance-type>0</instance-type>
<config>
<instance-type>0</instance-type>
</config>
<default-data-set>
<gps-offset>
<config>
<offset-seconds>-100</offset-seconds>
<offset-nano-seconds>-2048</offset-nano-seconds>
</config>
</gps-offset>
</default-data-set>
</ptp-instance>
</ptp-instances>
</ptp>
Command Syntax
gps-offset { sec <-100-100>| nsec <-2048-2048> }
Configure port number
PTP port clock number. Default value is 1.
This command is supported when following feature are enabled feature support on DUNE platform,Precision Time Protocol (PTP) feature
Attribute Name: port-number
Attribute Type: uint16
Attribute Range: 1-31
Netconf edit-config payload
<ptp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-ptp">
<ptp-instances>
<ptp-instance>
<instance-type>0</instance-type>
<config>
<instance-type>0</instance-type>
</config>
<ports>
<port> <!-- operation="delete"-->
<port-number>1</port-number>
<config>
<port-number>1</port-number>
</config>
</port>
</ports>
</ptp-instance>
</ptp-instances>
</ptp>
Command Syntax
clock-port <1-31>
Configure description
This parameter is used to set port clock description
This command is supported when following feature are enabled feature support on DUNE platform,Precision Time Protocol (PTP) feature
Attribute Name: description
Attribute Type: string
Attribute Range: 1-64
Netconf edit-config payload
<ptp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-ptp">
<ptp-instances>
<ptp-instance>
<instance-type>0</instance-type>
<config>
<instance-type>0</instance-type>
</config>
<ports>
<port>
<port-number>1</port-number>
<config>
<port-number>1</port-number>
</config>
<description>LINE</description> <!-- operation="delete"-->
</port>
</ports>
</ptp-instance>
</ptp-instances>
</ptp>
Command Syntax
description LINE
Configure transport type
Set transport type
This command is supported when following feature are enabled feature support on DUNE platform,Precision Time Protocol (PTP) feature
Attribute Name: transport-type
Attribute Type: enum (ipv4|ipv6)
Netconf edit-config payload
<ptp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-ptp">
<ptp-instances>
<ptp-instance>
<instance-type>0</instance-type>
<config>
<instance-type>0</instance-type>
</config>
<ports>
<port>
<port-number>1</port-number>
<config>
<port-number>1</port-number>
</config>
<transport-type>ipv4</transport-type> <!-- operation="delete"-->
</port>
</ports>
</ptp-instance>
</ptp-instances>
</ptp>
Command Syntax
transport (ipv4|ipv6)
Configure non forwardable mac addr
Set dst mac as non forwardable mac 01:80:C2:00:00:0E
This command is supported when following feature are enabled feature support on DUNE platform,Precision Time Protocol (PTP) feature
Attribute Name: non-forwardable-mac-addr
Attribute Type: empty
Netconf edit-config payload
<ptp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-ptp">
<ptp-instances>
<ptp-instance>
<instance-type>0</instance-type>
<config>
<instance-type>0</instance-type>
</config>
<ports>
<port>
<port-number>1</port-number>
<config>
<port-number>1</port-number>
</config>
</non-forwardable-mac-addr><!-- operation="delete"-->
</port>
</ports>
</ptp-instance>
</ptp-instances>
</ptp>
Command Syntax
multicast-dst-mac non-forwardable
Configure source ipv6 link local address
When set the clock source addrress is a linklocal address
This command is supported when following feature are enabled feature support on DUNE platform,Precision Time Protocol (PTP) feature
Attribute Name: source-ipv6-link-local-address
Attribute Type: empty
Netconf edit-config payload
<ptp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-ptp">
<ptp-instances>
<ptp-instance>
<instance-type>0</instance-type>
<config>
<instance-type>0</instance-type>
</config>
<ports>
<port>
<port-number>1</port-number>
<config>
<port-number>1</port-number>
</config>
</source-ipv6-link-local-address><!-- operation="delete"-->
</port>
</ports>
</ptp-instance>
</ptp-instances>
</ptp>
Command Syntax
source-address ipv6 linklocal
Configure log min delay req interval
The base-two logarithm of the minDelayReqInterval (the minimum permitted mean time interval between successive Delay_Req messages)
This command is supported when following feature are enabled feature support on DUNE platform,Precision Time Protocol (PTP) feature
Attribute Name: log-min-delay-req-interval
Attribute Type: int8
Default Value: -6
Attribute Range: -7-5
Netconf edit-config payload
<ptp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-ptp">
<ptp-instances>
<ptp-instance>
<instance-type>0</instance-type>
<config>
<instance-type>0</instance-type>
</config>
<ports>
<port>
<port-number>1</port-number>
<config>
<port-number>1</port-number>
</config>
<log-min-delay-req-interval>-7</log-min-delay-req-interval> <!-- operation="delete"-->
</port>
</ports>
</ptp-instance>
</ptp-instances>
</ptp>
Command Syntax
log-min-delay-req-interval <-7-5>
Configure log announce interval
The base-two logarithm of the mean announceInterval (mean time interval between successive Announce messages)
This command is supported when following feature are enabled feature support on DUNE platform,Precision Time Protocol (PTP) feature
Attribute Name: log-announce-interval
Attribute Type: int8
Default Value: -3
Attribute Range: -3-4
Netconf edit-config payload
<ptp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-ptp">
<ptp-instances>
<ptp-instance>
<instance-type>0</instance-type>
<config>
<instance-type>0</instance-type>
</config>
<ports>
<port>
<port-number>1</port-number>
<config>
<port-number>1</port-number>
</config>
<log-announce-interval>-3</log-announce-interval> <!-- operation="delete"-->
</port>
</ports>
</ptp-instance>
</ptp-instances>
</ptp>
Command Syntax
log-announce-interval <-3-4>
Configure announce receipt timeout
The number of announceInterval that have to pass without receipt of an Announce message before the occurrence of the event ANNOUNCE_RECEIPT_TIMEOUT_ EXPIRES
This command is supported when following feature are enabled feature support on DUNE platform,Precision Time Protocol (PTP) feature
Attribute Name: announce-receipt-timeout
Attribute Type: uint8
Default Value: 3
Attribute Range: 2-10
Netconf edit-config payload
<ptp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-ptp">
<ptp-instances>
<ptp-instance>
<instance-type>0</instance-type>
<config>
<instance-type>0</instance-type>
</config>
<ports>
<port>
<port-number>1</port-number>
<config>
<port-number>1</port-number>
</config>
<announce-receipt-timeout>2</announce-receipt-timeout> <!-- operation="delete"-->
</port>
</ports>
</ptp-instance>
</ptp-instances>
</ptp>
Command Syntax
announce-receipt-timeout <2-10>
Configure log sync interval
The base-two logarithm of the mean SyncInterval for multicast messages
This command is supported when following feature are enabled feature support on DUNE platform,Precision Time Protocol (PTP) feature
Attribute Name: log-sync-interval
Attribute Type: int8
Default Value: -6
Attribute Range: -7-4
Netconf edit-config payload
<ptp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-ptp">
<ptp-instances>
<ptp-instance>
<instance-type>0</instance-type>
<config>
<instance-type>0</instance-type>
</config>
<ports>
<port>
<port-number>1</port-number>
<config>
<port-number>1</port-number>
</config>
<log-sync-interval>-7</log-sync-interval> <!-- operation="delete"-->
</port>
</ports>
</ptp-instance>
</ptp-instances>
</ptp>
Command Syntax
log-sync-interval <-7-4>
Configure time to live
The ttl value for clock-port
This command is supported when following feature are enabled feature support on DUNE platform,Precision Time Protocol (PTP) feature
Attribute Name: time-to-live
Attribute Type: uint8
Default Value: 64
Attribute Range: 1-255
Netconf edit-config payload
<ptp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-ptp">
<ptp-instances>
<ptp-instance>
<instance-type>0</instance-type>
<config>
<instance-type>0</instance-type>
</config>
<ports>
<port>
<port-number>1</port-number>
<config>
<port-number>1</port-number>
</config>
<time-to-live>1</time-to-live> <!-- operation="delete"-->
</port>
</ports>
</ptp-instance>
</ptp-instances>
</ptp>
Command Syntax
ttl <1-255>
Configure ip dscp
The ip-dscp value for clock-port
This command is supported when following feature are enabled feature support on DUNE platform,Precision Time Protocol (PTP) feature
Attribute Name: ip-dscp
Attribute Type: uint8
Default Value: 56
Attribute Range: 0-63
Netconf edit-config payload
<ptp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-ptp">
<ptp-instances>
<ptp-instance>
<instance-type>0</instance-type>
<config>
<instance-type>0</instance-type>
</config>
<ports>
<port>
<port-number>1</port-number>
<config>
<port-number>1</port-number>
</config>
<ip-dscp>0</ip-dscp> <!-- operation="delete"-->
</port>
</ports>
</ptp-instance>
</ptp-instances>
</ptp>
Command Syntax
dscp <0-63>
Configure unicast grant duration
Unicast grant duration field in signalling messages
This command is supported when following feature are enabled feature support on DUNE platform,Precision Time Protocol (PTP) feature
Attribute Name: unicast-grant-duration
Attribute Type: uint16
Default Value: 300
Attribute Range: 60-1000
Netconf edit-config payload
<ptp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-ptp">
<ptp-instances>
<ptp-instance>
<instance-type>0</instance-type>
<config>
<instance-type>0</instance-type>
</config>
<ports>
<port>
<port-number>1</port-number>
<config>
<port-number>1</port-number>
</config>
<unicast-grant-duration>60</unicast-grant-duration> <!-- operation="delete"-->
</port>
</ports>
</ptp-instance>
</ptp-instances>
</ptp>
Command Syntax
unicast-grant-duration <60-1000>
Configure master only
When set the port is a master-only port
This command is supported when following feature are enabled feature support on DUNE platform,Precision Time Protocol (PTP) feature
Attribute Name: master-only
Attribute Type: empty
Netconf edit-config payload
<ptp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-ptp">
<ptp-instances>
<ptp-instance>
<instance-type>0</instance-type>
<config>
<instance-type>0</instance-type>
</config>
<ports>
<port>
<port-number>1</port-number>
<config>
<port-number>1</port-number>
</config>
</master-only><!-- operation="delete"-->
</port>
</ports>
</ptp-instance>
</ptp-instances>
</ptp>
Command Syntax
master-only
Configure grandmaster priority 2
The priority2 denotes priority2 attribute of grandmaster clock
This command is supported when following feature are enabled feature support on DUNE platform,Precision Time Protocol (PTP) feature
Attribute Name: grandmaster-priority-2
Attribute Type: uint8
Default Value: 128
Attribute Range: 0-255
Netconf edit-config payload
<ptp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-ptp">
<ptp-instances>
<ptp-instance>
<instance-type>0</instance-type>
<config>
<instance-type>0</instance-type>
</config>
<ports>
<port>
<port-number>1</port-number>
<config>
<port-number>1</port-number>
</config>
<grandmaster-priority-2>0</grandmaster-priority-2> <!-- operation="delete"-->
</port>
</ports>
</ptp-instance>
</ptp-instances>
</ptp>
Command Syntax
grandmaster-priority2 <0-255>
Configure delay asymmetry nsec
Set delay-asymmetry in nanoseconds
This command is supported when following feature are enabled feature support on DUNE platform,Precision Time Protocol (PTP) feature
Attribute Name: delay-asymmetry-nsec
Attribute Type: int32
Attribute Range: -1000000-1000000
Attribute Name: delay-asymmetry-msec
Attribute Type: int8
Attribute Range: -100-100
Netconf edit-config payload
<ptp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-ptp">
<ptp-instances>
<ptp-instance>
<instance-type>0</instance-type>
<config>
<instance-type>0</instance-type>
</config>
<ports>
<port>
<port-number>1</port-number>
<config>
<port-number>1</port-number>
</config>
<asymmetry-delay>
<config>
<delay-asymmetry-msec>-100</delay-asymmetry-msec>
<delay-asymmetry-nsec>-1000000</delay-asymmetry-nsec>
</config>
</asymmetry-delay>
</port>
</ports>
</ptp-instance>
</ptp-instances>
</ptp>
Command Syntax
delay-asymmetry (msec <-100-100>|) (nsec <-1000000-1000000>|)
Configure network interface
Reference to the configured underlying interface that is used by this PTP Port
This command is supported when following feature are enabled feature support on DUNE platform,Precision Time Protocol (PTP) feature
Attribute Name: network-interface
Attribute Type: union
Netconf edit-config payload
<ptp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-ptp">
<ptp-instances>
<ptp-instance>
<instance-type>0</instance-type>
<config>
<instance-type>0</instance-type>
</config>
<ports>
<port>
<port-number>1</port-number>
<config>
<port-number>1</port-number>
</config>
<network-interfaces>
<network-interface> <!-- operation="delete"-->
<network-interface>PTP_NETWORK_INTERFACE_T</network-interface>
<config>
<network-interface>PTP_NETWORK_INTERFACE_T</network-interface>
</config>
</network-interface>
</network-interfaces>
</port>
</ports>
</ptp-instance>
</ptp-instances>
</ptp>
Command Syntax
network-interface (IFNAME|gps|prc)
Configure vlan physical interface name
Reference to the configured underlying interface that is used by this vlan interface PTP Port
This command is supported when following feature are enabled feature support on DUNE platform,Precision Time Protocol (PTP) feature
Attribute Name: vlan-physical-interface-name
Attribute Type: string
Netconf edit-config payload
<ptp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-ptp">
<ptp-instances>
<ptp-instance>
<instance-type>0</instance-type>
<config>
<instance-type>0</instance-type>
</config>
<ports>
<port>
<port-number>1</port-number>
<config>
<port-number>1</port-number>
</config>
<network-interfaces>
<network-interface>
<network-interface>PTP_NETWORK_INTERFACE_T</network-interface>
<config>
<network-interface>PTP_NETWORK_INTERFACE_T</network-interface>
</config>
<vlan-physical-interface-name>IFNAME</vlan-physical-interface-name> <!-- operation="delete"-->
</network-interface>
</network-interfaces>
</port>
</ports>
</ptp-instance>
</ptp-instances>
</ptp>
Command Syntax
network-interface port IFNAME
Configure vlan physical dot1q vlan id
Reference to the configured underlying interface that is used by this PTP Port. The valid range for this attribute vlan-id is related to the value configured in reserved-vlan-base which defines a range of 31 reserved vlans for PTP from the configured value in reserved-vlan-base. By default the range reserved vlan values are 4064-4095. By default the maximum valid value for vlan-id is 4063.
This command is supported when following feature are enabled feature support on DUNE platform,Precision Time Protocol (PTP) feature
Attribute Name: vlan-physical-dot1q-vlan-id
Attribute Type: uint16
Attribute Range: 1-4095
Attribute Name: vlan-physical-interface-name
Attribute Type: string
Netconf edit-config payload
<ptp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-ptp">
<ptp-instances>
<ptp-instance>
<instance-type>0</instance-type>
<config>
<instance-type>0</instance-type>
</config>
<ports>
<port>
<port-number>1</port-number>
<config>
<port-number>1</port-number>
</config>
<network-interfaces>
<network-interface>
<network-interface>PTP_NETWORK_INTERFACE_T</network-interface>
<config>
<network-interface>PTP_NETWORK_INTERFACE_T</network-interface>
<vlan-physical-interface-name>IFNAME</vlan-physical-interface-name> <!-- operation="delete"-->
</config>
<vlan-physical-dot1q-vlan-id>1</vlan-physical-dot1q-vlan-id> <!-- operation="delete"-->
</network-interface>
</network-interfaces>
</port>
</ports>
</ptp-instance>
</ptp-instances>
</ptp>
Command Syntax
network-interface port IFNAME (dot1q <1-4095>|)
Configure dot1q vlan id
Reference to the configured underlying interface that is used by this PTP Port. The valid range for this attribute vlan-id is related to the value configured in reserved-vlan-base which defines a range of 31 reserved vlans for PTP from the configured value in reserved-vlan-base. By default the range reserved vlan values are 4064-4095. By default the maximum valid value for vlan-id is 4063.
This command is supported when following feature are enabled feature support on DUNE platform,Precision Time Protocol (PTP) feature
Attribute Name: dot1q-vlan-id
Attribute Type: uint16
Attribute Range: 1-4095
Netconf edit-config payload
<ptp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-ptp">
<ptp-instances>
<ptp-instance>
<instance-type>0</instance-type>
<config>
<instance-type>0</instance-type>
</config>
<ports>
<port>
<port-number>1</port-number>
<config>
<port-number>1</port-number>
</config>
<network-interfaces>
<network-interface>
<network-interface>PTP_NETWORK_INTERFACE_T</network-interface>
<config>
<network-interface>PTP_NETWORK_INTERFACE_T</network-interface>
</config>
<dot1q-vlan-id>1</dot1q-vlan-id> <!-- operation="delete"-->
</network-interface>
</network-interfaces>
</port>
</ports>
</ptp-instance>
</ptp-instances>
</ptp>
Command Syntax
network-interface dot1q <1-4095>
Configure inner dot1q vlan id
Reference to the configured underlying interface that is used by this PTP Port. The valid range for this attribute vlan-id is related to the value configured in reserved-vlan-base which defines a range of 31 reserved vlans for PTP from the configured value in reserved-vlan-base. By default the range reserved vlan values are 4064-4095. By default the maximum valid value for vlan-id is 4063.
This command is supported when following feature are enabled feature support on DUNE platform,Precision Time Protocol (PTP) feature
Attribute Name: inner-dot1q-vlan-id
Attribute Type: uint16
Attribute Range: 1-4095
Attribute Name: dot1ad-vlan-id
Attribute Type: uint16
Attribute Range: 1-4095
Netconf edit-config payload
<ptp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-ptp">
<ptp-instances>
<ptp-instance>
<instance-type>0</instance-type>
<config>
<instance-type>0</instance-type>
</config>
<ports>
<port>
<port-number>1</port-number>
<config>
<port-number>1</port-number>
</config>
<network-interfaces>
<network-interface>
<network-interface>PTP_NETWORK_INTERFACE_T</network-interface>
<config>
<network-interface>PTP_NETWORK_INTERFACE_T</network-interface>
<dot1ad-vlan-id>1</dot1ad-vlan-id> <!-- operation="delete"-->
</config>
<inner-dot1q-vlan-id>1</inner-dot1q-vlan-id> <!-- operation="delete"-->
</network-interface>
</network-interfaces>
</port>
</ports>
</ptp-instance>
</ptp-instances>
</ptp>
Command Syntax
network-interface dot1ad <1-4095> (inner-dot1q <1-4095>|)
Configure master clock source ipv4 address
Set master clock ipv4 source address
This command is supported when following feature are enabled feature support on DUNE platform,Precision Time Protocol (PTP) feature
Attribute Name: master-clock-source-ipv4-address
Attribute Type: inet:ipv4-address
Netconf edit-config payload
<ptp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-ptp">
<ptp-instances>
<ptp-instance>
<instance-type>0</instance-type>
<config>
<instance-type>0</instance-type>
</config>
<ports>
<port>
<port-number>1</port-number>
<config>
<port-number>1</port-number>
</config>
<master-ipv4-addresses>
<master-ipv4-address> <!-- operation="delete"-->
<master-clock-source-ipv4-address>A.B.C.D</master-clock-source-ipv4-address>
<config>
<master-clock-source-ipv4-address>A.B.C.D</master-clock-source-ipv4-address>
</config>
</master-ipv4-address>
</master-ipv4-addresses>
</port>
</ports>
</ptp-instance>
</ptp-instances>
</ptp>
Command Syntax
master ipv4 A.B.C.D
Configure master ipv4 address priority
Set master clock IPv4 source address priority
This command is supported when following feature are enabled feature support on DUNE platform,Precision Time Protocol (PTP) feature
Attribute Name: master-ipv4-address-priority
Attribute Type: uint8
Attribute Range: 0-15
Netconf edit-config payload
<ptp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-ptp">
<ptp-instances>
<ptp-instance>
<instance-type>0</instance-type>
<config>
<instance-type>0</instance-type>
</config>
<ports>
<port>
<port-number>1</port-number>
<config>
<port-number>1</port-number>
</config>
<master-ipv4-addresses>
<master-ipv4-address>
<master-clock-source-ipv4-address>A.B.C.D</master-clock-source-ipv4-address>
<config>
<master-clock-source-ipv4-address>A.B.C.D</master-clock-source-ipv4-address>
</config>
<master-ipv4-address-priority>0</master-ipv4-address-priority> <!-- operation="delete"-->
</master-ipv4-address>
</master-ipv4-addresses>
</port>
</ports>
</ptp-instance>
</ptp-instances>
</ptp>
Command Syntax
master ipv4 A.B.C.D priority <0-15>
Configure master clock source ipv6 address
Set master clock IPv6 source address
This command is supported when following feature are enabled feature support on DUNE platform,Precision Time Protocol (PTP) feature
Attribute Name: master-clock-source-ipv6-address
Attribute Type: inet:ipv6-address
Netconf edit-config payload
<ptp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-ptp">
<ptp-instances>
<ptp-instance>
<instance-type>0</instance-type>
<config>
<instance-type>0</instance-type>
</config>
<ports>
<port>
<port-number>1</port-number>
<config>
<port-number>1</port-number>
</config>
<master-ipv6-addresses>
<master-ipv6-address> <!-- operation="delete"-->
<master-clock-source-ipv6-address>X:X::X:X</master-clock-source-ipv6-address>
<config>
<master-clock-source-ipv6-address>X:X::X:X</master-clock-source-ipv6-address>
</config>
</master-ipv6-address>
</master-ipv6-addresses>
</port>
</ports>
</ptp-instance>
</ptp-instances>
</ptp>
Command Syntax
master ipv6 X:X::X:X
Configure master ipv6 address priority
Set master clock IPv6 source address priority
This command is supported when following feature are enabled feature support on DUNE platform,Precision Time Protocol (PTP) feature
Attribute Name: master-ipv6-address-priority
Attribute Type: uint8
Attribute Range: 0-15
Netconf edit-config payload
<ptp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-ptp">
<ptp-instances>
<ptp-instance>
<instance-type>0</instance-type>
<config>
<instance-type>0</instance-type>
</config>
<ports>
<port>
<port-number>1</port-number>
<config>
<port-number>1</port-number>
</config>
<master-ipv6-addresses>
<master-ipv6-address>
<master-clock-source-ipv6-address>X:X::X:X</master-clock-source-ipv6-address>
<config>
<master-clock-source-ipv6-address>X:X::X:X</master-clock-source-ipv6-address>
</config>
<master-ipv6-address-priority>0</master-ipv6-address-priority> <!-- operation="delete"-->
</master-ipv6-address>
</master-ipv6-addresses>
</port>
</ports>
</ptp-instance>
</ptp-instances>
</ptp>
Command Syntax
master ipv6 X:X::X:X priority <0-15>
Configure io type
Type of tod input/output. Default: output
This command is supported when following feature are enabled feature support on DUNE platform,Precision Time Protocol (PTP) feature
Attribute Name: io-type
Attribute Type: enum (input|output)
Netconf edit-config payload
<ptp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-ptp">
<ptp-instances>
<ptp-instance>
<instance-type>0</instance-type>
<config>
<instance-type>0</instance-type>
</config>
<time-of-day>
<config>
<io-type>input</io-type> <!-- operation="delete"-->
</config>
</time-of-day>
</ptp-instance>
</ptp-instances>
</ptp>
Command Syntax
tod (input|output)
Configure utc date
UTC date when applying leap seconds
This command is supported when following feature are enabled Precision Time Protocol (PTP) feature
Attribute Name: utc-date
Attribute Type: string
Attribute Name: offset-seconds
Attribute Type: uint8
Attribute Range: 0-99
Netconf edit-config payload
<ptp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-ptp">
<ptp-instances>
<ptp-instance>
<instance-type>0</instance-type>
<config>
<instance-type>0</instance-type>
</config>
<utc-offset-dates>
<utc-offset-date> <!-- operation="delete"-->
<utc-date>YYYY-MM-DD</utc-date>
<config>
<utc-date>WORD</utc-date>
<offset-seconds>0</offset-seconds>
</config>
</utc-offset-date>
</utc-offset-dates>
</ptp-instance>
</ptp-instances>
</ptp>
Command Syntax
utc-offset date YYYY-MM-DD <0-99>
Configure baseline seconds
UTC leap - baseline in seconds
This command is supported when following feature are enabled Precision Time Protocol (PTP) feature
Attribute Name: baseline-seconds
Attribute Type: uint8
Attribute Range: 0-99
Netconf edit-config payload
<ptp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-ptp">
<ptp-instances>
<ptp-instance>
<instance-type>0</instance-type>
<config>
<instance-type>0</instance-type>
</config>
<utc-offset-dates>
<baseline>
<config>
<baseline-seconds>0</baseline-seconds> <!-- operation="delete"-->
</config>
</baseline>
</utc-offset-dates>
</ptp-instance>
</ptp-instances>
</ptp>
Command Syntax
utc-offset baseline <0-99>
Configure enable
Use this attribute to debug the ptp process.
This command is supported when following feature are enabled Precision Time Protocol (PTP) feature
Attribute Name: enable
Attribute Type: empty
Netconf edit-config payload
<ptp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-ptp">
<debug>
<config>
</enable><!-- operation="delete"-->
</config>
</debug>
</ptp>
Command Syntax
debug ptp
Configure hw timestamp
Use this attribute to set the Hardware timestamp
This command is supported when following feature are enabled Precision Time Protocol (PTP) feature
Attribute Name: hw-timestamp
Attribute Type: empty
Netconf edit-config payload
<ptp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-ptp">
<interfaces>
<interface>
<interface-name>IFNAME</interface-name>
<config>
<interface-name>WORD</interface-name>
</config>
</hw-timestamp><!-- operation="delete"-->
</interface>
</interfaces>
</ptp>
Command Syntax
hw-timestamp
clear ptp clock <0-1> stats
Attribute Name: clear-clock
Attribute Type: uint8
Attribute Range: 0-1
Netconf RPC payload
<ptp-clear-statistics xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-ptp">
<clear-clock>0</clear-clock>
</ptp-clear-statistics>
Command Syntax
clear ptp clock <0-1> stats
debug ptp
Netconf RPC payload
<ptp-terminal-debug-on xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-ptp"/>
Command Syntax
debug ptp
no debug ptp
Netconf RPC payload
<ptp-terminal-debug-off xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-ptp"/>
Command Syntax
no debug ptp
Last modified date: 10/09/2023