Configuring an Ethernet Range
Configuring PTP Multicast Transmission
Configuring PTP Multicast Transmission
POST http://<mgmt0_IP>/api/mo/sys.json
{
"topSystem": {
"children": [
{
"ptpPtpEntity": {
"children": [
{
"ptpPtpIf": {
"attributes": {
"id": "eth1/3",
"transmission": "multicast"
}
}
},
{
"ptpPtpIf": {
"attributes": {
"id": "eth1/2",
"transmission": "multicast"
}
}
}
]
}
},
{
"interfaceEntity": {
"children": [
{
"l1PhysIf": {
"attributes": {
"id": "eth1/3"
}
}
},
{
"l1PhysIf": {
"attributes": {
"id": "eth1/2"
}
}
}
]
}
}
]
}
}
{
imdata:[]
}
<System>
<ptp-items>
<if-items>
<PtpIf-list>
<id>eth1/3</id>
<transmission>multicast</transmission>
</PtpIf-list>
<PtpIf-list>
<id>eth1/2</id>
<transmission>multicast</transmission>
</PtpIf-list>
</if-items>
</ptp-items>
<intf-items>
<phys-items>
<PhysIf-list>
<id>eth1/3</id>
</PhysIf-list>
<PhysIf-list>
<id>eth1/2</id>
</PhysIf-list>
</phys-items>
</intf-items>
</System>
Note: This example was added in Release 9.3(5).
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
interface ethernet 1/2-3
ptp transmission multicast
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO | DN |
---|---|
topSystem | sys |
ptpPtpEntity | sys/ptp |
ptpPtpIf | sys/ptp/if-[eth1/3] |
ptpPtpIf | sys/ptp/if-[eth1/2] |
interfaceEntity | sys/intf |
l1PhysIf | sys/intf/phys-[eth1/3] |
l1PhysIf | sys/intf/phys-[eth1/2] |
ptpPtpIf Properties
The following table contains information about the ptpPtpIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | Interface id of port with PTP configuration | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
transmission | ptp:TransportMode (scalar:Enum8) | Transport mode for PTP interface with default multicast | SELECTION: 1 - multicast 2 - unicast DEFAULT: multicast |
ptpPtpIf Properties
The following table contains information about the ptpPtpIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | Interface id of port with PTP configuration | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
transmission | ptp:TransportMode (scalar:Enum8) | Transport mode for PTP interface with default multicast | SELECTION: 1 - multicast 2 - unicast DEFAULT: multicast |
l1PhysIf Properties
The following table contains information about the l1PhysIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | An identifier . | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
l1PhysIf Properties
The following table contains information about the l1PhysIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | An identifier . | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
Configuring PTP Unicast Transmission
Configuring PTP Unicast Transmission
POST http://<mgmt0_IP>/api/mo/sys.json
{
"topSystem": {
"children": [
{
"ptpPtpEntity": {
"children": [
{
"ptpPtpIf": {
"attributes": {
"id": "eth1/3",
"transmission": "unicast"
}
}
},
{
"ptpPtpIf": {
"attributes": {
"id": "eth1/2",
"transmission": "unicast"
}
}
}
]
}
},
{
"interfaceEntity": {
"children": [
{
"l1PhysIf": {
"attributes": {
"id": "eth1/3"
}
}
},
{
"l1PhysIf": {
"attributes": {
"id": "eth1/2"
}
}
}
]
}
}
]
}
}
{
imdata:[]
}
<System>
<ptp-items>
<if-items>
<PtpIf-list>
<id>eth1/3</id>
<transmission>unicast</transmission>
</PtpIf-list>
<PtpIf-list>
<id>eth1/2</id>
<transmission>unicast</transmission>
</PtpIf-list>
</if-items>
</ptp-items>
<intf-items>
<phys-items>
<PhysIf-list>
<id>eth1/3</id>
</PhysIf-list>
<PhysIf-list>
<id>eth1/2</id>
</PhysIf-list>
</phys-items>
</intf-items>
</System>
Note: This example was added in Release 9.3(5).
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
interface ethernet 1/2-3
ptp transmission unicast
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO | DN |
---|---|
topSystem | sys |
ptpPtpEntity | sys/ptp |
ptpPtpIf | sys/ptp/if-[eth1/3] |
ptpPtpIf | sys/ptp/if-[eth1/2] |
interfaceEntity | sys/intf |
l1PhysIf | sys/intf/phys-[eth1/3] |
l1PhysIf | sys/intf/phys-[eth1/2] |
ptpPtpIf Properties
The following table contains information about the ptpPtpIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | Interface id of port with PTP configuration | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
transmission | ptp:TransportMode (scalar:Enum8) | Transport mode for PTP interface with default multicast | SELECTION: 1 - multicast 2 - unicast DEFAULT: multicast |
ptpPtpIf Properties
The following table contains information about the ptpPtpIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | Interface id of port with PTP configuration | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
transmission | ptp:TransportMode (scalar:Enum8) | Transport mode for PTP interface with default multicast | SELECTION: 1 - multicast 2 - unicast DEFAULT: multicast |
l1PhysIf Properties
The following table contains information about the l1PhysIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | An identifier . | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
l1PhysIf Properties
The following table contains information about the l1PhysIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | An identifier . | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
Configuring the PTP Sync Interval
Configuring the PTP Sync Interval
POST http://<mgmt0_IP>/api/mo/sys.json
{
"topSystem": {
"children": [
{
"ptpPtpEntity": {
"children": [
{
"ptpPtpIf": {
"attributes": {
"id": "eth1/3",
"syncIntervalType": "none",
"syncIntervalVal": "-3"
}
}
},
{
"ptpPtpIf": {
"attributes": {
"id": "eth1/2",
"syncIntervalType": "none",
"syncIntervalVal": "-3"
}
}
}
]
}
},
{
"interfaceEntity": {
"children": [
{
"l1PhysIf": {
"attributes": {
"id": "eth1/3"
}
}
},
{
"l1PhysIf": {
"attributes": {
"id": "eth1/2"
}
}
}
]
}
}
]
}
}
{
imdata:[]
}
<System>
<ptp-items>
<if-items>
<PtpIf-list>
<id>eth1/3</id>
<syncIntervalType>none</syncIntervalType>
<syncIntervalVal>-3</syncIntervalVal>
</PtpIf-list>
<PtpIf-list>
<id>eth1/2</id>
<syncIntervalType>none</syncIntervalType>
<syncIntervalVal>-3</syncIntervalVal>
</PtpIf-list>
</if-items>
</ptp-items>
<intf-items>
<phys-items>
<PhysIf-list>
<id>eth1/3</id>
</PhysIf-list>
<PhysIf-list>
<id>eth1/2</id>
</PhysIf-list>
</phys-items>
</intf-items>
</System>
Note: This example was added in Release 9.3(5).
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
interface ethernet 1/2-3
ptp sync interval -3
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO | DN |
---|---|
topSystem | sys |
ptpPtpEntity | sys/ptp |
ptpPtpIf | sys/ptp/if-[eth1/3] |
ptpPtpIf | sys/ptp/if-[eth1/2] |
interfaceEntity | sys/intf |
l1PhysIf | sys/intf/phys-[eth1/3] |
l1PhysIf | sys/intf/phys-[eth1/2] |
ptpPtpIf Properties
The following table contains information about the ptpPtpIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | Interface id of port with PTP configuration | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
syncIntervalType | ptp:TimeCode (scalar:Enum8) | PTP sync interval time code | SELECTION: 1 - none 2 - aes67 3 - smpte-2059-2 DEFAULT: none |
syncIntervalVal | scalar:Sint16 | PTP sync interval value | RANGE: -3 to 1 when type is none -4 to 1 when type is aes67 -7 to 0 when type is smpte-2059-2 |
ptpPtpIf Properties
The following table contains information about the ptpPtpIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | Interface id of port with PTP configuration | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
syncIntervalType | ptp:TimeCode (scalar:Enum8) | PTP sync interval time code | SELECTION: 1 - none 2 - aes67 3 - smpte-2059-2 DEFAULT: none |
syncIntervalVal | scalar:Sint16 | PTP sync interval value | RANGE: -3 to 1 when type is none -4 to 1 when type is aes67 -7 to 0 when type is smpte-2059-2 |
l1PhysIf Properties
The following table contains information about the l1PhysIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | An identifier . | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
l1PhysIf Properties
The following table contains information about the l1PhysIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | An identifier . | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
Deleting the PTP Sync Interval
Deleting the PTP Sync Interval
POST http://<mgmt0_IP>/api/mo/sys.json
{
"topSystem": {
"children": [
{
"ptpPtpEntity": {
"children": [
{
"ptpPtpIf": {
"attributes": {
"id": "eth1/3",
"syncIntervalType": "none",
"syncIntervalVal": "0"
}
}
},
{
"ptpPtpIf": {
"attributes": {
"id": "eth1/2",
"syncIntervalType": "none",
"syncIntervalVal": "0"
}
}
}
]
}
},
{
"interfaceEntity": {
"children": [
{
"l1PhysIf": {
"attributes": {
"id": "eth1/3"
}
}
},
{
"l1PhysIf": {
"attributes": {
"id": "eth1/2"
}
}
}
]
}
}
]
}
}
{
imdata:[]
}
<System>
<ptp-items>
<if-items>
<PtpIf-list>
<id>eth1/3</id>
<syncIntervalType>none</syncIntervalType>
<syncIntervalVal>0</syncIntervalVal>
</PtpIf-list>
<PtpIf-list>
<id>eth1/2</id>
<syncIntervalType>none</syncIntervalType>
<syncIntervalVal>0</syncIntervalVal>
</PtpIf-list>
</if-items>
</ptp-items>
<intf-items>
<phys-items>
<PhysIf-list>
<id>eth1/3</id>
</PhysIf-list>
<PhysIf-list>
<id>eth1/2</id>
</PhysIf-list>
</phys-items>
</intf-items>
</System>
Note: This example was added in Release 9.3(5).
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
interface ethernet 1/2-3
no ptp sync interval -3
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO | DN |
---|---|
topSystem | sys |
ptpPtpEntity | sys/ptp |
ptpPtpIf | sys/ptp/if-[eth1/3] |
ptpPtpIf | sys/ptp/if-[eth1/2] |
interfaceEntity | sys/intf |
l1PhysIf | sys/intf/phys-[eth1/3] |
l1PhysIf | sys/intf/phys-[eth1/2] |
ptpPtpIf Properties
The following table contains information about the ptpPtpIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | Interface id of port with PTP configuration | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
syncIntervalType | ptp:TimeCode (scalar:Enum8) | PTP sync interval time code | SELECTION: 1 - none 2 - aes67 3 - smpte-2059-2 DEFAULT: none |
syncIntervalVal | scalar:Sint16 | PTP sync interval value | RANGE: -3 to 1 when type is none -4 to 1 when type is aes67 -7 to 0 when type is smpte-2059-2 |
ptpPtpIf Properties
The following table contains information about the ptpPtpIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | Interface id of port with PTP configuration | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
syncIntervalType | ptp:TimeCode (scalar:Enum8) | PTP sync interval time code | SELECTION: 1 - none 2 - aes67 3 - smpte-2059-2 DEFAULT: none |
syncIntervalVal | scalar:Sint16 | PTP sync interval value | RANGE: -3 to 1 when type is none -4 to 1 when type is aes67 -7 to 0 when type is smpte-2059-2 |
l1PhysIf Properties
The following table contains information about the l1PhysIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | An identifier . | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
l1PhysIf Properties
The following table contains information about the l1PhysIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | An identifier . | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
Configuring the PTP Sync Interval as AES67-2015
Configuring the PTP Sync Interval as AES67-2015
POST http://<mgmt0_IP>/api/mo/sys.json
{
"topSystem": {
"children": [
{
"ptpPtpEntity": {
"children": [
{
"ptpPtpIf": {
"attributes": {
"id": "eth1/3",
"syncIntervalType": "aes67",
"syncIntervalVal": "-4"
}
}
},
{
"ptpPtpIf": {
"attributes": {
"id": "eth1/2",
"syncIntervalType": "aes67",
"syncIntervalVal": "-4"
}
}
}
]
}
},
{
"interfaceEntity": {
"children": [
{
"l1PhysIf": {
"attributes": {
"id": "eth1/3"
}
}
},
{
"l1PhysIf": {
"attributes": {
"id": "eth1/2"
}
}
}
]
}
}
]
}
}
{
imdata:[]
}
<System>
<ptp-items>
<if-items>
<PtpIf-list>
<id>eth1/3</id>
<syncIntervalType>aes67</syncIntervalType>
<syncIntervalVal>-4</syncIntervalVal>
</PtpIf-list>
<PtpIf-list>
<id>eth1/2</id>
<syncIntervalType>aes67</syncIntervalType>
<syncIntervalVal>-4</syncIntervalVal>
</PtpIf-list>
</if-items>
</ptp-items>
<intf-items>
<phys-items>
<PhysIf-list>
<id>eth1/3</id>
</PhysIf-list>
<PhysIf-list>
<id>eth1/2</id>
</PhysIf-list>
</phys-items>
</intf-items>
</System>
Note: This example was added in Release 9.3(5).
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
interface ethernet 1/2-3
ptp sync interval aes67 -4
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO | DN |
---|---|
topSystem | sys |
ptpPtpEntity | sys/ptp |
ptpPtpIf | sys/ptp/if-[eth1/3] |
ptpPtpIf | sys/ptp/if-[eth1/2] |
interfaceEntity | sys/intf |
l1PhysIf | sys/intf/phys-[eth1/3] |
l1PhysIf | sys/intf/phys-[eth1/2] |
ptpPtpIf Properties
The following table contains information about the ptpPtpIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | Interface id of port with PTP configuration | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
syncIntervalType | ptp:TimeCode (scalar:Enum8) | PTP sync interval time code | SELECTION: 1 - none 2 - aes67 3 - smpte-2059-2 DEFAULT: none |
syncIntervalVal | scalar:Sint16 | PTP sync interval value | RANGE: -3 to 1 when type is none -4 to 1 when type is aes67 -7 to 0 when type is smpte-2059-2 |
ptpPtpIf Properties
The following table contains information about the ptpPtpIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | Interface id of port with PTP configuration | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
syncIntervalType | ptp:TimeCode (scalar:Enum8) | PTP sync interval time code | SELECTION: 1 - none 2 - aes67 3 - smpte-2059-2 DEFAULT: none |
syncIntervalVal | scalar:Sint16 | PTP sync interval value | RANGE: -3 to 1 when type is none -4 to 1 when type is aes67 -7 to 0 when type is smpte-2059-2 |
l1PhysIf Properties
The following table contains information about the l1PhysIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | An identifier . | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
l1PhysIf Properties
The following table contains information about the l1PhysIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | An identifier . | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
Deleting the PTP Sync Interval as AES67-2015
Deleting the PTP Sync Interval as AES67-2015
POST http://<mgmt0_IP>/api/mo/sys.json
{
"topSystem": {
"children": [
{
"ptpPtpEntity": {
"children": [
{
"ptpPtpIf": {
"attributes": {
"id": "eth1/3",
"syncIntervalType": "none",
"syncIntervalVal": "-3"
}
}
},
{
"ptpPtpIf": {
"attributes": {
"id": "eth1/2",
"syncIntervalType": "none",
"syncIntervalVal": "-3"
}
}
}
]
}
},
{
"interfaceEntity": {
"children": [
{
"l1PhysIf": {
"attributes": {
"id": "eth1/3"
}
}
},
{
"l1PhysIf": {
"attributes": {
"id": "eth1/2"
}
}
}
]
}
}
]
}
}
{
imdata:[]
}
<System>
<ptp-items>
<if-items>
<PtpIf-list>
<id>eth1/3</id>
<syncIntervalType>none</syncIntervalType>
<syncIntervalVal>-3</syncIntervalVal>
</PtpIf-list>
<PtpIf-list>
<id>eth1/2</id>
<syncIntervalType>none</syncIntervalType>
<syncIntervalVal>-3</syncIntervalVal>
</PtpIf-list>
</if-items>
</ptp-items>
<intf-items>
<phys-items>
<PhysIf-list>
<id>eth1/3</id>
</PhysIf-list>
<PhysIf-list>
<id>eth1/2</id>
</PhysIf-list>
</phys-items>
</intf-items>
</System>
Note: This example was added in Release 9.3(5).
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
interface ethernet 1/2-3
no ptp sync interval aes67 -3
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO | DN |
---|---|
topSystem | sys |
ptpPtpEntity | sys/ptp |
ptpPtpIf | sys/ptp/if-[eth1/3] |
ptpPtpIf | sys/ptp/if-[eth1/2] |
interfaceEntity | sys/intf |
l1PhysIf | sys/intf/phys-[eth1/3] |
l1PhysIf | sys/intf/phys-[eth1/2] |
ptpPtpIf Properties
The following table contains information about the ptpPtpIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | Interface id of port with PTP configuration | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
syncIntervalType | ptp:TimeCode (scalar:Enum8) | PTP sync interval time code | SELECTION: 1 - none 2 - aes67 3 - smpte-2059-2 DEFAULT: none |
syncIntervalVal | scalar:Sint16 | PTP sync interval value | RANGE: -3 to 1 when type is none -4 to 1 when type is aes67 -7 to 0 when type is smpte-2059-2 |
ptpPtpIf Properties
The following table contains information about the ptpPtpIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | Interface id of port with PTP configuration | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
syncIntervalType | ptp:TimeCode (scalar:Enum8) | PTP sync interval time code | SELECTION: 1 - none 2 - aes67 3 - smpte-2059-2 DEFAULT: none |
syncIntervalVal | scalar:Sint16 | PTP sync interval value | RANGE: -3 to 1 when type is none -4 to 1 when type is aes67 -7 to 0 when type is smpte-2059-2 |
l1PhysIf Properties
The following table contains information about the l1PhysIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | An identifier . | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
l1PhysIf Properties
The following table contains information about the l1PhysIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | An identifier . | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
Configuring the PTP Sync Interval as SMPTE-2059-2
Configuring the PTP Sync Interval as SMPTE-2059-2
POST http://<mgmt0_IP>/api/mo/sys.json
{
"topSystem": {
"children": [
{
"ptpPtpEntity": {
"children": [
{
"ptpPtpIf": {
"attributes": {
"id": "eth1/3",
"syncIntervalType": "smpte-2059-2",
"syncIntervalVal": "0"
}
}
},
{
"ptpPtpIf": {
"attributes": {
"id": "eth1/2",
"syncIntervalType": "smpte-2059-2",
"syncIntervalVal": "0"
}
}
}
]
}
},
{
"interfaceEntity": {
"children": [
{
"l1PhysIf": {
"attributes": {
"id": "eth1/3"
}
}
},
{
"l1PhysIf": {
"attributes": {
"id": "eth1/2"
}
}
}
]
}
}
]
}
}
{
imdata:[]
}
<System>
<ptp-items>
<if-items>
<PtpIf-list>
<id>eth1/3</id>
<syncIntervalType>smpte-2059-2</syncIntervalType>
<syncIntervalVal>0</syncIntervalVal>
</PtpIf-list>
<PtpIf-list>
<id>eth1/2</id>
<syncIntervalType>smpte-2059-2</syncIntervalType>
<syncIntervalVal>0</syncIntervalVal>
</PtpIf-list>
</if-items>
</ptp-items>
<intf-items>
<phys-items>
<PhysIf-list>
<id>eth1/3</id>
</PhysIf-list>
<PhysIf-list>
<id>eth1/2</id>
</PhysIf-list>
</phys-items>
</intf-items>
</System>
Note: This example was added in Release 9.3(5).
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
interface ethernet 1/2-3
ptp sync interval smpte-2059-2 0
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO | DN |
---|---|
topSystem | sys |
ptpPtpEntity | sys/ptp |
ptpPtpIf | sys/ptp/if-[eth1/3] |
ptpPtpIf | sys/ptp/if-[eth1/2] |
interfaceEntity | sys/intf |
l1PhysIf | sys/intf/phys-[eth1/3] |
l1PhysIf | sys/intf/phys-[eth1/2] |
ptpPtpIf Properties
The following table contains information about the ptpPtpIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | Interface id of port with PTP configuration | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
syncIntervalType | ptp:TimeCode (scalar:Enum8) | PTP sync interval time code | SELECTION: 1 - none 2 - aes67 3 - smpte-2059-2 DEFAULT: none |
syncIntervalVal | scalar:Sint16 | PTP sync interval value | RANGE: -3 to 1 when type is none -4 to 1 when type is aes67 -7 to 0 when type is smpte-2059-2 |
ptpPtpIf Properties
The following table contains information about the ptpPtpIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | Interface id of port with PTP configuration | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
syncIntervalType | ptp:TimeCode (scalar:Enum8) | PTP sync interval time code | SELECTION: 1 - none 2 - aes67 3 - smpte-2059-2 DEFAULT: none |
syncIntervalVal | scalar:Sint16 | PTP sync interval value | RANGE: -3 to 1 when type is none -4 to 1 when type is aes67 -7 to 0 when type is smpte-2059-2 |
l1PhysIf Properties
The following table contains information about the l1PhysIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | An identifier . | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
l1PhysIf Properties
The following table contains information about the l1PhysIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | An identifier . | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
Deleting the PTP Sync Interval as SMPTE-2059-2
Deleting the PTP Sync Interval as SMPTE-2059-2
POST http://<mgmt0_IP>/api/mo/sys.json
{
"topSystem": {
"children": [
{
"ptpPtpEntity": {
"children": [
{
"ptpPtpIf": {
"attributes": {
"id": "eth1/3",
"syncIntervalType": "none",
"syncIntervalVal": "0"
}
}
},
{
"ptpPtpIf": {
"attributes": {
"id": "eth1/2",
"syncIntervalType": "none",
"syncIntervalVal": "0"
}
}
}
]
}
},
{
"interfaceEntity": {
"children": [
{
"l1PhysIf": {
"attributes": {
"id": "eth1/3"
}
}
},
{
"l1PhysIf": {
"attributes": {
"id": "eth1/2"
}
}
}
]
}
}
]
}
}
{
imdata:[]
}
<System>
<ptp-items>
<if-items>
<PtpIf-list>
<id>eth1/3</id>
<syncIntervalType>none</syncIntervalType>
<syncIntervalVal>0</syncIntervalVal>
</PtpIf-list>
<PtpIf-list>
<id>eth1/2</id>
<syncIntervalType>none</syncIntervalType>
<syncIntervalVal>0</syncIntervalVal>
</PtpIf-list>
</if-items>
</ptp-items>
<intf-items>
<phys-items>
<PhysIf-list>
<id>eth1/3</id>
</PhysIf-list>
<PhysIf-list>
<id>eth1/2</id>
</PhysIf-list>
</phys-items>
</intf-items>
</System>
Note: This example was added in Release 9.3(5).
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
interface ethernet 1/2-3
no ptp sync interval smpte-2059-2 0
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO | DN |
---|---|
topSystem | sys |
ptpPtpEntity | sys/ptp |
ptpPtpIf | sys/ptp/if-[eth1/3] |
ptpPtpIf | sys/ptp/if-[eth1/2] |
interfaceEntity | sys/intf |
l1PhysIf | sys/intf/phys-[eth1/3] |
l1PhysIf | sys/intf/phys-[eth1/2] |
ptpPtpIf Properties
The following table contains information about the ptpPtpIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | Interface id of port with PTP configuration | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
syncIntervalType | ptp:TimeCode (scalar:Enum8) | PTP sync interval time code | SELECTION: 1 - none 2 - aes67 3 - smpte-2059-2 DEFAULT: none |
syncIntervalVal | scalar:Sint16 | PTP sync interval value | RANGE: -3 to 1 when type is none -4 to 1 when type is aes67 -7 to 0 when type is smpte-2059-2 |
ptpPtpIf Properties
The following table contains information about the ptpPtpIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | Interface id of port with PTP configuration | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
syncIntervalType | ptp:TimeCode (scalar:Enum8) | PTP sync interval time code | SELECTION: 1 - none 2 - aes67 3 - smpte-2059-2 DEFAULT: none |
syncIntervalVal | scalar:Sint16 | PTP sync interval value | RANGE: -3 to 1 when type is none -4 to 1 when type is aes67 -7 to 0 when type is smpte-2059-2 |
l1PhysIf Properties
The following table contains information about the l1PhysIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | An identifier . | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
l1PhysIf Properties
The following table contains information about the l1PhysIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | An identifier . | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
Configuring the Source IP Address for UCAST Messages
Configuring the Source IP Address for UCAST Messages
POST http://<mgmt0_IP>/api/mo/sys.json
{
"topSystem": {
"children": [
{
"ptpPtpEntity": {
"children": [
{
"ptpPtpIf": {
"attributes": {
"id": "eth1/3",
"ucastSrc": "1.2.3.4"
}
}
},
{
"ptpPtpIf": {
"attributes": {
"id": "eth1/2",
"ucastSrc": "1.2.3.5"
}
}
}
]
}
},
{
"interfaceEntity": {
"children": [
{
"l1PhysIf": {
"attributes": {
"id": "eth1/3"
}
}
},
{
"l1PhysIf": {
"attributes": {
"id": "eth1/2"
}
}
}
]
}
}
]
}
}
{
imdata:[]
}
<System>
<ptp-items>
<if-items>
<PtpIf-list>
<id>eth1/3</id>
<ucastSrc>1.2.3.4</ucastSrc>
</PtpIf-list>
<PtpIf-list>
<id>eth1/2</id>
<ucastSrc>1.2.3.5</ucastSrc>
</PtpIf-list>
</if-items>
</ptp-items>
<intf-items>
<phys-items>
<PhysIf-list>
<id>eth1/3</id>
</PhysIf-list>
<PhysIf-list>
<id>eth1/2</id>
</PhysIf-list>
</phys-items>
</intf-items>
</System>
Note: This example was added in Release 9.3(5).
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
interface ethernet 1/2
ptp ucast-source 1.2.3.5
interface ethernet 1/3
ptp ucast-source 1.2.3.4
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO | DN |
---|---|
topSystem | sys |
ptpPtpEntity | sys/ptp |
ptpPtpIf | sys/ptp/if-[eth1/3] |
ptpPtpIf | sys/ptp/if-[eth1/2] |
interfaceEntity | sys/intf |
l1PhysIf | sys/intf/phys-[eth1/3] |
l1PhysIf | sys/intf/phys-[eth1/2] |
ptpPtpIf Properties
The following table contains information about the ptpPtpIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | Interface id of port with PTP configuration | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
ucastSrc | address:Ip | Source IP address for ucast messages | Value must match ipv4 or ipv6 known format |
ptpPtpIf Properties
The following table contains information about the ptpPtpIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | Interface id of port with PTP configuration | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
ucastSrc | address:Ip | Source IP address for ucast messages | Value must match ipv4 or ipv6 known format |
l1PhysIf Properties
The following table contains information about the l1PhysIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | An identifier . | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
l1PhysIf Properties
The following table contains information about the l1PhysIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | An identifier . | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
Deleting the Source IP Address for UCAST Messages
Deleting the Source IP Address for UCAST Messages
POST http://<mgmt0_IP>/api/mo/sys.json
{
"topSystem": {
"children": [
{
"ptpPtpEntity": {
"children": [
{
"ptpPtpIf": {
"attributes": {
"id": "eth1/3",
"ucastSrc": "0.0.0.0"
}
}
},
{
"ptpPtpIf": {
"attributes": {
"id": "eth1/2",
"ucastSrc": "0.0.0.0"
}
}
}
]
}
},
{
"interfaceEntity": {
"children": [
{
"l1PhysIf": {
"attributes": {
"id": "eth1/3"
}
}
},
{
"l1PhysIf": {
"attributes": {
"id": "eth1/2"
}
}
}
]
}
}
]
}
}
{
imdata:[]
}
<System>
<ptp-items>
<if-items>
<PtpIf-list>
<id>eth1/3</id>
<ucastSrc>0.0.0.0</ucastSrc>
</PtpIf-list>
<PtpIf-list>
<id>eth1/2</id>
<ucastSrc>0.0.0.0</ucastSrc>
</PtpIf-list>
</if-items>
</ptp-items>
<intf-items>
<phys-items>
<PhysIf-list>
<id>eth1/3</id>
</PhysIf-list>
<PhysIf-list>
<id>eth1/2</id>
</PhysIf-list>
</phys-items>
</intf-items>
</System>
Note: This example was added in Release 9.3(5).
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
interface ethernet 1/2
no ptp ucast-source 1.2.3.5
interface ethernet 1/3
no ptp ucast-source 1.2.3.4
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO | DN |
---|---|
topSystem | sys |
ptpPtpEntity | sys/ptp |
ptpPtpIf | sys/ptp/if-[eth1/3] |
ptpPtpIf | sys/ptp/if-[eth1/2] |
interfaceEntity | sys/intf |
l1PhysIf | sys/intf/phys-[eth1/3] |
l1PhysIf | sys/intf/phys-[eth1/2] |
ptpPtpIf Properties
The following table contains information about the ptpPtpIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | Interface id of port with PTP configuration | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
ucastSrc | address:Ip | Source IP address for ucast messages | Value must match ipv4 or ipv6 known format |
ptpPtpIf Properties
The following table contains information about the ptpPtpIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | Interface id of port with PTP configuration | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
ucastSrc | address:Ip | Source IP address for ucast messages | Value must match ipv4 or ipv6 known format |
l1PhysIf Properties
The following table contains information about the l1PhysIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | An identifier . | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
l1PhysIf Properties
The following table contains information about the l1PhysIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | An identifier . | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
Configuring the PTP Delay Request Minimum Interval
Configuring the PTP Delay Request Minimum Interval
POST http://<mgmt0_IP>/api/mo/sys.json
{
"topSystem": {
"children": [
{
"ptpPtpEntity": {
"children": [
{
"ptpPtpIf": {
"attributes": {
"delayRequestMinIntervalType": "none",
"delayRequestMinIntervalVal": "1",
"id": "eth1/3"
}
}
},
{
"ptpPtpIf": {
"attributes": {
"delayRequestMinIntervalType": "none",
"delayRequestMinIntervalVal": "1",
"id": "eth1/2"
}
}
}
]
}
},
{
"interfaceEntity": {
"children": [
{
"l1PhysIf": {
"attributes": {
"id": "eth1/3"
}
}
},
{
"l1PhysIf": {
"attributes": {
"id": "eth1/2"
}
}
}
]
}
}
]
}
}
{
imdata:[]
}
<System>
<ptp-items>
<if-items>
<PtpIf-list>
<id>eth1/3</id>
<delayRequestMinIntervalType>none</delayRequestMinIntervalType>
<delayRequestMinIntervalVal>1</delayRequestMinIntervalVal>
</PtpIf-list>
<PtpIf-list>
<id>eth1/2</id>
<delayRequestMinIntervalType>none</delayRequestMinIntervalType>
<delayRequestMinIntervalVal>1</delayRequestMinIntervalVal>
</PtpIf-list>
</if-items>
</ptp-items>
<intf-items>
<phys-items>
<PhysIf-list>
<id>eth1/3</id>
</PhysIf-list>
<PhysIf-list>
<id>eth1/2</id>
</PhysIf-list>
</phys-items>
</intf-items>
</System>
Note: This example was added in Release 9.3(5).
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
interface ethernet 1/2-3
ptp delay-request minimum interval 1
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO | DN |
---|---|
topSystem | sys |
ptpPtpEntity | sys/ptp |
ptpPtpIf | sys/ptp/if-[eth1/3] |
ptpPtpIf | sys/ptp/if-[eth1/2] |
interfaceEntity | sys/intf |
l1PhysIf | sys/intf/phys-[eth1/3] |
l1PhysIf | sys/intf/phys-[eth1/2] |
ptpPtpIf Properties
The following table contains information about the ptpPtpIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
delayRequestMinIntervalType | ptp:TimeCode (scalar:Enum8) | PTP delay-request minimum interval time code | SELECTION: 1 - none 2 - aes67 3 - smpte-2059-2 DEFAULT: none |
delayRequestMinIntervalVal | scalar:Sint16 | PTP delay-request minimum interval value | -1 to 6 when type is none -4 to 5 when type is aes67 -4 to 5 when type is smpte-2059-2 |
id | nw:IfId (base:IfIndex) | Interface id of port with PTP configuration | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
ptpPtpIf Properties
The following table contains information about the ptpPtpIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
delayRequestMinIntervalType | ptp:TimeCode (scalar:Enum8) | PTP delay-request minimum interval time code | SELECTION: 1 - none 2 - aes67 3 - smpte-2059-2 DEFAULT: none |
delayRequestMinIntervalVal | scalar:Sint16 | PTP delay-request minimum interval value | -1 to 6 when type is none -4 to 5 when type is aes67 -4 to 5 when type is smpte-2059-2 |
id | nw:IfId (base:IfIndex) | Interface id of port with PTP configuration | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
l1PhysIf Properties
The following table contains information about the l1PhysIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | An identifier . | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
l1PhysIf Properties
The following table contains information about the l1PhysIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | An identifier . | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
Deleting the PTP Delay Request Minimum Interval
Deleting the PTP Delay Request Minimum Interval
POST http://<mgmt0_IP>/api/mo/sys.json
{
"topSystem": {
"children": [
{
"ptpPtpEntity": {
"children": [
{
"ptpPtpIf": {
"attributes": {
"delayRequestMinIntervalType": "none",
"delayRequestMinIntervalVal": "0",
"id": "eth1/3"
}
}
},
{
"ptpPtpIf": {
"attributes": {
"delayRequestMinIntervalType": "none",
"delayRequestMinIntervalVal": "0",
"id": "eth1/2"
}
}
}
]
}
},
{
"interfaceEntity": {
"children": [
{
"l1PhysIf": {
"attributes": {
"id": "eth1/3"
}
}
},
{
"l1PhysIf": {
"attributes": {
"id": "eth1/2"
}
}
}
]
}
}
]
}
}
{
imdata:[]
}
<System>
<ptp-items>
<if-items>
<PtpIf-list>
<id>eth1/3</id>
<delayRequestMinIntervalType>none</delayRequestMinIntervalType>
<delayRequestMinIntervalVal>0</delayRequestMinIntervalVal>
</PtpIf-list>
<PtpIf-list>
<id>eth1/2</id>
<delayRequestMinIntervalType>none</delayRequestMinIntervalType>
<delayRequestMinIntervalVal>0</delayRequestMinIntervalVal>
</PtpIf-list>
</if-items>
</ptp-items>
<intf-items>
<phys-items>
<PhysIf-list>
<id>eth1/3</id>
</PhysIf-list>
<PhysIf-list>
<id>eth1/2</id>
</PhysIf-list>
</phys-items>
</intf-items>
</System>
Note: This example was added in Release 9.3(5).
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
interface ethernet 1/2-3
no ptp delay-request minimum interval 1
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO | DN |
---|---|
topSystem | sys |
ptpPtpEntity | sys/ptp |
ptpPtpIf | sys/ptp/if-[eth1/3] |
ptpPtpIf | sys/ptp/if-[eth1/2] |
interfaceEntity | sys/intf |
l1PhysIf | sys/intf/phys-[eth1/3] |
l1PhysIf | sys/intf/phys-[eth1/2] |
ptpPtpIf Properties
The following table contains information about the ptpPtpIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
delayRequestMinIntervalType | ptp:TimeCode (scalar:Enum8) | PTP delay-request minimum interval time code | SELECTION: 1 - none 2 - aes67 3 - smpte-2059-2 DEFAULT: none |
delayRequestMinIntervalVal | scalar:Sint16 | PTP delay-request minimum interval value | -1 to 6 when type is none -4 to 5 when type is aes67 -4 to 5 when type is smpte-2059-2 |
id | nw:IfId (base:IfIndex) | Interface id of port with PTP configuration | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
ptpPtpIf Properties
The following table contains information about the ptpPtpIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
delayRequestMinIntervalType | ptp:TimeCode (scalar:Enum8) | PTP delay-request minimum interval time code | SELECTION: 1 - none 2 - aes67 3 - smpte-2059-2 DEFAULT: none |
delayRequestMinIntervalVal | scalar:Sint16 | PTP delay-request minimum interval value | -1 to 6 when type is none -4 to 5 when type is aes67 -4 to 5 when type is smpte-2059-2 |
id | nw:IfId (base:IfIndex) | Interface id of port with PTP configuration | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
l1PhysIf Properties
The following table contains information about the l1PhysIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | An identifier . | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
l1PhysIf Properties
The following table contains information about the l1PhysIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | An identifier . | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
Configuring the PTP Delay Request Minimum Interval as AES67-2015
Configuring the PTP Delay Request Minimum Interval as AES67-2015
POST http://<mgmt0_IP>/api/mo/sys.json
{
"topSystem": {
"children": [
{
"ptpPtpEntity": {
"children": [
{
"ptpPtpIf": {
"attributes": {
"delayRequestMinIntervalType": "aes67",
"delayRequestMinIntervalVal": "-4",
"id": "eth1/3"
}
}
},
{
"ptpPtpIf": {
"attributes": {
"delayRequestMinIntervalType": "aes67",
"delayRequestMinIntervalVal": "-4",
"id": "eth1/2"
}
}
}
]
}
},
{
"interfaceEntity": {
"children": [
{
"l1PhysIf": {
"attributes": {
"id": "eth1/3"
}
}
},
{
"l1PhysIf": {
"attributes": {
"id": "eth1/2"
}
}
}
]
}
}
]
}
}
{
imdata:[]
}
<System>
<ptp-items>
<if-items>
<PtpIf-list>
<id>eth1/3</id>
<delayRequestMinIntervalType>aes67</delayRequestMinIntervalType>
<delayRequestMinIntervalVal>-4</delayRequestMinIntervalVal>
</PtpIf-list>
<PtpIf-list>
<id>eth1/2</id>
<delayRequestMinIntervalType>aes67</delayRequestMinIntervalType>
<delayRequestMinIntervalVal>-4</delayRequestMinIntervalVal>
</PtpIf-list>
</if-items>
</ptp-items>
<intf-items>
<phys-items>
<PhysIf-list>
<id>eth1/3</id>
</PhysIf-list>
<PhysIf-list>
<id>eth1/2</id>
</PhysIf-list>
</phys-items>
</intf-items>
</System>
Note: This example was added in Release 9.3(5).
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
interface ethernet 1/2-3
ptp delay-request minimum interval aes67 -4
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO | DN |
---|---|
topSystem | sys |
ptpPtpEntity | sys/ptp |
ptpPtpIf | sys/ptp/if-[eth1/3] |
ptpPtpIf | sys/ptp/if-[eth1/2] |
interfaceEntity | sys/intf |
l1PhysIf | sys/intf/phys-[eth1/3] |
l1PhysIf | sys/intf/phys-[eth1/2] |
ptpPtpIf Properties
The following table contains information about the ptpPtpIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
delayRequestMinIntervalType | ptp:TimeCode (scalar:Enum8) | PTP delay-request minimum interval time code | SELECTION: 1 - none 2 - aes67 3 - smpte-2059-2 DEFAULT: none |
delayRequestMinIntervalVal | scalar:Sint16 | PTP delay-request minimum interval value | -1 to 6 when type is none -4 to 5 when type is aes67 -4 to 5 when type is smpte-2059-2 |
id | nw:IfId (base:IfIndex) | Interface id of port with PTP configuration | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
ptpPtpIf Properties
The following table contains information about the ptpPtpIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
delayRequestMinIntervalType | ptp:TimeCode (scalar:Enum8) | PTP delay-request minimum interval time code | SELECTION: 1 - none 2 - aes67 3 - smpte-2059-2 DEFAULT: none |
delayRequestMinIntervalVal | scalar:Sint16 | PTP delay-request minimum interval value | -1 to 6 when type is none -4 to 5 when type is aes67 -4 to 5 when type is smpte-2059-2 |
id | nw:IfId (base:IfIndex) | Interface id of port with PTP configuration | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
l1PhysIf Properties
The following table contains information about the l1PhysIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | An identifier . | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
l1PhysIf Properties
The following table contains information about the l1PhysIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | An identifier . | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
Deleting the PTP Delay Request Minimum Interval as AES67-2015
Deleting the PTP Delay Request Minimum Interval as AES67-2015
POST http://<mgmt0_IP>/api/mo/sys.json
{
"topSystem": {
"children": [
{
"ptpPtpEntity": {
"children": [
{
"ptpPtpIf": {
"attributes": {
"delayRequestMinIntervalType": "none",
"delayRequestMinIntervalVal": "-1",
"id": "eth1/3"
}
}
},
{
"ptpPtpIf": {
"attributes": {
"delayRequestMinIntervalType": "none",
"delayRequestMinIntervalVal": "-1",
"id": "eth1/2"
}
}
}
]
}
},
{
"interfaceEntity": {
"children": [
{
"l1PhysIf": {
"attributes": {
"id": "eth1/3"
}
}
},
{
"l1PhysIf": {
"attributes": {
"id": "eth1/2"
}
}
}
]
}
}
]
}
}
{
imdata:[]
}
<System>
<ptp-items>
<if-items>
<PtpIf-list>
<id>eth1/3</id>
<delayRequestMinIntervalType>none</delayRequestMinIntervalType>
<delayRequestMinIntervalVal>-1</delayRequestMinIntervalVal>
</PtpIf-list>
<PtpIf-list>
<id>eth1/2</id>
<delayRequestMinIntervalType>none</delayRequestMinIntervalType>
<delayRequestMinIntervalVal>-1</delayRequestMinIntervalVal>
</PtpIf-list>
</if-items>
</ptp-items>
<intf-items>
<phys-items>
<PhysIf-list>
<id>eth1/3</id>
</PhysIf-list>
<PhysIf-list>
<id>eth1/2</id>
</PhysIf-list>
</phys-items>
</intf-items>
</System>
Note: This example was added in Release 9.3(5).
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
interface ethernet 1/2-3
no ptp delay-request minimum interval aes67 -1
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO | DN |
---|---|
topSystem | sys |
ptpPtpEntity | sys/ptp |
ptpPtpIf | sys/ptp/if-[eth1/3] |
ptpPtpIf | sys/ptp/if-[eth1/2] |
interfaceEntity | sys/intf |
l1PhysIf | sys/intf/phys-[eth1/3] |
l1PhysIf | sys/intf/phys-[eth1/2] |
ptpPtpIf Properties
The following table contains information about the ptpPtpIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
delayRequestMinIntervalType | ptp:TimeCode (scalar:Enum8) | PTP delay-request minimum interval time code | SELECTION: 1 - none 2 - aes67 3 - smpte-2059-2 DEFAULT: none |
delayRequestMinIntervalVal | scalar:Sint16 | PTP delay-request minimum interval value | -1 to 6 when type is none -4 to 5 when type is aes67 -4 to 5 when type is smpte-2059-2 |
id | nw:IfId (base:IfIndex) | Interface id of port with PTP configuration | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
ptpPtpIf Properties
The following table contains information about the ptpPtpIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
delayRequestMinIntervalType | ptp:TimeCode (scalar:Enum8) | PTP delay-request minimum interval time code | SELECTION: 1 - none 2 - aes67 3 - smpte-2059-2 DEFAULT: none |
delayRequestMinIntervalVal | scalar:Sint16 | PTP delay-request minimum interval value | -1 to 6 when type is none -4 to 5 when type is aes67 -4 to 5 when type is smpte-2059-2 |
id | nw:IfId (base:IfIndex) | Interface id of port with PTP configuration | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
l1PhysIf Properties
The following table contains information about the l1PhysIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | An identifier . | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
l1PhysIf Properties
The following table contains information about the l1PhysIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | An identifier . | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
Configuring the PTP Delay Request Minimum Interval as SMPTE-2059-2
Configuring the PTP Delay Request Minimum Interval as SMPTE-2059-2
POST http://<mgmt0_IP>/api/mo/sys.json
{
"topSystem": {
"children": [
{
"ptpPtpEntity": {
"children": [
{
"ptpPtpIf": {
"attributes": {
"delayRequestMinIntervalType": "smpte-2059-2",
"delayRequestMinIntervalVal": "-4",
"id": "eth1/3"
}
}
},
{
"ptpPtpIf": {
"attributes": {
"delayRequestMinIntervalType": "smpte-2059-2",
"delayRequestMinIntervalVal": "-4",
"id": "eth1/2"
}
}
}
]
}
},
{
"interfaceEntity": {
"children": [
{
"l1PhysIf": {
"attributes": {
"id": "eth1/3"
}
}
},
{
"l1PhysIf": {
"attributes": {
"id": "eth1/2"
}
}
}
]
}
}
]
}
}
{
imdata:[]
}
<System>
<ptp-items>
<if-items>
<PtpIf-list>
<id>eth1/3</id>
<delayRequestMinIntervalType>smpte-2059-2</delayRequestMinIntervalType>
<delayRequestMinIntervalVal>-4</delayRequestMinIntervalVal>
</PtpIf-list>
<PtpIf-list>
<id>eth1/2</id>
<delayRequestMinIntervalType>smpte-2059-2</delayRequestMinIntervalType>
<delayRequestMinIntervalVal>-4</delayRequestMinIntervalVal>
</PtpIf-list>
</if-items>
</ptp-items>
<intf-items>
<phys-items>
<PhysIf-list>
<id>eth1/3</id>
</PhysIf-list>
<PhysIf-list>
<id>eth1/2</id>
</PhysIf-list>
</phys-items>
</intf-items>
</System>
Note: This example was added in Release 9.3(5).
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
interface ethernet 1/2-3
ptp delay-request minimum interval smpte-2059-2 -4
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO | DN |
---|---|
topSystem | sys |
ptpPtpEntity | sys/ptp |
ptpPtpIf | sys/ptp/if-[eth1/3] |
ptpPtpIf | sys/ptp/if-[eth1/2] |
interfaceEntity | sys/intf |
l1PhysIf | sys/intf/phys-[eth1/3] |
l1PhysIf | sys/intf/phys-[eth1/2] |
ptpPtpIf Properties
The following table contains information about the ptpPtpIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
delayRequestMinIntervalType | ptp:TimeCode (scalar:Enum8) | PTP delay-request minimum interval time code | SELECTION: 1 - none 2 - aes67 3 - smpte-2059-2 DEFAULT: none |
delayRequestMinIntervalVal | scalar:Sint16 | PTP delay-request minimum interval value | -1 to 6 when type is none -4 to 5 when type is aes67 -4 to 5 when type is smpte-2059-2 |
id | nw:IfId (base:IfIndex) | Interface id of port with PTP configuration | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
ptpPtpIf Properties
The following table contains information about the ptpPtpIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
delayRequestMinIntervalType | ptp:TimeCode (scalar:Enum8) | PTP delay-request minimum interval time code | SELECTION: 1 - none 2 - aes67 3 - smpte-2059-2 DEFAULT: none |
delayRequestMinIntervalVal | scalar:Sint16 | PTP delay-request minimum interval value | -1 to 6 when type is none -4 to 5 when type is aes67 -4 to 5 when type is smpte-2059-2 |
id | nw:IfId (base:IfIndex) | Interface id of port with PTP configuration | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
l1PhysIf Properties
The following table contains information about the l1PhysIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | An identifier . | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
l1PhysIf Properties
The following table contains information about the l1PhysIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | An identifier . | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
Deleting the PTP Delay Request Minimum Interval as SMPTE-2059-2
Deleting the PTP Delay Request Minimum Interval as SMPTE-2059-2
POST http://<mgmt0_IP>/api/mo/sys.json
{
"topSystem": {
"children": [
{
"ptpPtpEntity": {
"children": [
{
"ptpPtpIf": {
"attributes": {
"delayRequestMinIntervalType": "none",
"delayRequestMinIntervalVal": "0",
"id": "eth1/3"
}
}
},
{
"ptpPtpIf": {
"attributes": {
"delayRequestMinIntervalType": "none",
"delayRequestMinIntervalVal": "0",
"id": "eth1/2"
}
}
}
]
}
},
{
"interfaceEntity": {
"children": [
{
"l1PhysIf": {
"attributes": {
"id": "eth1/3"
}
}
},
{
"l1PhysIf": {
"attributes": {
"id": "eth1/2"
}
}
}
]
}
}
]
}
}
{
imdata:[]
}
<System>
<ptp-items>
<if-items>
<PtpIf-list>
<id>eth1/3</id>
<delayRequestMinIntervalType>none</delayRequestMinIntervalType>
<delayRequestMinIntervalVal>0</delayRequestMinIntervalVal>
</PtpIf-list>
<PtpIf-list>
<id>eth1/2</id>
<delayRequestMinIntervalType>none</delayRequestMinIntervalType>
<delayRequestMinIntervalVal>0</delayRequestMinIntervalVal>
</PtpIf-list>
</if-items>
</ptp-items>
<intf-items>
<phys-items>
<PhysIf-list>
<id>eth1/3</id>
</PhysIf-list>
<PhysIf-list>
<id>eth1/2</id>
</PhysIf-list>
</phys-items>
</intf-items>
</System>
Note: This example was added in Release 9.3(5).
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
interface ethernet 1/2-3
no ptp delay-request minimum interval smpte-2059-2 -4
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO | DN |
---|---|
topSystem | sys |
ptpPtpEntity | sys/ptp |
ptpPtpIf | sys/ptp/if-[eth1/3] |
ptpPtpIf | sys/ptp/if-[eth1/2] |
interfaceEntity | sys/intf |
l1PhysIf | sys/intf/phys-[eth1/3] |
l1PhysIf | sys/intf/phys-[eth1/2] |
ptpPtpIf Properties
The following table contains information about the ptpPtpIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
delayRequestMinIntervalType | ptp:TimeCode (scalar:Enum8) | PTP delay-request minimum interval time code | SELECTION: 1 - none 2 - aes67 3 - smpte-2059-2 DEFAULT: none |
delayRequestMinIntervalVal | scalar:Sint16 | PTP delay-request minimum interval value | -1 to 6 when type is none -4 to 5 when type is aes67 -4 to 5 when type is smpte-2059-2 |
id | nw:IfId (base:IfIndex) | Interface id of port with PTP configuration | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
ptpPtpIf Properties
The following table contains information about the ptpPtpIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
delayRequestMinIntervalType | ptp:TimeCode (scalar:Enum8) | PTP delay-request minimum interval time code | SELECTION: 1 - none 2 - aes67 3 - smpte-2059-2 DEFAULT: none |
delayRequestMinIntervalVal | scalar:Sint16 | PTP delay-request minimum interval value | -1 to 6 when type is none -4 to 5 when type is aes67 -4 to 5 when type is smpte-2059-2 |
id | nw:IfId (base:IfIndex) | Interface id of port with PTP configuration | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
l1PhysIf Properties
The following table contains information about the l1PhysIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | An identifier . | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
l1PhysIf Properties
The following table contains information about the l1PhysIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | An identifier . | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
Configuring the PTP Announce Timeout
Configuring the PTP Announce Timeout
POST http://<mgmt0_IP>/api/mo/sys.json
{
"topSystem": {
"children": [
{
"ptpPtpEntity": {
"children": [
{
"ptpPtpIf": {
"attributes": {
"announceTimeoutType": "none",
"announceTimeoutVal": "2",
"id": "eth1/3"
}
}
},
{
"ptpPtpIf": {
"attributes": {
"announceTimeoutType": "none",
"announceTimeoutVal": "2",
"id": "eth1/2"
}
}
}
]
}
},
{
"interfaceEntity": {
"children": [
{
"l1PhysIf": {
"attributes": {
"id": "eth1/3"
}
}
},
{
"l1PhysIf": {
"attributes": {
"id": "eth1/2"
}
}
}
]
}
}
]
}
}
{
imdata:[]
}
<System>
<ptp-items>
<if-items>
<PtpIf-list>
<id>eth1/3</id>
<announceTimeoutType>none</announceTimeoutType>
<announceTimeoutVal>2</announceTimeoutVal>
</PtpIf-list>
<PtpIf-list>
<id>eth1/2</id>
<announceTimeoutType>none</announceTimeoutType>
<announceTimeoutVal>2</announceTimeoutVal>
</PtpIf-list>
</if-items>
</ptp-items>
<intf-items>
<phys-items>
<PhysIf-list>
<id>eth1/3</id>
</PhysIf-list>
<PhysIf-list>
<id>eth1/2</id>
</PhysIf-list>
</phys-items>
</intf-items>
</System>
Note: This example was added in Release 9.3(5).
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
interface ethernet 1/2-3
no ptp announce timeout 1
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO | DN |
---|---|
topSystem | sys |
ptpPtpEntity | sys/ptp |
ptpPtpIf | sys/ptp/if-[eth1/3] |
ptpPtpIf | sys/ptp/if-[eth1/2] |
interfaceEntity | sys/intf |
l1PhysIf | sys/intf/phys-[eth1/3] |
l1PhysIf | sys/intf/phys-[eth1/2] |
ptpPtpIf Properties
The following table contains information about the ptpPtpIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
announceTimeoutType | ptp:TimeCode (scalar:Enum8) | PTP announce timeout time code | SELECTION: 1 - none 2 - aes67 3 - smpte-2059-2 DEFAULT: none |
announceTimeoutVal | scalar:Sint16 | PTP announce timeout value | RANGE: 2 to 4 when type is none (2 to 10 for 3500 platform) 2 to 10 when type is aes67 2 to 10 when type is smpte-2059-2 DEFAULT: 3 |
id | nw:IfId (base:IfIndex) | Interface id of port with PTP configuration | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
ptpPtpIf Properties
The following table contains information about the ptpPtpIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
announceTimeoutType | ptp:TimeCode (scalar:Enum8) | PTP announce timeout time code | SELECTION: 1 - none 2 - aes67 3 - smpte-2059-2 DEFAULT: none |
announceTimeoutVal | scalar:Sint16 | PTP announce timeout value | RANGE: 2 to 4 when type is none (2 to 10 for 3500 platform) 2 to 10 when type is aes67 2 to 10 when type is smpte-2059-2 DEFAULT: 3 |
id | nw:IfId (base:IfIndex) | Interface id of port with PTP configuration | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
l1PhysIf Properties
The following table contains information about the l1PhysIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | An identifier . | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
l1PhysIf Properties
The following table contains information about the l1PhysIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | An identifier . | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
Deleting the PTP Announce Timeout
Deleting the PTP Announce Timeout
POST http://<mgmt0_IP>/api/mo/sys.json
{
"topSystem": {
"children": [
{
"ptpPtpEntity": {
"children": [
{
"ptpPtpIf": {
"attributes": {
"announceTimeoutType": "none",
"announceTimeoutVal": "3",
"id": "eth1/3"
}
}
},
{
"ptpPtpIf": {
"attributes": {
"announceTimeoutType": "none",
"announceTimeoutVal": "3",
"id": "eth1/2"
}
}
}
]
}
},
{
"interfaceEntity": {
"children": [
{
"l1PhysIf": {
"attributes": {
"id": "eth1/3"
}
}
},
{
"l1PhysIf": {
"attributes": {
"id": "eth1/2"
}
}
}
]
}
}
]
}
}
{
imdata:[]
}
<System>
<ptp-items>
<if-items>
<PtpIf-list>
<id>eth1/3</id>
<announceTimeoutType>none</announceTimeoutType>
<announceTimeoutVal>3</announceTimeoutVal>
</PtpIf-list>
<PtpIf-list>
<id>eth1/2</id>
<announceTimeoutType>none</announceTimeoutType>
<announceTimeoutVal>3</announceTimeoutVal>
</PtpIf-list>
</if-items>
</ptp-items>
<intf-items>
<phys-items>
<PhysIf-list>
<id>eth1/3</id>
</PhysIf-list>
<PhysIf-list>
<id>eth1/2</id>
</PhysIf-list>
</phys-items>
</intf-items>
</System>
Note: This example was added in Release 9.3(5).
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
interface ethernet 1/2-3
no ptp announce timeout 1
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO | DN |
---|---|
topSystem | sys |
ptpPtpEntity | sys/ptp |
ptpPtpIf | sys/ptp/if-[eth1/3] |
ptpPtpIf | sys/ptp/if-[eth1/2] |
interfaceEntity | sys/intf |
l1PhysIf | sys/intf/phys-[eth1/3] |
l1PhysIf | sys/intf/phys-[eth1/2] |
ptpPtpIf Properties
The following table contains information about the ptpPtpIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
announceTimeoutType | ptp:TimeCode (scalar:Enum8) | PTP announce timeout time code | SELECTION: 1 - none 2 - aes67 3 - smpte-2059-2 DEFAULT: none |
announceTimeoutVal | scalar:Sint16 | PTP announce timeout value | RANGE: 2 to 4 when type is none (2 to 10 for 3500 platform) 2 to 10 when type is aes67 2 to 10 when type is smpte-2059-2 DEFAULT: 3 |
id | nw:IfId (base:IfIndex) | Interface id of port with PTP configuration | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
ptpPtpIf Properties
The following table contains information about the ptpPtpIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
announceTimeoutType | ptp:TimeCode (scalar:Enum8) | PTP announce timeout time code | SELECTION: 1 - none 2 - aes67 3 - smpte-2059-2 DEFAULT: none |
announceTimeoutVal | scalar:Sint16 | PTP announce timeout value | RANGE: 2 to 4 when type is none (2 to 10 for 3500 platform) 2 to 10 when type is aes67 2 to 10 when type is smpte-2059-2 DEFAULT: 3 |
id | nw:IfId (base:IfIndex) | Interface id of port with PTP configuration | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
l1PhysIf Properties
The following table contains information about the l1PhysIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | An identifier . | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
l1PhysIf Properties
The following table contains information about the l1PhysIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | An identifier . | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
Configuring the PTP Announce Timeout as AES67-2015
Configuring the PTP Announce Timeout as AES67-2015
POST http://<mgmt0_IP>/api/mo/sys.json
{
"topSystem": {
"children": [
{
"ptpPtpEntity": {
"children": [
{
"ptpPtpIf": {
"attributes": {
"announceTimeoutType": "aes67",
"announceTimeoutVal": "3",
"id": "eth1/3"
}
}
},
{
"ptpPtpIf": {
"attributes": {
"announceTimeoutType": "aes67",
"announceTimeoutVal": "3",
"id": "eth1/2"
}
}
}
]
}
},
{
"interfaceEntity": {
"children": [
{
"l1PhysIf": {
"attributes": {
"id": "eth1/3"
}
}
},
{
"l1PhysIf": {
"attributes": {
"id": "eth1/2"
}
}
}
]
}
}
]
}
}
{
imdata:[]
}
<System>
<ptp-items>
<if-items>
<PtpIf-list>
<id>eth1/3</id>
<announceTimeoutType>aes67</announceTimeoutType>
<announceTimeoutVal>3</announceTimeoutVal>
</PtpIf-list>
<PtpIf-list>
<id>eth1/2</id>
<announceTimeoutType>aes67</announceTimeoutType>
<announceTimeoutVal>3</announceTimeoutVal>
</PtpIf-list>
</if-items>
</ptp-items>
<intf-items>
<phys-items>
<PhysIf-list>
<id>eth1/3</id>
</PhysIf-list>
<PhysIf-list>
<id>eth1/2</id>
</PhysIf-list>
</phys-items>
</intf-items>
</System>
Note: This example was added in Release 9.3(5).
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
interface ethernet 1/2-3
ptp announce timeout aes67 3
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO | DN |
---|---|
topSystem | sys |
ptpPtpEntity | sys/ptp |
ptpPtpIf | sys/ptp/if-[eth1/3] |
ptpPtpIf | sys/ptp/if-[eth1/2] |
interfaceEntity | sys/intf |
l1PhysIf | sys/intf/phys-[eth1/3] |
l1PhysIf | sys/intf/phys-[eth1/2] |
ptpPtpIf Properties
The following table contains information about the ptpPtpIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
announceTimeoutType | ptp:TimeCode (scalar:Enum8) | PTP announce timeout time code | SELECTION: 1 - none 2 - aes67 3 - smpte-2059-2 DEFAULT: none |
announceTimeoutVal | scalar:Sint16 | PTP announce timeout value | RANGE: 2 to 4 when type is none (2 to 10 for 3500 platform) 2 to 10 when type is aes67 2 to 10 when type is smpte-2059-2 DEFAULT: 3 |
id | nw:IfId (base:IfIndex) | Interface id of port with PTP configuration | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
ptpPtpIf Properties
The following table contains information about the ptpPtpIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
announceTimeoutType | ptp:TimeCode (scalar:Enum8) | PTP announce timeout time code | SELECTION: 1 - none 2 - aes67 3 - smpte-2059-2 DEFAULT: none |
announceTimeoutVal | scalar:Sint16 | PTP announce timeout value | RANGE: 2 to 4 when type is none (2 to 10 for 3500 platform) 2 to 10 when type is aes67 2 to 10 when type is smpte-2059-2 DEFAULT: 3 |
id | nw:IfId (base:IfIndex) | Interface id of port with PTP configuration | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
l1PhysIf Properties
The following table contains information about the l1PhysIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | An identifier . | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
l1PhysIf Properties
The following table contains information about the l1PhysIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | An identifier . | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
Deleting the PTP Announce Timeout as AES67-2015
Deleting the PTP Announce Timeout as AES67-2015
POST http://<mgmt0_IP>/api/mo/sys.json
{
"topSystem": {
"children": [
{
"ptpPtpEntity": {
"children": [
{
"ptpPtpIf": {
"attributes": {
"announceTimeoutType": "none",
"announceTimeoutVal": "3",
"id": "eth1/3"
}
}
},
{
"ptpPtpIf": {
"attributes": {
"announceTimeoutType": "none",
"announceTimeoutVal": "3",
"id": "eth1/2"
}
}
}
]
}
},
{
"interfaceEntity": {
"children": [
{
"l1PhysIf": {
"attributes": {
"id": "eth1/3"
}
}
},
{
"l1PhysIf": {
"attributes": {
"id": "eth1/2"
}
}
}
]
}
}
]
}
}
{
imdata:[]
}
<System>
<ptp-items>
<if-items>
<PtpIf-list>
<id>eth1/3</id>
<announceTimeoutType>none</announceTimeoutType>
<announceTimeoutVal>3</announceTimeoutVal>
</PtpIf-list>
<PtpIf-list>
<id>eth1/2</id>
<announceTimeoutType>none</announceTimeoutType>
<announceTimeoutVal>3</announceTimeoutVal>
</PtpIf-list>
</if-items>
</ptp-items>
<intf-items>
<phys-items>
<PhysIf-list>
<id>eth1/3</id>
</PhysIf-list>
<PhysIf-list>
<id>eth1/2</id>
</PhysIf-list>
</phys-items>
</intf-items>
</System>
Note: This example was added in Release 9.3(5).
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
interface ethernet 1/2-3
no ptp announce timeout aes67 3
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO | DN |
---|---|
topSystem | sys |
ptpPtpEntity | sys/ptp |
ptpPtpIf | sys/ptp/if-[eth1/3] |
ptpPtpIf | sys/ptp/if-[eth1/2] |
interfaceEntity | sys/intf |
l1PhysIf | sys/intf/phys-[eth1/3] |
l1PhysIf | sys/intf/phys-[eth1/2] |
ptpPtpIf Properties
The following table contains information about the ptpPtpIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
announceTimeoutType | ptp:TimeCode (scalar:Enum8) | PTP announce timeout time code | SELECTION: 1 - none 2 - aes67 3 - smpte-2059-2 DEFAULT: none |
announceTimeoutVal | scalar:Sint16 | PTP announce timeout value | RANGE: 2 to 4 when type is none (2 to 10 for 3500 platform) 2 to 10 when type is aes67 2 to 10 when type is smpte-2059-2 DEFAULT: 3 |
id | nw:IfId (base:IfIndex) | Interface id of port with PTP configuration | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
ptpPtpIf Properties
The following table contains information about the ptpPtpIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
announceTimeoutType | ptp:TimeCode (scalar:Enum8) | PTP announce timeout time code | SELECTION: 1 - none 2 - aes67 3 - smpte-2059-2 DEFAULT: none |
announceTimeoutVal | scalar:Sint16 | PTP announce timeout value | RANGE: 2 to 4 when type is none (2 to 10 for 3500 platform) 2 to 10 when type is aes67 2 to 10 when type is smpte-2059-2 DEFAULT: 3 |
id | nw:IfId (base:IfIndex) | Interface id of port with PTP configuration | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
l1PhysIf Properties
The following table contains information about the l1PhysIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | An identifier . | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
l1PhysIf Properties
The following table contains information about the l1PhysIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | An identifier . | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
Configuring the PTP Announce Timeout as SMPTE-2059-2
Configuring the PTP Announce Timeout as SMPTE-2059-2
POST http://<mgmt0_IP>/api/mo/sys.json
{
"topSystem": {
"children": [
{
"ptpPtpEntity": {
"children": [
{
"ptpPtpIf": {
"attributes": {
"announceTimeoutType": "smpte-2059-2",
"announceTimeoutVal": "3",
"id": "eth1/3"
}
}
},
{
"ptpPtpIf": {
"attributes": {
"announceTimeoutType": "smpte-2059-2",
"announceTimeoutVal": "3",
"id": "eth1/2"
}
}
}
]
}
},
{
"interfaceEntity": {
"children": [
{
"l1PhysIf": {
"attributes": {
"id": "eth1/3"
}
}
},
{
"l1PhysIf": {
"attributes": {
"id": "eth1/2"
}
}
}
]
}
}
]
}
}
{
imdata:[]
}
<System>
<ptp-items>
<if-items>
<PtpIf-list>
<id>eth1/3</id>
<announceTimeoutType>smpte-2059-2</announceTimeoutType>
<announceTimeoutVal>3</announceTimeoutVal>
</PtpIf-list>
<PtpIf-list>
<id>eth1/2</id>
<announceTimeoutType>smpte-2059-2</announceTimeoutType>
<announceTimeoutVal>3</announceTimeoutVal>
</PtpIf-list>
</if-items>
</ptp-items>
<intf-items>
<phys-items>
<PhysIf-list>
<id>eth1/3</id>
</PhysIf-list>
<PhysIf-list>
<id>eth1/2</id>
</PhysIf-list>
</phys-items>
</intf-items>
</System>
Note: This example was added in Release 9.3(5).
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
interface ethernet 1/2-3
ptp announce timeout smpte-2059-2 3
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO | DN |
---|---|
topSystem | sys |
ptpPtpEntity | sys/ptp |
ptpPtpIf | sys/ptp/if-[eth1/3] |
ptpPtpIf | sys/ptp/if-[eth1/2] |
interfaceEntity | sys/intf |
l1PhysIf | sys/intf/phys-[eth1/3] |
l1PhysIf | sys/intf/phys-[eth1/2] |
ptpPtpIf Properties
The following table contains information about the ptpPtpIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
announceTimeoutType | ptp:TimeCode (scalar:Enum8) | PTP announce timeout time code | SELECTION: 1 - none 2 - aes67 3 - smpte-2059-2 DEFAULT: none |
announceTimeoutVal | scalar:Sint16 | PTP announce timeout value | RANGE: 2 to 4 when type is none (2 to 10 for 3500 platform) 2 to 10 when type is aes67 2 to 10 when type is smpte-2059-2 DEFAULT: 3 |
id | nw:IfId (base:IfIndex) | Interface id of port with PTP configuration | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
ptpPtpIf Properties
The following table contains information about the ptpPtpIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
announceTimeoutType | ptp:TimeCode (scalar:Enum8) | PTP announce timeout time code | SELECTION: 1 - none 2 - aes67 3 - smpte-2059-2 DEFAULT: none |
announceTimeoutVal | scalar:Sint16 | PTP announce timeout value | RANGE: 2 to 4 when type is none (2 to 10 for 3500 platform) 2 to 10 when type is aes67 2 to 10 when type is smpte-2059-2 DEFAULT: 3 |
id | nw:IfId (base:IfIndex) | Interface id of port with PTP configuration | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
l1PhysIf Properties
The following table contains information about the l1PhysIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | An identifier . | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
l1PhysIf Properties
The following table contains information about the l1PhysIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | An identifier . | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
Deleting the PTP Announce Timeout as SMPTE-2059-2
Deleting the PTP Announce Timeout as SMPTE-2059-2
POST http://<mgmt0_IP>/api/mo/sys.json
{
"topSystem": {
"children": [
{
"ptpPtpEntity": {
"children": [
{
"ptpPtpIf": {
"attributes": {
"announceTimeoutType": "none",
"announceTimeoutVal": "3",
"id": "eth1/3"
}
}
},
{
"ptpPtpIf": {
"attributes": {
"announceTimeoutType": "none",
"announceTimeoutVal": "3",
"id": "eth1/2"
}
}
}
]
}
},
{
"interfaceEntity": {
"children": [
{
"l1PhysIf": {
"attributes": {
"id": "eth1/3"
}
}
},
{
"l1PhysIf": {
"attributes": {
"id": "eth1/2"
}
}
}
]
}
}
]
}
}
{
imdata:[]
}
<System>
<ptp-items>
<if-items>
<PtpIf-list>
<id>eth1/3</id>
<announceTimeoutType>none</announceTimeoutType>
<announceTimeoutVal>3</announceTimeoutVal>
</PtpIf-list>
<PtpIf-list>
<id>eth1/2</id>
<announceTimeoutType>none</announceTimeoutType>
<announceTimeoutVal>3</announceTimeoutVal>
</PtpIf-list>
</if-items>
</ptp-items>
<intf-items>
<phys-items>
<PhysIf-list>
<id>eth1/3</id>
</PhysIf-list>
<PhysIf-list>
<id>eth1/2</id>
</PhysIf-list>
</phys-items>
</intf-items>
</System>
Note: This example was added in Release 9.3(5).
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
interface ethernet 1/2-3
no ptp announce timeout smpte-2059-2 3
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO | DN |
---|---|
topSystem | sys |
ptpPtpEntity | sys/ptp |
ptpPtpIf | sys/ptp/if-[eth1/3] |
ptpPtpIf | sys/ptp/if-[eth1/2] |
interfaceEntity | sys/intf |
l1PhysIf | sys/intf/phys-[eth1/3] |
l1PhysIf | sys/intf/phys-[eth1/2] |
ptpPtpIf Properties
The following table contains information about the ptpPtpIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
announceTimeoutType | ptp:TimeCode (scalar:Enum8) | PTP announce timeout time code | SELECTION: 1 - none 2 - aes67 3 - smpte-2059-2 DEFAULT: none |
announceTimeoutVal | scalar:Sint16 | PTP announce timeout value | RANGE: 2 to 4 when type is none (2 to 10 for 3500 platform) 2 to 10 when type is aes67 2 to 10 when type is smpte-2059-2 DEFAULT: 3 |
id | nw:IfId (base:IfIndex) | Interface id of port with PTP configuration | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
ptpPtpIf Properties
The following table contains information about the ptpPtpIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
announceTimeoutType | ptp:TimeCode (scalar:Enum8) | PTP announce timeout time code | SELECTION: 1 - none 2 - aes67 3 - smpte-2059-2 DEFAULT: none |
announceTimeoutVal | scalar:Sint16 | PTP announce timeout value | RANGE: 2 to 4 when type is none (2 to 10 for 3500 platform) 2 to 10 when type is aes67 2 to 10 when type is smpte-2059-2 DEFAULT: 3 |
id | nw:IfId (base:IfIndex) | Interface id of port with PTP configuration | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
l1PhysIf Properties
The following table contains information about the l1PhysIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | An identifier . | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
l1PhysIf Properties
The following table contains information about the l1PhysIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | An identifier . | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
Configuring PTP Announce Interval
Configuring PTP Announce Interval
POST http://<mgmt0_IP>/api/mo/sys.json
{
"topSystem": {
"children": [
{
"ptpPtpEntity": {
"children": [
{
"ptpPtpIf": {
"attributes": {
"announceIntervalType": "none",
"announceIntervalVal": "1",
"id": "eth1/3"
}
}
},
{
"ptpPtpIf": {
"attributes": {
"announceIntervalType": "none",
"announceIntervalVal": "1",
"id": "eth1/2"
}
}
}
]
}
},
{
"interfaceEntity": {
"children": [
{
"l1PhysIf": {
"attributes": {
"id": "eth1/3"
}
}
},
{
"l1PhysIf": {
"attributes": {
"id": "eth1/2"
}
}
}
]
}
}
]
}
}
{
imdata:[]
}
<System>
<ptp-items>
<if-items>
<PtpIf-list>
<id>eth1/3</id>
<announceIntervalType>none</announceIntervalType>
<announceIntervalVal>1</announceIntervalVal>
</PtpIf-list>
<PtpIf-list>
<id>eth1/2</id>
<announceIntervalType>none</announceIntervalType>
<announceIntervalVal>1</announceIntervalVal>
</PtpIf-list>
</if-items>
</ptp-items>
<intf-items>
<phys-items>
<PhysIf-list>
<id>eth1/3</id>
</PhysIf-list>
<PhysIf-list>
<id>eth1/2</id>
</PhysIf-list>
</phys-items>
</intf-items>
</System>
Note: This example was added in Release 9.3(5).
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
interface ethernet 1/2-3
ptp announce interval 1
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO | DN |
---|---|
topSystem | sys |
ptpPtpEntity | sys/ptp |
ptpPtpIf | sys/ptp/if-[eth1/3] |
ptpPtpIf | sys/ptp/if-[eth1/2] |
interfaceEntity | sys/intf |
l1PhysIf | sys/intf/phys-[eth1/3] |
l1PhysIf | sys/intf/phys-[eth1/2] |
ptpPtpIf Properties
The following table contains information about the ptpPtpIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
announceIntervalType | ptp:TimeCode (scalar:Enum8) | PTP announce interval time code | SELECTION: 1 - none 2 - aes67 3 - smpte-2059-2 DEFAULT: none |
announceIntervalVal | scalar:Sint16 | PTP announce interval value | 0 to 4 when type is none 0 to 4 when type is aes67 -3 to 1 when type is smpte-2059-2 DEFAULT: 1 |
id | nw:IfId (base:IfIndex) | Interface id of port with PTP configuration | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
ptpPtpIf Properties
The following table contains information about the ptpPtpIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
announceIntervalType | ptp:TimeCode (scalar:Enum8) | PTP announce interval time code | SELECTION: 1 - none 2 - aes67 3 - smpte-2059-2 DEFAULT: none |
announceIntervalVal | scalar:Sint16 | PTP announce interval value | 0 to 4 when type is none 0 to 4 when type is aes67 -3 to 1 when type is smpte-2059-2 DEFAULT: 1 |
id | nw:IfId (base:IfIndex) | Interface id of port with PTP configuration | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
l1PhysIf Properties
The following table contains information about the l1PhysIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | An identifier . | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
l1PhysIf Properties
The following table contains information about the l1PhysIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | An identifier . | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
Deleting PTP Announce Interval
Deleting PTP Announce Interval
POST http://<mgmt0_IP>/api/mo/sys.json
{
"topSystem": {
"children": [
{
"ptpPtpEntity": {
"children": [
{
"ptpPtpIf": {
"attributes": {
"announceIntervalType": "none",
"announceIntervalVal": "1",
"id": "eth1/3"
}
}
},
{
"ptpPtpIf": {
"attributes": {
"announceIntervalType": "none",
"announceIntervalVal": "1",
"id": "eth1/2"
}
}
}
]
}
},
{
"interfaceEntity": {
"children": [
{
"l1PhysIf": {
"attributes": {
"id": "eth1/3"
}
}
},
{
"l1PhysIf": {
"attributes": {
"id": "eth1/2"
}
}
}
]
}
}
]
}
}
{
imdata:[]
}
<System>
<ptp-items>
<if-items>
<PtpIf-list>
<id>eth1/3</id>
<announceIntervalType>none</announceIntervalType>
<announceIntervalVal>1</announceIntervalVal>
</PtpIf-list>
<PtpIf-list>
<id>eth1/2</id>
<announceIntervalType>none</announceIntervalType>
<announceIntervalVal>1</announceIntervalVal>
</PtpIf-list>
</if-items>
</ptp-items>
<intf-items>
<phys-items>
<PhysIf-list>
<id>eth1/3</id>
</PhysIf-list>
<PhysIf-list>
<id>eth1/2</id>
</PhysIf-list>
</phys-items>
</intf-items>
</System>
Note: This example was added in Release 9.3(5).
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
interface ethernet 1/2-3
no ptp announce interval 1
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO | DN |
---|---|
topSystem | sys |
ptpPtpEntity | sys/ptp |
ptpPtpIf | sys/ptp/if-[eth1/3] |
ptpPtpIf | sys/ptp/if-[eth1/2] |
interfaceEntity | sys/intf |
l1PhysIf | sys/intf/phys-[eth1/3] |
l1PhysIf | sys/intf/phys-[eth1/2] |
ptpPtpIf Properties
The following table contains information about the ptpPtpIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
announceIntervalType | ptp:TimeCode (scalar:Enum8) | PTP announce interval time code | SELECTION: 1 - none 2 - aes67 3 - smpte-2059-2 DEFAULT: none |
announceIntervalVal | scalar:Sint16 | PTP announce interval value | 0 to 4 when type is none 0 to 4 when type is aes67 -3 to 1 when type is smpte-2059-2 DEFAULT: 1 |
id | nw:IfId (base:IfIndex) | Interface id of port with PTP configuration | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
ptpPtpIf Properties
The following table contains information about the ptpPtpIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
announceIntervalType | ptp:TimeCode (scalar:Enum8) | PTP announce interval time code | SELECTION: 1 - none 2 - aes67 3 - smpte-2059-2 DEFAULT: none |
announceIntervalVal | scalar:Sint16 | PTP announce interval value | 0 to 4 when type is none 0 to 4 when type is aes67 -3 to 1 when type is smpte-2059-2 DEFAULT: 1 |
id | nw:IfId (base:IfIndex) | Interface id of port with PTP configuration | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
l1PhysIf Properties
The following table contains information about the l1PhysIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | An identifier . | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
l1PhysIf Properties
The following table contains information about the l1PhysIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | An identifier . | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
Configuring PTP Announce Interval as AES67
Configuring PTP Announce Interval as AES67
POST http://<mgmt0_IP>/api/mo/sys.json
{
"topSystem": {
"children": [
{
"ptpPtpEntity": {
"children": [
{
"ptpPtpIf": {
"attributes": {
"announceIntervalType": "aes67",
"announceIntervalVal": "1",
"id": "eth1/3"
}
}
},
{
"ptpPtpIf": {
"attributes": {
"announceIntervalType": "aes67",
"announceIntervalVal": "1",
"id": "eth1/2"
}
}
}
]
}
},
{
"interfaceEntity": {
"children": [
{
"l1PhysIf": {
"attributes": {
"id": "eth1/3"
}
}
},
{
"l1PhysIf": {
"attributes": {
"id": "eth1/2"
}
}
}
]
}
}
]
}
}
{
imdata:[]
}
<System>
<ptp-items>
<if-items>
<PtpIf-list>
<id>eth1/3</id>
<announceIntervalType>aes67</announceIntervalType>
<announceIntervalVal>1</announceIntervalVal>
</PtpIf-list>
<PtpIf-list>
<id>eth1/2</id>
<announceIntervalType>aes67</announceIntervalType>
<announceIntervalVal>1</announceIntervalVal>
</PtpIf-list>
</if-items>
</ptp-items>
<intf-items>
<phys-items>
<PhysIf-list>
<id>eth1/3</id>
</PhysIf-list>
<PhysIf-list>
<id>eth1/2</id>
</PhysIf-list>
</phys-items>
</intf-items>
</System>
Note: This example was added in Release 9.3(5).
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
interface ethernet 1/2-3
ptp announce interval aes67 1
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO | DN |
---|---|
topSystem | sys |
ptpPtpEntity | sys/ptp |
ptpPtpIf | sys/ptp/if-[eth1/3] |
ptpPtpIf | sys/ptp/if-[eth1/2] |
interfaceEntity | sys/intf |
l1PhysIf | sys/intf/phys-[eth1/3] |
l1PhysIf | sys/intf/phys-[eth1/2] |
ptpPtpIf Properties
The following table contains information about the ptpPtpIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
announceIntervalType | ptp:TimeCode (scalar:Enum8) | PTP announce interval time code | SELECTION: 1 - none 2 - aes67 3 - smpte-2059-2 DEFAULT: none |
announceIntervalVal | scalar:Sint16 | PTP announce interval value | 0 to 4 when type is none 0 to 4 when type is aes67 -3 to 1 when type is smpte-2059-2 DEFAULT: 1 |
id | nw:IfId (base:IfIndex) | Interface id of port with PTP configuration | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
ptpPtpIf Properties
The following table contains information about the ptpPtpIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
announceIntervalType | ptp:TimeCode (scalar:Enum8) | PTP announce interval time code | SELECTION: 1 - none 2 - aes67 3 - smpte-2059-2 DEFAULT: none |
announceIntervalVal | scalar:Sint16 | PTP announce interval value | 0 to 4 when type is none 0 to 4 when type is aes67 -3 to 1 when type is smpte-2059-2 DEFAULT: 1 |
id | nw:IfId (base:IfIndex) | Interface id of port with PTP configuration | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
l1PhysIf Properties
The following table contains information about the l1PhysIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | An identifier . | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
l1PhysIf Properties
The following table contains information about the l1PhysIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | An identifier . | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
Deleting PTP Announce Interval as AES67
Deleting PTP Announce Interval as AES67
POST http://<mgmt0_IP>/api/mo/sys.json
{
"topSystem": {
"children": [
{
"ptpPtpEntity": {
"children": [
{
"ptpPtpIf": {
"attributes": {
"announceIntervalType": "none",
"announceIntervalVal": "1",
"id": "eth1/3"
}
}
},
{
"ptpPtpIf": {
"attributes": {
"announceIntervalType": "none",
"announceIntervalVal": "1",
"id": "eth1/2"
}
}
}
]
}
},
{
"interfaceEntity": {
"children": [
{
"l1PhysIf": {
"attributes": {
"id": "eth1/3"
}
}
},
{
"l1PhysIf": {
"attributes": {
"id": "eth1/2"
}
}
}
]
}
}
]
}
}
{
imdata:[]
}
<System>
<ptp-items>
<if-items>
<PtpIf-list>
<id>eth1/3</id>
<announceIntervalType>none</announceIntervalType>
<announceIntervalVal>1</announceIntervalVal>
</PtpIf-list>
<PtpIf-list>
<id>eth1/2</id>
<announceIntervalType>none</announceIntervalType>
<announceIntervalVal>1</announceIntervalVal>
</PtpIf-list>
</if-items>
</ptp-items>
<intf-items>
<phys-items>
<PhysIf-list>
<id>eth1/3</id>
</PhysIf-list>
<PhysIf-list>
<id>eth1/2</id>
</PhysIf-list>
</phys-items>
</intf-items>
</System>
Note: This example was added in Release 9.3(5).
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
interface ethernet 1/2-3
no ptp announce interval aes67 1
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO | DN |
---|---|
topSystem | sys |
ptpPtpEntity | sys/ptp |
ptpPtpIf | sys/ptp/if-[eth1/3] |
ptpPtpIf | sys/ptp/if-[eth1/2] |
interfaceEntity | sys/intf |
l1PhysIf | sys/intf/phys-[eth1/3] |
l1PhysIf | sys/intf/phys-[eth1/2] |
ptpPtpIf Properties
The following table contains information about the ptpPtpIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
announceIntervalType | ptp:TimeCode (scalar:Enum8) | PTP announce interval time code | SELECTION: 1 - none 2 - aes67 3 - smpte-2059-2 DEFAULT: none |
announceIntervalVal | scalar:Sint16 | PTP announce interval value | 0 to 4 when type is none 0 to 4 when type is aes67 -3 to 1 when type is smpte-2059-2 DEFAULT: 1 |
id | nw:IfId (base:IfIndex) | Interface id of port with PTP configuration | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
ptpPtpIf Properties
The following table contains information about the ptpPtpIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
announceIntervalType | ptp:TimeCode (scalar:Enum8) | PTP announce interval time code | SELECTION: 1 - none 2 - aes67 3 - smpte-2059-2 DEFAULT: none |
announceIntervalVal | scalar:Sint16 | PTP announce interval value | 0 to 4 when type is none 0 to 4 when type is aes67 -3 to 1 when type is smpte-2059-2 DEFAULT: 1 |
id | nw:IfId (base:IfIndex) | Interface id of port with PTP configuration | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
l1PhysIf Properties
The following table contains information about the l1PhysIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | An identifier . | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
l1PhysIf Properties
The following table contains information about the l1PhysIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | An identifier . | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
Configuring PTP Announce Interval as SMPTE-2059-2
Configuring PTP Announce Interval as SMPTE-2059-2
POST http://<mgmt0_IP>/api/mo/sys.json
{
"topSystem": {
"children": [
{
"ptpPtpEntity": {
"children": [
{
"ptpPtpIf": {
"attributes": {
"announceIntervalType": "smpte-2059-2",
"announceIntervalVal": "-3",
"id": "eth1/3"
}
}
},
{
"ptpPtpIf": {
"attributes": {
"announceIntervalType": "smpte-2059-2",
"announceIntervalVal": "-3",
"id": "eth1/2"
}
}
}
]
}
},
{
"interfaceEntity": {
"children": [
{
"l1PhysIf": {
"attributes": {
"id": "eth1/3"
}
}
},
{
"l1PhysIf": {
"attributes": {
"id": "eth1/2"
}
}
}
]
}
}
]
}
}
{
imdata:[]
}
<System>
<ptp-items>
<if-items>
<PtpIf-list>
<id>eth1/3</id>
<announceIntervalType>smpte-2059-2</announceIntervalType>
<announceIntervalVal>-3</announceIntervalVal>
</PtpIf-list>
<PtpIf-list>
<id>eth1/2</id>
<announceIntervalType>smpte-2059-2</announceIntervalType>
<announceIntervalVal>-3</announceIntervalVal>
</PtpIf-list>
</if-items>
</ptp-items>
<intf-items>
<phys-items>
<PhysIf-list>
<id>eth1/3</id>
</PhysIf-list>
<PhysIf-list>
<id>eth1/2</id>
</PhysIf-list>
</phys-items>
</intf-items>
</System>
Note: This example was added in Release 9.3(5).
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
interface ethernet 1/2-3
ptp announce interval smpte-2059-2 -3
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO | DN |
---|---|
topSystem | sys |
ptpPtpEntity | sys/ptp |
ptpPtpIf | sys/ptp/if-[eth1/3] |
ptpPtpIf | sys/ptp/if-[eth1/2] |
interfaceEntity | sys/intf |
l1PhysIf | sys/intf/phys-[eth1/3] |
l1PhysIf | sys/intf/phys-[eth1/2] |
ptpPtpIf Properties
The following table contains information about the ptpPtpIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
announceIntervalType | ptp:TimeCode (scalar:Enum8) | PTP announce interval time code | SELECTION: 1 - none 2 - aes67 3 - smpte-2059-2 DEFAULT: none |
announceIntervalVal | scalar:Sint16 | PTP announce interval value | 0 to 4 when type is none 0 to 4 when type is aes67 -3 to 1 when type is smpte-2059-2 DEFAULT: 1 |
id | nw:IfId (base:IfIndex) | Interface id of port with PTP configuration | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
ptpPtpIf Properties
The following table contains information about the ptpPtpIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
announceIntervalType | ptp:TimeCode (scalar:Enum8) | PTP announce interval time code | SELECTION: 1 - none 2 - aes67 3 - smpte-2059-2 DEFAULT: none |
announceIntervalVal | scalar:Sint16 | PTP announce interval value | 0 to 4 when type is none 0 to 4 when type is aes67 -3 to 1 when type is smpte-2059-2 DEFAULT: 1 |
id | nw:IfId (base:IfIndex) | Interface id of port with PTP configuration | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
l1PhysIf Properties
The following table contains information about the l1PhysIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | An identifier . | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
l1PhysIf Properties
The following table contains information about the l1PhysIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | An identifier . | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
Deleting PTP Announce Interval as SMPTE-2059-2
Deleting PTP Announce Interval as SMPTE-2059-2
POST http://<mgmt0_IP>/api/mo/sys.json
{
"topSystem": {
"children": [
{
"ptpPtpEntity": {
"children": [
{
"ptpPtpIf": {
"attributes": {
"announceIntervalType": "none",
"announceIntervalVal": "1",
"id": "eth1/3"
}
}
},
{
"ptpPtpIf": {
"attributes": {
"announceIntervalType": "none",
"announceIntervalVal": "1",
"id": "eth1/2"
}
}
}
]
}
},
{
"interfaceEntity": {
"children": [
{
"l1PhysIf": {
"attributes": {
"id": "eth1/3"
}
}
},
{
"l1PhysIf": {
"attributes": {
"id": "eth1/2"
}
}
}
]
}
}
]
}
}
{
imdata:[]
}
<System>
<ptp-items>
<if-items>
<PtpIf-list>
<id>eth1/3</id>
<announceIntervalType>none</announceIntervalType>
<announceIntervalVal>1</announceIntervalVal>
</PtpIf-list>
<PtpIf-list>
<id>eth1/2</id>
<announceIntervalType>none</announceIntervalType>
<announceIntervalVal>1</announceIntervalVal>
</PtpIf-list>
</if-items>
</ptp-items>
<intf-items>
<phys-items>
<PhysIf-list>
<id>eth1/3</id>
</PhysIf-list>
<PhysIf-list>
<id>eth1/2</id>
</PhysIf-list>
</phys-items>
</intf-items>
</System>
Note: This example was added in Release 9.3(5).
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
interface ethernet 1/2-3
no ptp announce interval smpte-2059-2 -3
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO | DN |
---|---|
topSystem | sys |
ptpPtpEntity | sys/ptp |
ptpPtpIf | sys/ptp/if-[eth1/3] |
ptpPtpIf | sys/ptp/if-[eth1/2] |
interfaceEntity | sys/intf |
l1PhysIf | sys/intf/phys-[eth1/3] |
l1PhysIf | sys/intf/phys-[eth1/2] |
ptpPtpIf Properties
The following table contains information about the ptpPtpIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
announceIntervalType | ptp:TimeCode (scalar:Enum8) | PTP announce interval time code | SELECTION: 1 - none 2 - aes67 3 - smpte-2059-2 DEFAULT: none |
announceIntervalVal | scalar:Sint16 | PTP announce interval value | 0 to 4 when type is none 0 to 4 when type is aes67 -3 to 1 when type is smpte-2059-2 DEFAULT: 1 |
id | nw:IfId (base:IfIndex) | Interface id of port with PTP configuration | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
ptpPtpIf Properties
The following table contains information about the ptpPtpIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
announceIntervalType | ptp:TimeCode (scalar:Enum8) | PTP announce interval time code | SELECTION: 1 - none 2 - aes67 3 - smpte-2059-2 DEFAULT: none |
announceIntervalVal | scalar:Sint16 | PTP announce interval value | 0 to 4 when type is none 0 to 4 when type is aes67 -3 to 1 when type is smpte-2059-2 DEFAULT: 1 |
id | nw:IfId (base:IfIndex) | Interface id of port with PTP configuration | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
l1PhysIf Properties
The following table contains information about the l1PhysIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | An identifier . | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
l1PhysIf Properties
The following table contains information about the l1PhysIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | An identifier . | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
Configuring PTP Unicast Master
Configuring PTP Unicast Master
POST http://<mgmt0_IP>/api/mo/sys.json
{
"topSystem": {
"children": [
{
"ptpPtpEntity": {
"children": [
{
"ptpPtpIf": {
"attributes": {
"id": "eth1/3"
},
"children": [
{
"ptpUcastTransportIpMaster": {
"attributes": {
"id": "1.2.3.5"
}
}
}
]
}
},
{
"ptpPtpIf": {
"attributes": {
"id": "eth1/2"
},
"children": [
{
"ptpUcastTransportIpMaster": {
"attributes": {
"id": "1.2.3.4"
}
}
}
]
}
}
]
}
},
{
"interfaceEntity": {
"children": [
{
"l1PhysIf": {
"attributes": {
"id": "eth1/3"
}
}
},
{
"l1PhysIf": {
"attributes": {
"id": "eth1/2"
}
}
}
]
}
}
]
}
}
{
imdata:[]
}
<System>
<ptp-items>
<if-items>
<PtpIf-list>
<id>eth1/3</id>
<master-items>
<UcastTransportIpMaster-list>
<id>1.2.3.5</id>
</UcastTransportIpMaster-list>
</master-items>
</PtpIf-list>
<PtpIf-list>
<id>eth1/2</id>
<master-items>
<UcastTransportIpMaster-list>
<id>1.2.3.4</id>
</UcastTransportIpMaster-list>
</master-items>
</PtpIf-list>
</if-items>
</ptp-items>
<intf-items>
<phys-items>
<PhysIf-list>
<id>eth1/3</id>
</PhysIf-list>
<PhysIf-list>
<id>eth1/2</id>
</PhysIf-list>
</phys-items>
</intf-items>
</System>
Note: This example was added in Release 9.3(5).
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
interface ethernet 1/2
ptp master 1.2.3.4
interface ethernet 1/3
ptp master 1.2.3.5
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO | DN |
---|---|
topSystem | sys |
ptpPtpEntity | sys/ptp |
ptpPtpIf | sys/ptp/if-[eth1/3] |
ptpUcastTransportIpMaster | sys/ptp/if-[eth1/3]/master-[1.2.3.5] |
ptpPtpIf | sys/ptp/if-[eth1/2] |
ptpUcastTransportIpMaster | sys/ptp/if-[eth1/2]/master-[1.2.3.4] |
interfaceEntity | sys/intf |
l1PhysIf | sys/intf/phys-[eth1/3] |
l1PhysIf | sys/intf/phys-[eth1/2] |
ptpPtpIf Properties
The following table contains information about the ptpPtpIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | Interface id of port with PTP configuration | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
ptpUcastTransportIpMaster Properties
The following table contains information about the ptpUcastTransportIpMaster properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | address:Ip | IP address value for transport mode | Value must match ipv4 or ipv6 known format |
ptpPtpIf Properties
The following table contains information about the ptpPtpIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | Interface id of port with PTP configuration | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
ptpUcastTransportIpMaster Properties
The following table contains information about the ptpUcastTransportIpMaster properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | address:Ip | IP address value for transport mode | Value must match ipv4 or ipv6 known format |
l1PhysIf Properties
The following table contains information about the l1PhysIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | An identifier . | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
l1PhysIf Properties
The following table contains information about the l1PhysIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | An identifier . | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
Deleting PTP Unicast Master
Deleting PTP Unicast Master
POST http://<mgmt0_IP>/api/mo/sys.json
{
"topSystem": {
"children": [
{
"ptpPtpEntity": {
"children": [
{
"ptpPtpIf": {
"attributes": {
"id": "eth1/3"
},
"children": [
{
"ptpUcastTransportIpMaster": {
"attributes": {
"id": "1.2.3.5",
"status": "deleted"
}
}
}
]
}
},
{
"ptpPtpIf": {
"attributes": {
"id": "eth1/2"
},
"children": [
{
"ptpUcastTransportIpMaster": {
"attributes": {
"id": "1.2.3.4",
"status": "deleted"
}
}
}
]
}
}
]
}
},
{
"interfaceEntity": {
"children": [
{
"l1PhysIf": {
"attributes": {
"id": "eth1/3"
}
}
},
{
"l1PhysIf": {
"attributes": {
"id": "eth1/2"
}
}
}
]
}
}
]
}
}
{
imdata:[]
}
<System>
<ptp-items>
<if-items>
<PtpIf-list>
<id>eth1/3</id>
<master-items>
<UcastTransportIpMaster-list nc:operation="delete">
<id>1.2.3.5</id>
</UcastTransportIpMaster-list>
</master-items>
</PtpIf-list>
<PtpIf-list>
<id>eth1/2</id>
<master-items>
<UcastTransportIpMaster-list nc:operation="delete">
<id>1.2.3.4</id>
</UcastTransportIpMaster-list>
</master-items>
</PtpIf-list>
</if-items>
</ptp-items>
<intf-items>
<phys-items>
<PhysIf-list>
<id>eth1/3</id>
</PhysIf-list>
<PhysIf-list>
<id>eth1/2</id>
</PhysIf-list>
</phys-items>
</intf-items>
</System>
Note: This example was added in Release 9.3(5).
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
interface ethernet 1/2
no ptp master 1.2.3.4
interface ethernet 1/3
no ptp master 1.2.3.5
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO | DN |
---|---|
topSystem | sys |
ptpPtpEntity | sys/ptp |
ptpPtpIf | sys/ptp/if-[eth1/3] |
ptpUcastTransportIpMaster | sys/ptp/if-[eth1/3]/master-[1.2.3.5] |
ptpPtpIf | sys/ptp/if-[eth1/2] |
ptpUcastTransportIpMaster | sys/ptp/if-[eth1/2]/master-[1.2.3.4] |
interfaceEntity | sys/intf |
l1PhysIf | sys/intf/phys-[eth1/3] |
l1PhysIf | sys/intf/phys-[eth1/2] |
ptpPtpIf Properties
The following table contains information about the ptpPtpIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | Interface id of port with PTP configuration | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
ptpUcastTransportIpMaster Properties
The following table contains information about the ptpUcastTransportIpMaster properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | address:Ip | IP address value for transport mode | Value must match ipv4 or ipv6 known format |
status | mo:ModificationStatus (scalar:Bitmask32) | The upgrade status. This property is for internal use only. | SELECTION: 2 - created 4 - modified 8 - deleted 16 - replaced |
ptpPtpIf Properties
The following table contains information about the ptpPtpIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | Interface id of port with PTP configuration | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
ptpUcastTransportIpMaster Properties
The following table contains information about the ptpUcastTransportIpMaster properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | address:Ip | IP address value for transport mode | Value must match ipv4 or ipv6 known format |
status | mo:ModificationStatus (scalar:Bitmask32) | The upgrade status. This property is for internal use only. | SELECTION: 2 - created 4 - modified 8 - deleted 16 - replaced |
l1PhysIf Properties
The following table contains information about the l1PhysIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | An identifier . | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
l1PhysIf Properties
The following table contains information about the l1PhysIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | An identifier . | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
Configuring a Dynamic PTP Role
Configuring a Dynamic PTP Role
POST http://<mgmt0_IP>/api/mo/sys.json
{
"topSystem": {
"children": [
{
"ptpPtpEntity": {
"children": [
{
"ptpPtpIf": {
"attributes": {
"id": "eth1/3",
"role": "dynamic"
}
}
},
{
"ptpPtpIf": {
"attributes": {
"id": "eth1/2",
"role": "dynamic"
}
}
}
]
}
},
{
"interfaceEntity": {
"children": [
{
"l1PhysIf": {
"attributes": {
"id": "eth1/3"
}
}
},
{
"l1PhysIf": {
"attributes": {
"id": "eth1/2"
}
}
}
]
}
}
]
}
}
{
imdata:[]
}
<System>
<ptp-items>
<if-items>
<PtpIf-list>
<id>eth1/3</id>
<role>dynamic</role>
</PtpIf-list>
<PtpIf-list>
<id>eth1/2</id>
<role>dynamic</role>
</PtpIf-list>
</if-items>
</ptp-items>
<intf-items>
<phys-items>
<PhysIf-list>
<id>eth1/3</id>
</PhysIf-list>
<PhysIf-list>
<id>eth1/2</id>
</PhysIf-list>
</phys-items>
</intf-items>
</System>
Note: This example was added in Release 9.3(5).
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
interface ethernet 1/2-3
ptp role dynamic
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO | DN |
---|---|
topSystem | sys |
ptpPtpEntity | sys/ptp |
ptpPtpIf | sys/ptp/if-[eth1/3] |
ptpPtpIf | sys/ptp/if-[eth1/2] |
interfaceEntity | sys/intf |
l1PhysIf | sys/intf/phys-[eth1/3] |
l1PhysIf | sys/intf/phys-[eth1/2] |
ptpPtpIf Properties
The following table contains information about the ptpPtpIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | Interface id of port with PTP configuration | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
role | ptp:TransmissionRole (scalar:Enum8) | Transport role for PTP interface with default master | SELECTION: 1 - master 2 - slave 3 - dynamic DEFAULT: dynamic |
ptpPtpIf Properties
The following table contains information about the ptpPtpIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | Interface id of port with PTP configuration | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
role | ptp:TransmissionRole (scalar:Enum8) | Transport role for PTP interface with default master | SELECTION: 1 - master 2 - slave 3 - dynamic DEFAULT: dynamic |
l1PhysIf Properties
The following table contains information about the l1PhysIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | An identifier . | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
l1PhysIf Properties
The following table contains information about the l1PhysIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | An identifier . | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
Configuring a Master-Only Role
Configuring a Master-Only Role
POST http://<mgmt0_IP>/api/mo/sys.json
{
"topSystem": {
"children": [
{
"ptpPtpEntity": {
"children": [
{
"ptpPtpIf": {
"attributes": {
"id": "eth1/3",
"role": "master"
}
}
},
{
"ptpPtpIf": {
"attributes": {
"id": "eth1/2",
"role": "master"
}
}
}
]
}
},
{
"interfaceEntity": {
"children": [
{
"l1PhysIf": {
"attributes": {
"id": "eth1/3"
}
}
},
{
"l1PhysIf": {
"attributes": {
"id": "eth1/2"
}
}
}
]
}
}
]
}
}
{
imdata:[]
}
<System>
<ptp-items>
<if-items>
<PtpIf-list>
<id>eth1/3</id>
<role>master</role>
</PtpIf-list>
<PtpIf-list>
<id>eth1/2</id>
<role>master</role>
</PtpIf-list>
</if-items>
</ptp-items>
<intf-items>
<phys-items>
<PhysIf-list>
<id>eth1/3</id>
</PhysIf-list>
<PhysIf-list>
<id>eth1/2</id>
</PhysIf-list>
</phys-items>
</intf-items>
</System>
Note: This example was added in Release 9.3(5).
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
interface ethernet 1/2-3
ptp role master
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO | DN |
---|---|
topSystem | sys |
ptpPtpEntity | sys/ptp |
ptpPtpIf | sys/ptp/if-[eth1/3] |
ptpPtpIf | sys/ptp/if-[eth1/2] |
interfaceEntity | sys/intf |
l1PhysIf | sys/intf/phys-[eth1/3] |
l1PhysIf | sys/intf/phys-[eth1/2] |
ptpPtpIf Properties
The following table contains information about the ptpPtpIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | Interface id of port with PTP configuration | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
role | ptp:TransmissionRole (scalar:Enum8) | Transport role for PTP interface with default master | SELECTION: 1 - master 2 - slave 3 - dynamic DEFAULT: dynamic |
ptpPtpIf Properties
The following table contains information about the ptpPtpIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | Interface id of port with PTP configuration | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
role | ptp:TransmissionRole (scalar:Enum8) | Transport role for PTP interface with default master | SELECTION: 1 - master 2 - slave 3 - dynamic DEFAULT: dynamic |
l1PhysIf Properties
The following table contains information about the l1PhysIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | An identifier . | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
l1PhysIf Properties
The following table contains information about the l1PhysIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | An identifier . | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
Configuring PTP Unicast Slave
Configuring PTP Unicast Slave
POST http://<mgmt0_IP>/api/mo/sys.json
{
"topSystem": {
"children": [
{
"ptpPtpEntity": {
"children": [
{
"ptpPtpIf": {
"attributes": {
"id": "eth1/3"
},
"children": [
{
"ptpUcastTransportIpSlave": {
"attributes": {
"id": "1.2.3.5"
}
}
}
]
}
},
{
"ptpPtpIf": {
"attributes": {
"id": "eth1/2"
},
"children": [
{
"ptpUcastTransportIpSlave": {
"attributes": {
"id": "1.2.3.4"
}
}
}
]
}
}
]
}
},
{
"interfaceEntity": {
"children": [
{
"l1PhysIf": {
"attributes": {
"id": "eth1/3"
}
}
},
{
"l1PhysIf": {
"attributes": {
"id": "eth1/2"
}
}
}
]
}
}
]
}
}
{
imdata:[]
}
<System>
<ptp-items>
<if-items>
<PtpIf-list>
<id>eth1/3</id>
<slave-items>
<UcastTransportIpSlave-list>
<id>1.2.3.5</id>
</UcastTransportIpSlave-list>
</slave-items>
</PtpIf-list>
<PtpIf-list>
<id>eth1/2</id>
<slave-items>
<UcastTransportIpSlave-list>
<id>1.2.3.4</id>
</UcastTransportIpSlave-list>
</slave-items>
</PtpIf-list>
</if-items>
</ptp-items>
<intf-items>
<phys-items>
<PhysIf-list>
<id>eth1/3</id>
</PhysIf-list>
<PhysIf-list>
<id>eth1/2</id>
</PhysIf-list>
</phys-items>
</intf-items>
</System>
Note: This example was added in Release 9.3(5).
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
interface ethernet 1/2
ptp slave 1.2.3.4
interface ethernet 1/3
ptp slave 1.2.3.5
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO | DN |
---|---|
topSystem | sys |
ptpPtpEntity | sys/ptp |
ptpPtpIf | sys/ptp/if-[eth1/3] |
ptpUcastTransportIpSlave | sys/ptp/if-[eth1/3]/slave-[1.2.3.5] |
ptpPtpIf | sys/ptp/if-[eth1/2] |
ptpUcastTransportIpSlave | sys/ptp/if-[eth1/2]/slave-[1.2.3.4] |
interfaceEntity | sys/intf |
l1PhysIf | sys/intf/phys-[eth1/3] |
l1PhysIf | sys/intf/phys-[eth1/2] |
ptpPtpIf Properties
The following table contains information about the ptpPtpIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | Interface id of port with PTP configuration | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
ptpUcastTransportIpSlave Properties
The following table contains information about the ptpUcastTransportIpSlave properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | address:Ip | IP address value for transport mode | Value must match ipv4 or ipv6 known format |
ptpPtpIf Properties
The following table contains information about the ptpPtpIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | Interface id of port with PTP configuration | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
ptpUcastTransportIpSlave Properties
The following table contains information about the ptpUcastTransportIpSlave properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | address:Ip | IP address value for transport mode | Value must match ipv4 or ipv6 known format |
l1PhysIf Properties
The following table contains information about the l1PhysIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | An identifier . | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
l1PhysIf Properties
The following table contains information about the l1PhysIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | An identifier . | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
Deleting PTP Unicast Slave
Deleting PTP Unicast Slave
POST http://<mgmt0_IP>/api/mo/sys.json
{
"topSystem": {
"children": [
{
"ptpPtpEntity": {
"children": [
{
"ptpPtpIf": {
"attributes": {
"id": "eth1/3"
},
"children": [
{
"ptpUcastTransportIpSlave": {
"attributes": {
"id": "1.2.3.5",
"status": "deleted"
}
}
}
]
}
},
{
"ptpPtpIf": {
"attributes": {
"id": "eth1/2"
},
"children": [
{
"ptpUcastTransportIpSlave": {
"attributes": {
"id": "1.2.3.4",
"status": "deleted"
}
}
}
]
}
}
]
}
},
{
"interfaceEntity": {
"children": [
{
"l1PhysIf": {
"attributes": {
"id": "eth1/3"
}
}
},
{
"l1PhysIf": {
"attributes": {
"id": "eth1/2"
}
}
}
]
}
}
]
}
}
{
imdata:[]
}
<System>
<ptp-items>
<if-items>
<PtpIf-list>
<id>eth1/3</id>
<slave-items>
<UcastTransportIpSlave-list nc:operation="delete">
<id>1.2.3.5</id>
</UcastTransportIpSlave-list>
</slave-items>
</PtpIf-list>
<PtpIf-list>
<id>eth1/2</id>
<slave-items>
<UcastTransportIpSlave-list nc:operation="delete">
<id>1.2.3.4</id>
</UcastTransportIpSlave-list>
</slave-items>
</PtpIf-list>
</if-items>
</ptp-items>
<intf-items>
<phys-items>
<PhysIf-list>
<id>eth1/3</id>
</PhysIf-list>
<PhysIf-list>
<id>eth1/2</id>
</PhysIf-list>
</phys-items>
</intf-items>
</System>
Note: This example was added in Release 9.3(5).
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
interface ethernet 1/2
no ptp slave 1.2.3.4
interface ethernet 1/3
no ptp slave 1.2.3.5
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO | DN |
---|---|
topSystem | sys |
ptpPtpEntity | sys/ptp |
ptpPtpIf | sys/ptp/if-[eth1/3] |
ptpUcastTransportIpSlave | sys/ptp/if-[eth1/3]/slave-[1.2.3.5] |
ptpPtpIf | sys/ptp/if-[eth1/2] |
ptpUcastTransportIpSlave | sys/ptp/if-[eth1/2]/slave-[1.2.3.4] |
interfaceEntity | sys/intf |
l1PhysIf | sys/intf/phys-[eth1/3] |
l1PhysIf | sys/intf/phys-[eth1/2] |
ptpPtpIf Properties
The following table contains information about the ptpPtpIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | Interface id of port with PTP configuration | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
ptpUcastTransportIpSlave Properties
The following table contains information about the ptpUcastTransportIpSlave properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | address:Ip | IP address value for transport mode | Value must match ipv4 or ipv6 known format |
status | mo:ModificationStatus (scalar:Bitmask32) | The upgrade status. This property is for internal use only. | SELECTION: 2 - created 4 - modified 8 - deleted 16 - replaced |
ptpPtpIf Properties
The following table contains information about the ptpPtpIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | Interface id of port with PTP configuration | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
ptpUcastTransportIpSlave Properties
The following table contains information about the ptpUcastTransportIpSlave properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | address:Ip | IP address value for transport mode | Value must match ipv4 or ipv6 known format |
status | mo:ModificationStatus (scalar:Bitmask32) | The upgrade status. This property is for internal use only. | SELECTION: 2 - created 4 - modified 8 - deleted 16 - replaced |
l1PhysIf Properties
The following table contains information about the l1PhysIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | An identifier . | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
l1PhysIf Properties
The following table contains information about the l1PhysIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | An identifier . | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
Configuring the Cost Associated With the Interface
Configuring the Cost Associated With the Interface
POST http://<mgmt0_IP>/api/mo/sys.json
{
"topSystem": {
"children": [
{
"ptpPtpEntity": {
"children": [
{
"ptpPtpIf": {
"attributes": {
"id": "eth1/3",
"ptpCost": "1"
}
}
},
{
"ptpPtpIf": {
"attributes": {
"id": "eth1/2",
"ptpCost": "1"
}
}
}
]
}
},
{
"interfaceEntity": {
"children": [
{
"l1PhysIf": {
"attributes": {
"id": "eth1/3"
}
}
},
{
"l1PhysIf": {
"attributes": {
"id": "eth1/2"
}
}
}
]
}
}
]
}
}
{
imdata:[]
}
<System>
<ptp-items>
<if-items>
<PtpIf-list>
<id>eth1/3</id>
<ptpCost>1</ptpCost>
</PtpIf-list>
<PtpIf-list>
<id>eth1/2</id>
<ptpCost>1</ptpCost>
</PtpIf-list>
</if-items>
</ptp-items>
<intf-items>
<phys-items>
<PhysIf-list>
<id>eth1/3</id>
</PhysIf-list>
<PhysIf-list>
<id>eth1/2</id>
</PhysIf-list>
</phys-items>
</intf-items>
</System>
Note:
- Supported on N3K-C3548P-XL and N9K-C93180YC-FX3S platforms with PTP telecom profile 8275.1.
- This example was added in Release 9.3(5)
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
interface ethernet 1/2-3
ptp cost 1
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO | DN |
---|---|
topSystem | sys |
ptpPtpEntity | sys/ptp |
ptpPtpIf | sys/ptp/if-[eth1/3] |
ptpPtpIf | sys/ptp/if-[eth1/2] |
interfaceEntity | sys/intf |
l1PhysIf | sys/intf/phys-[eth1/3] |
l1PhysIf | sys/intf/phys-[eth1/2] |
ptpPtpIf Properties
The following table contains information about the ptpPtpIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | Interface id of port with PTP configuration | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
ptpCost | scalar:Uint16 | PTP cost value in interface | RANGE: [0 , 255] The default value depends on the profile: for 8275-1, the default is 128. Otherwise, the default is 255. |
ptpPtpIf Properties
The following table contains information about the ptpPtpIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | Interface id of port with PTP configuration | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
ptpCost | scalar:Uint16 | PTP cost value in interface | RANGE: [0 , 255] The default value depends on the profile: for 8275-1, the default is 128. Otherwise, the default is 255. |
l1PhysIf Properties
The following table contains information about the l1PhysIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | An identifier . | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
l1PhysIf Properties
The following table contains information about the l1PhysIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | An identifier . | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
Deleting the Cost Associated With the Interface
Deleting the Cost Associated With the Interface
POST http://<mgmt0_IP>/api/mo/sys.json
{
"topSystem": {
"children": [
{
"ptpPtpEntity": {
"children": [
{
"ptpPtpIf": {
"attributes": {
"id": "eth1/3",
"ptpCost": "128"
}
}
},
{
"ptpPtpIf": {
"attributes": {
"id": "eth1/2",
"ptpCost": "128"
}
}
}
]
}
},
{
"interfaceEntity": {
"children": [
{
"l1PhysIf": {
"attributes": {
"id": "eth1/3"
}
}
},
{
"l1PhysIf": {
"attributes": {
"id": "eth1/2"
}
}
}
]
}
}
]
}
}
{
imdata:[]
}
<System>
<ptp-items>
<if-items>
<PtpIf-list>
<id>eth1/3</id>
<ptpCost>128</ptpCost>
</PtpIf-list>
<PtpIf-list>
<id>eth1/2</id>
<ptpCost>128</ptpCost>
</PtpIf-list>
</if-items>
</ptp-items>
<intf-items>
<phys-items>
<PhysIf-list>
<id>eth1/3</id>
</PhysIf-list>
<PhysIf-list>
<id>eth1/2</id>
</PhysIf-list>
</phys-items>
</intf-items>
</System>
Note:
- Supported on N3K-C3548P-XL and N9K-C93180YC-FX3S platforms with PTP telecom profile 8275.1.
- This example was added in Release 9.3(5)
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
interface ethernet 1/2-3
no ptp cost 1
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO | DN |
---|---|
topSystem | sys |
ptpPtpEntity | sys/ptp |
ptpPtpIf | sys/ptp/if-[eth1/3] |
ptpPtpIf | sys/ptp/if-[eth1/2] |
interfaceEntity | sys/intf |
l1PhysIf | sys/intf/phys-[eth1/3] |
l1PhysIf | sys/intf/phys-[eth1/2] |
ptpPtpIf Properties
The following table contains information about the ptpPtpIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | Interface id of port with PTP configuration | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
ptpCost | scalar:Uint16 | PTP cost value in interface | RANGE: [0 , 255] The default value depends on the profile: for 8275-1, the default is 128. Otherwise, the default is 255. |
ptpPtpIf Properties
The following table contains information about the ptpPtpIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | Interface id of port with PTP configuration | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
ptpCost | scalar:Uint16 | PTP cost value in interface | RANGE: [0 , 255] DEFAULT: 255 |
l1PhysIf Properties
The following table contains information about the l1PhysIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | An identifier . | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
l1PhysIf Properties
The following table contains information about the l1PhysIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | An identifier . | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
Configuring PTP Clock Domain
Configuring PTP Clock Domain
POST http://<mgmt0_IP>/api/mo/sys.json
{
"topSystem": {
"children": [
{
"ptpPtpEntity": {
"attributes": {
"domainNum": "1"
}
}
},
{
"interfaceEntity": {
"children": [
{
"l1PhysIf": {
"attributes": {
"id": "eth1/3"
}
}
},
{
"l1PhysIf": {
"attributes": {
"id": "eth1/2"
}
}
}
]
}
}
]
}
}
{
imdata:[]
}
<System>
<ptp-items>
<domainNum>1</domainNum>
</ptp-items>
<intf-items>
<phys-items>
<PhysIf-list>
<id>eth1/3</id>
</PhysIf-list>
<PhysIf-list>
<id>eth1/2</id>
</PhysIf-list>
</phys-items>
</intf-items>
</System>
Note:
- This is supported only on Cisco Nexus 3500 Series switches
- This example was added in Release 9.3(5).
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
interface ethernet 1/2-3
ptp domain 1
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO | DN |
---|---|
topSystem | sys |
ptpPtpEntity | sys/ptp |
interfaceEntity | sys/intf |
l1PhysIf | sys/intf/phys-[eth1/3] |
l1PhysIf | sys/intf/phys-[eth1/2] |
ptpPtpEntity Properties
The following table contains information about the ptpPtpEntity properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
domainNum | scalar:Uint32 | PTP Clock Domain number to use for this clock | RANGE: [0 , 127] DEFAULT: 0 |
l1PhysIf Properties
The following table contains information about the l1PhysIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | An identifier . | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
l1PhysIf Properties
The following table contains information about the l1PhysIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | An identifier . | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
Deleting PTP Clock Domain
Deleting PTP Clock Domain
POST http://<mgmt0_IP>/api/mo/sys.json
{
"topSystem": {
"children": [
{
"ptpPtpEntity": {
"attributes": {
"domainNum": "0"
}
}
},
{
"interfaceEntity": {
"children": [
{
"l1PhysIf": {
"attributes": {
"id": "eth1/3"
}
}
},
{
"l1PhysIf": {
"attributes": {
"id": "eth1/2"
}
}
}
]
}
}
]
}
}
{
imdata:[]
}
<System>
<ptp-items>
<domainNum>0</domainNum>
</ptp-items>
<intf-items>
<phys-items>
<PhysIf-list>
<id>eth1/3</id>
</PhysIf-list>
<PhysIf-list>
<id>eth1/2</id>
</PhysIf-list>
</phys-items>
</intf-items>
</System>
Note:
- This is supported only on Cisco Nexus 3500 Series switches
- This example was added in Release 9.3(5).
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
interface ethernet 1/2-3
no ptp domain 1
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO | DN |
---|---|
topSystem | sys |
ptpPtpEntity | sys/ptp |
interfaceEntity | sys/intf |
l1PhysIf | sys/intf/phys-[eth1/3] |
l1PhysIf | sys/intf/phys-[eth1/2] |
ptpPtpEntity Properties
The following table contains information about the ptpPtpEntity properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
domainNum | scalar:Uint32 | PTP Clock Domain number to use for this clock | RANGE: [0 , 127] DEFAULT: 0 |
l1PhysIf Properties
The following table contains information about the l1PhysIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | An identifier . | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
l1PhysIf Properties
The following table contains information about the l1PhysIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | An identifier . | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
Configuring GPTP Propagation Delay Threshold
Configuring GPTP Propagation Delay Threshold
POST http://<mgmt0_IP>/api/mo/sys.json
{
"topSystem": {
"children": [
{
"ptpPtpEntity": {
"children": [
{
"ptpPtpIf": {
"attributes": {
"id": "eth1/3",
"neighborPropagationDelayThreshold": "519691"
}
}
},
{
"ptpPtpIf": {
"attributes": {
"id": "eth1/2",
"neighborPropagationDelayThreshold": "519691"
}
}
}
]
}
},
{
"interfaceEntity": {
"children": [
{
"l1PhysIf": {
"attributes": {
"id": "eth1/3"
}
}
},
{
"l1PhysIf": {
"attributes": {
"id": "eth1/2"
}
}
}
]
}
}
]
}
}
{
imdata:[]
}
<System>
<ptp-items>
<if-items>
<PtpIf-list>
<id>eth1/3</id>
<neighborPropagationDelayThreshold>519691</neighborPropagationDelayThreshold>
</PtpIf-list>
<PtpIf-list>
<id>eth1/2</id>
<neighborPropagationDelayThreshold>519691</neighborPropagationDelayThreshold>
</PtpIf-list>
</if-items>
</ptp-items>
<intf-items>
<phys-items>
<PhysIf-list>
<id>eth1/3</id>
</PhysIf-list>
<PhysIf-list>
<id>eth1/2</id>
</PhysIf-list>
</phys-items>
</intf-items>
</System>
Note: This example was added in Release 9.3(5).
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
interface ethernet 1/2-3
ptp neighbor propagation-delay-threshold 519691
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO | DN |
---|---|
topSystem | sys |
ptpPtpEntity | sys/ptp |
ptpPtpIf | sys/ptp/if-[eth1/3] |
ptpPtpIf | sys/ptp/if-[eth1/2] |
interfaceEntity | sys/intf |
l1PhysIf | sys/intf/phys-[eth1/3] |
l1PhysIf | sys/intf/phys-[eth1/2] |
ptpPtpIf Properties
The following table contains information about the ptpPtpIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | Interface id of port with PTP configuration | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
neighborPropagationDelayThreshold | scalar:Uint32 | GPTP propagation delay threshold | RANGE: [5 , 2000000] DEFAULT: 1000000 |
ptpPtpIf Properties
The following table contains information about the ptpPtpIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | Interface id of port with PTP configuration | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
neighborPropagationDelayThreshold | scalar:Uint32 | GPTP propagation delay threshold | RANGE: [5 , 2000000] DEFAULT: 1000000 |
l1PhysIf Properties
The following table contains information about the l1PhysIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | An identifier . | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
l1PhysIf Properties
The following table contains information about the l1PhysIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | An identifier . | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
Deleting GPTP Propagation Delay Threshold
Deleting GPTP Propagation Delay Threshold
POST http://<mgmt0_IP>/api/mo/sys.json
{
"topSystem": {
"children": [
{
"ptpPtpEntity": {
"children": [
{
"ptpPtpIf": {
"attributes": {
"id": "eth1/3",
"neighborPropagationDelayThreshold": "1000000"
}
}
},
{
"ptpPtpIf": {
"attributes": {
"id": "eth1/2",
"neighborPropagationDelayThreshold": "1000000"
}
}
}
]
}
},
{
"interfaceEntity": {
"children": [
{
"l1PhysIf": {
"attributes": {
"id": "eth1/3"
}
}
},
{
"l1PhysIf": {
"attributes": {
"id": "eth1/2"
}
}
}
]
}
}
]
}
}
{
imdata:[]
}
<System>
<ptp-items>
<if-items>
<PtpIf-list>
<id>eth1/3</id>
<neighborPropagationDelayThreshold>1000000</neighborPropagationDelayThreshold>
</PtpIf-list>
<PtpIf-list>
<id>eth1/2</id>
<neighborPropagationDelayThreshold>1000000</neighborPropagationDelayThreshold>
</PtpIf-list>
</if-items>
</ptp-items>
<intf-items>
<phys-items>
<PhysIf-list>
<id>eth1/3</id>
</PhysIf-list>
<PhysIf-list>
<id>eth1/2</id>
</PhysIf-list>
</phys-items>
</intf-items>
</System>
Note: This example was added in Release 9.3(5).
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
interface ethernet 1/2-3
no ptp neighbor propagation-delay-threshold 519691
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO | DN |
---|---|
topSystem | sys |
ptpPtpEntity | sys/ptp |
ptpPtpIf | sys/ptp/if-[eth1/3] |
ptpPtpIf | sys/ptp/if-[eth1/2] |
interfaceEntity | sys/intf |
l1PhysIf | sys/intf/phys-[eth1/3] |
l1PhysIf | sys/intf/phys-[eth1/2] |
ptpPtpIf Properties
The following table contains information about the ptpPtpIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | Interface id of port with PTP configuration | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
neighborPropagationDelayThreshold | scalar:Uint32 | GPTP propagation delay threshold | RANGE: [5 , 2000000] DEFAULT: 1000000 |
ptpPtpIf Properties
The following table contains information about the ptpPtpIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | Interface id of port with PTP configuration | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
neighborPropagationDelayThreshold | scalar:Uint32 | GPTP propagation delay threshold | RANGE: [5 , 2000000] DEFAULT: 1000000 |
l1PhysIf Properties
The following table contains information about the l1PhysIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | An identifier . | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
l1PhysIf Properties
The following table contains information about the l1PhysIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | An identifier . | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
Configuring PTP VLAN
Configuring PTP VLAN
POST http://<mgmt0_IP>/api/mo/sys.json
{
"topSystem": {
"children": [
{
"ptpPtpEntity": {
"children": [
{
"ptpPtpIf": {
"attributes": {
"id": "eth1/3",
"vlan": "vlan-821"
}
}
},
{
"ptpPtpIf": {
"attributes": {
"id": "eth1/2",
"vlan": "vlan-821"
}
}
}
]
}
},
{
"interfaceEntity": {
"children": [
{
"l1PhysIf": {
"attributes": {
"id": "eth1/3"
}
}
},
{
"l1PhysIf": {
"attributes": {
"id": "eth1/2"
}
}
}
]
}
}
]
}
}
{
imdata:[]
}
<System>
<ptp-items>
<if-items>
<PtpIf-list>
<id>eth1/3</id>
<vlan>vlan-821</vlan>
</PtpIf-list>
<PtpIf-list>
<id>eth1/2</id>
<vlan>vlan-821</vlan>
</PtpIf-list>
</if-items>
</ptp-items>
<intf-items>
<phys-items>
<PhysIf-list>
<id>eth1/3</id>
</PhysIf-list>
<PhysIf-list>
<id>eth1/2</id>
</PhysIf-list>
</phys-items>
</intf-items>
</System>
Note: This example was added in Release 9.3(5).
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
interface ethernet 1/2-3
ptp vlan 821
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO | DN |
---|---|
topSystem | sys |
ptpPtpEntity | sys/ptp |
ptpPtpIf | sys/ptp/if-[eth1/3] |
ptpPtpIf | sys/ptp/if-[eth1/2] |
interfaceEntity | sys/intf |
l1PhysIf | sys/intf/phys-[eth1/3] |
l1PhysIf | sys/intf/phys-[eth1/2] |
ptpPtpIf Properties
The following table contains information about the ptpPtpIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | Interface id of port with PTP configuration | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
vlan | base:Encap | PTP VLAN id configuration | SELECTION: unknown, vlan-%d or vxlan-%d DEFAULT: vlan-1 |
ptpPtpIf Properties
The following table contains information about the ptpPtpIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | Interface id of port with PTP configuration | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
vlan | base:Encap | PTP VLAN id configuration | SELECTION: unknown, vlan-%d or vxlan-%d DEFAULT: vlan-1 |
l1PhysIf Properties
The following table contains information about the l1PhysIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | An identifier . | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
l1PhysIf Properties
The following table contains information about the l1PhysIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | An identifier . | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
Deleting PTP VLAN
Deleting PTP VLAN
POST http://<mgmt0_IP>/api/mo/sys.json
{
"topSystem": {
"children": [
{
"ptpPtpEntity": {
"children": [
{
"ptpPtpIf": {
"attributes": {
"id": "eth1/3",
"vlan": "vlan-1"
}
}
},
{
"ptpPtpIf": {
"attributes": {
"id": "eth1/2",
"vlan": "vlan-1"
}
}
}
]
}
},
{
"interfaceEntity": {
"children": [
{
"l1PhysIf": {
"attributes": {
"id": "eth1/3"
}
}
},
{
"l1PhysIf": {
"attributes": {
"id": "eth1/2"
}
}
}
]
}
}
]
}
}
{
imdata:[]
}
<System>
<ptp-items>
<if-items>
<PtpIf-list>
<id>eth1/3</id>
<vlan>vlan-1</vlan>
</PtpIf-list>
<PtpIf-list>
<id>eth1/2</id>
<vlan>vlan-1</vlan>
</PtpIf-list>
</if-items>
</ptp-items>
<intf-items>
<phys-items>
<PhysIf-list>
<id>eth1/3</id>
</PhysIf-list>
<PhysIf-list>
<id>eth1/2</id>
</PhysIf-list>
</phys-items>
</intf-items>
</System>
Note: This example was added in Release 9.3(5).
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
interface ethernet 1/2-3
no ptp vlan 821
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO | DN |
---|---|
topSystem | sys |
ptpPtpEntity | sys/ptp |
ptpPtpIf | sys/ptp/if-[eth1/3] |
ptpPtpIf | sys/ptp/if-[eth1/2] |
interfaceEntity | sys/intf |
l1PhysIf | sys/intf/phys-[eth1/3] |
l1PhysIf | sys/intf/phys-[eth1/2] |
ptpPtpIf Properties
The following table contains information about the ptpPtpIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | Interface id of port with PTP configuration | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
vlan | base:Encap | PTP VLAN id configuration | SELECTION: unknown, vlan-%d or vxlan-%d DEFAULT: vlan-1 |
ptpPtpIf Properties
The following table contains information about the ptpPtpIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | Interface id of port with PTP configuration | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
vlan | base:Encap | PTP VLAN id configuration | SELECTION: unknown, vlan-%d or vxlan-%d DEFAULT: vlan-1 |
l1PhysIf Properties
The following table contains information about the l1PhysIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | An identifier . | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
l1PhysIf Properties
The following table contains information about the l1PhysIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | An identifier . | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
Configuring Hardware TTAG Timestamp
Configuring Hardware TTAG Timestamp
POST http://<mgmt0_IP>/api/mo/sys.json
{
"topSystem": {
"children": [
{
"ttagTtagEntity": {
"children": [
{
"ttagTtagIf": {
"attributes": {
"id": "eth1/3",
"ttag": "yes"
}
}
},
{
"ttagTtagIf": {
"attributes": {
"id": "eth1/2",
"ttag": "yes"
}
}
}
]
}
},
{
"interfaceEntity": {
"children": [
{
"l1PhysIf": {
"attributes": {
"id": "eth1/3"
}
}
},
{
"l1PhysIf": {
"attributes": {
"id": "eth1/2"
}
}
}
]
}
}
]
}
}
{
imdata:[]
}
<System>
<ttag-items>
<if-items>
<TtagIf-list>
<id>eth1/3</id>
<ttag>true</ttag>
</TtagIf-list>
<TtagIf-list>
<id>eth1/2</id>
<ttag>true</ttag>
</TtagIf-list>
</if-items>
</ttag-items>
<intf-items>
<phys-items>
<PhysIf-list>
<id>eth1/3</id>
</PhysIf-list>
<PhysIf-list>
<id>eth1/2</id>
</PhysIf-list>
</phys-items>
</intf-items>
</System>
Note: This example was added in Release 9.3(5).
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
interface ethernet 1/2-3
ttag
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO | DN |
---|---|
topSystem | sys |
ttagTtagEntity | sys/ttag |
ttagTtagIf | sys/ttag/if-[eth1/3] |
ttagTtagIf | sys/ttag/if-[eth1/2] |
interfaceEntity | sys/intf |
l1PhysIf | sys/intf/phys-[eth1/3] |
l1PhysIf | sys/intf/phys-[eth1/2] |
ttagTtagIf Properties
The following table contains information about the ttagTtagIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | Interface id of port with PTP configuration | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
ttag | scalar:Bool | Ingress packet with ttag on interface | SELECTION: true or false DEFAULT: false |
ttagTtagIf Properties
The following table contains information about the ttagTtagIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | Interface id of port with PTP configuration | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
ttag | scalar:Bool | Ingress packet with ttag on interface | SELECTION: true or false DEFAULT: false |
l1PhysIf Properties
The following table contains information about the l1PhysIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | An identifier . | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
l1PhysIf Properties
The following table contains information about the l1PhysIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | An identifier . | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
Deleting Hardware TTAG Timestamp
Deleting Hardware TTAG Timestamp
POST http://<mgmt0_IP>/api/mo/sys.json
{
"topSystem": {
"children": [
{
"ttagTtagEntity": {
"children": [
{
"ttagTtagIf": {
"attributes": {
"id": "eth1/3",
"ttag": "no"
}
}
},
{
"ttagTtagIf": {
"attributes": {
"id": "eth1/2",
"ttag": "no"
}
}
}
]
}
},
{
"interfaceEntity": {
"children": [
{
"l1PhysIf": {
"attributes": {
"id": "eth1/3"
}
}
},
{
"l1PhysIf": {
"attributes": {
"id": "eth1/2"
}
}
}
]
}
}
]
}
}
{
imdata:[]
}
<System>
<ttag-items>
<if-items>
<TtagIf-list>
<id>eth1/3</id>
<ttag>false</ttag>
</TtagIf-list>
<TtagIf-list>
<id>eth1/2</id>
<ttag>false</ttag>
</TtagIf-list>
</if-items>
</ttag-items>
<intf-items>
<phys-items>
<PhysIf-list>
<id>eth1/3</id>
</PhysIf-list>
<PhysIf-list>
<id>eth1/2</id>
</PhysIf-list>
</phys-items>
</intf-items>
</System>
Note: This example was added in Release 9.3(5).
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
interface ethernet 1/2-3
no ttag
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO | DN |
---|---|
topSystem | sys |
ttagTtagEntity | sys/ttag |
ttagTtagIf | sys/ttag/if-[eth1/3] |
ttagTtagIf | sys/ttag/if-[eth1/2] |
interfaceEntity | sys/intf |
l1PhysIf | sys/intf/phys-[eth1/3] |
l1PhysIf | sys/intf/phys-[eth1/2] |
ttagTtagIf Properties
The following table contains information about the ttagTtagIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | Interface id of port with PTP configuration | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
ttag | scalar:Bool | Ingress packet with ttag on interface | SELECTION: true or false DEFAULT: false |
ttagTtagIf Properties
The following table contains information about the ttagTtagIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | Interface id of port with PTP configuration | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
ttag | scalar:Bool | Ingress packet with ttag on interface | SELECTION: true or false DEFAULT: false |
l1PhysIf Properties
The following table contains information about the l1PhysIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | An identifier . | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
l1PhysIf Properties
The following table contains information about the l1PhysIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | An identifier . | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
Configuring Strip TTAG From Egress Packet on This Interface
Configuring Strip TTAG From Egress Packet on This Interface
POST http://<mgmt0_IP>/api/mo/sys.json
{
"topSystem": {
"children": [
{
"ttagTtagEntity": {
"children": [
{
"ttagTtagIf": {
"attributes": {
"id": "eth1/3",
"ttagStrip": "yes"
}
}
},
{
"ttagTtagIf": {
"attributes": {
"id": "eth1/2",
"ttagStrip": "yes"
}
}
}
]
}
},
{
"interfaceEntity": {
"children": [
{
"l1PhysIf": {
"attributes": {
"id": "eth1/3"
}
}
},
{
"l1PhysIf": {
"attributes": {
"id": "eth1/2"
}
}
}
]
}
}
]
}
}
{
imdata:[]
}
<System>
<ttag-items>
<if-items>
<TtagIf-list>
<id>eth1/3</id>
<ttagStrip>true</ttagStrip>
</TtagIf-list>
<TtagIf-list>
<id>eth1/2</id>
<ttagStrip>true</ttagStrip>
</TtagIf-list>
</if-items>
</ttag-items>
<intf-items>
<phys-items>
<PhysIf-list>
<id>eth1/3</id>
</PhysIf-list>
<PhysIf-list>
<id>eth1/2</id>
</PhysIf-list>
</phys-items>
</intf-items>
</System>
Note: This example was added in Release 9.3(5).
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
interface ethernet 1/2-3
ttag-strip
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO | DN |
---|---|
topSystem | sys |
ttagTtagEntity | sys/ttag |
ttagTtagIf | sys/ttag/if-[eth1/3] |
ttagTtagIf | sys/ttag/if-[eth1/2] |
interfaceEntity | sys/intf |
l1PhysIf | sys/intf/phys-[eth1/3] |
l1PhysIf | sys/intf/phys-[eth1/2] |
ttagTtagIf Properties
The following table contains information about the ttagTtagIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | Interface id of port with PTP configuration | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
ttagStrip | scalar:Bool | Strip ttag from egress packet on this interface | SELECTION: true or false DEFAULT: false |
ttagTtagIf Properties
The following table contains information about the ttagTtagIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | Interface id of port with PTP configuration | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
ttagStrip | scalar:Bool | Strip ttag from egress packet on this interface | SELECTION: true or false DEFAULT: false |
l1PhysIf Properties
The following table contains information about the l1PhysIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | An identifier . | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
l1PhysIf Properties
The following table contains information about the l1PhysIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | An identifier . | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
Deleting Strip TTAG From Egress Packet on This Interface
Deleting Strip TTAG From Egress Packet on This Interface
POST http://<mgmt0_IP>/api/mo/sys.json
{
"topSystem": {
"children": [
{
"ttagTtagEntity": {
"children": [
{
"ttagTtagIf": {
"attributes": {
"id": "eth1/3",
"ttagStrip": "no"
}
}
},
{
"ttagTtagIf": {
"attributes": {
"id": "eth1/2",
"ttagStrip": "no"
}
}
}
]
}
},
{
"interfaceEntity": {
"children": [
{
"l1PhysIf": {
"attributes": {
"id": "eth1/3"
}
}
},
{
"l1PhysIf": {
"attributes": {
"id": "eth1/2"
}
}
}
]
}
}
]
}
}
{
imdata:[]
}
<System>
<ttag-items>
<if-items>
<TtagIf-list>
<id>eth1/3</id>
<ttagStrip>false</ttagStrip>
</TtagIf-list>
<TtagIf-list>
<id>eth1/2</id>
<ttagStrip>false</ttagStrip>
</TtagIf-list>
</if-items>
</ttag-items>
<intf-items>
<phys-items>
<PhysIf-list>
<id>eth1/3</id>
</PhysIf-list>
<PhysIf-list>
<id>eth1/2</id>
</PhysIf-list>
</phys-items>
</intf-items>
</System>
Note: This example was added in Release 9.3(5).
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
interface ethernet 1/2-3
no ttag-strip
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO | DN |
---|---|
topSystem | sys |
ttagTtagEntity | sys/ttag |
ttagTtagIf | sys/ttag/if-[eth1/3] |
ttagTtagIf | sys/ttag/if-[eth1/2] |
interfaceEntity | sys/intf |
l1PhysIf | sys/intf/phys-[eth1/3] |
l1PhysIf | sys/intf/phys-[eth1/2] |
ttagTtagIf Properties
The following table contains information about the ttagTtagIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | Interface id of port with PTP configuration | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
ttagStrip | scalar:Bool | Strip ttag from egress packet on this interface | SELECTION: true or false DEFAULT: false |
ttagTtagIf Properties
The following table contains information about the ttagTtagIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | Interface id of port with PTP configuration | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
ttagStrip | scalar:Bool | Strip ttag from egress packet on this interface | SELECTION: true or false DEFAULT: false |
l1PhysIf Properties
The following table contains information about the l1PhysIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | An identifier . | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
l1PhysIf Properties
The following table contains information about the l1PhysIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | An identifier . | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide: