Configuring Traffic Forwarding Modes

Configuring 4K Aligned Total IPv4 and MCAST Entries

Configuring 4K Aligned Total IPv4 and MCAST Entries
POST http://<mgmt0_IP>/api/mo/sys/pltfm.json
{
  "platformEntity": {
    "children": [
      {
        "platformForwardingMode": {
          "attributes": {
            "forwardingModeType": "normal",
            "lpmEntryNormal": "27010",
            "mcstEntryNormal": "27010"
}}}]}}
{
    imdata:[]
}
<System>
  <pltfm-items>
    <forwardingmode-items>
      <forwardingModeType>normal</forwardingModeType>
      <lpmEntryNormal>27010</lpmEntryNormal>
      <mcstEntryNormal>27010</mcstEntryNormal>
    </forwardingmode-items>
  </pltfm-items>
</System>

Note: This example was added in Release 7.0(3)I7(7).


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.

hardware profile forwarding-mode normal lpm-entry 27010 mcast-entry 27010


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.

MODN


platformForwardingMode Properties

The following table contains information about the platformForwardingMode 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 NameData TypeDescriptionValues
forwardingModeTypeplatform:forwardingModeSelector
(scalar:Enum8)
Forwarding Mode TypeSELECTION:
1 - normal
2 - warp
3 - openflow-hybrid
4 - openflow-only
DEFAULT: normal
lpmEntryNormalplatform:forwardingModeLpmEntryNormal
(scalar:Uint32)
Forwarding Mode Normal LPM Entry
RANGE: [0 , 28672]
DEFAULT: 0
mcstEntryNormalplatform:forwardingModeMcstEntryNormal
(scalar:Uint32)
Forwarding Mode Normal Mcast Entry
RANGE: [0 , 28672]
DEFAULT: 0


Related Documentation

For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:

http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html

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:

https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html

Deleting 4K Aligned Total IPv4 Entries

Deleting 4K Aligned Total IPv4 Entries
POST http://<mgmt0_IP>/api/mo/sys/pltfm.json
{
  "platformEntity": {
    "children": [
      {
        "platformForwardingMode": {
          "attributes": {
            "forwardingModeType": "normal"
}}}]}}
{
    imdata:[]
}
<System>
  <pltfm-items>
    <forwardingmode-items>
      <forwardingModeType>normal</forwardingModeType>
    </forwardingmode-items>
  </pltfm-items>
</System>

Note: This example was added in Release 7.0(3)I7(7).


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.

no hardware profile forwarding-mode normal lpm-entry 27010 mcast-entry 27010


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.

MODN


platformForwardingMode Properties

The following table contains information about the platformForwardingMode 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 NameData TypeDescriptionValues
forwardingModeTypeplatform:forwardingModeSelector
(scalar:Enum8)
Forwarding Mode TypeSELECTION:
1 - normal
2 - warp
3 - openflow-hybrid
4 - openflow-only
DEFAULT: normal


Related Documentation

For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:

http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html

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:

https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html

Configuring Openflow Hybrid Forwarding Mode

Configuring Openflow Hybrid Forwarding Mode
POST http://<mgmt0_IP>/api/mo/sys/pltfm.json
{
  "platformEntity": {
    "children": [
      {
        "platformForwardingMode": {
          "attributes": {
            "forwardingModeType": "openflow-hybrid"
}}}]}}
{
    imdata:[]
}
<System>
  <pltfm-items>
    <forwardingmode-items>
      <forwardingModeType>openflow-hybrid</forwardingModeType>
    </forwardingmode-items>
  </pltfm-items>
</System>

Note: This example was added in Release 7.0(3)I7(7).


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.

hardware profile forwarding-mode openflow-hybrid


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.

MODN


platformForwardingMode Properties

The following table contains information about the platformForwardingMode 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 NameData TypeDescriptionValues
forwardingModeTypeplatform:forwardingModeSelector
(scalar:Enum8)
Forwarding Mode TypeSELECTION:
1 - normal
2 - warp
3 - openflow-hybrid
4 - openflow-only
DEFAULT: normal


Related Documentation

For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:

http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html

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:

https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html

Deleting Openflow Hybrid Forwarding Mode

Deleting Openflow Hybrid Forwarding Mode
POST http://<mgmt0_IP>/api/mo/sys/pltfm.json
{
  "platformEntity": {
    "children": [
      {
        "platformForwardingMode": {
          "attributes": {
            "forwardingModeType": "normal"
}}}]}}
{
    imdata:[]
}
<System>
  <pltfm-items>
    <forwardingmode-items>
      <forwardingModeType>normal</forwardingModeType>
    </forwardingmode-items>
  </pltfm-items>
</System>

Note: This example was added in Release 7.0(3)I7(7).


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.

no hardware profile forwarding-mode openflow-hybrid


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.

MODN


platformForwardingMode Properties

The following table contains information about the platformForwardingMode 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 NameData TypeDescriptionValues
forwardingModeTypeplatform:forwardingModeSelector
(scalar:Enum8)
Forwarding Mode TypeSELECTION:
1 - normal
2 - warp
3 - openflow-hybrid
4 - openflow-only
DEFAULT: normal


Related Documentation

For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:

http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html

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:

https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html

Configuring Openflow Only Forwarding Mode

Configuring Openflow Only Forwarding Mode
POST http://<mgmt0_IP>/api/mo/sys/pltfm.json
{
  "platformEntity": {
    "children": [
      {
        "platformForwardingMode": {
          "attributes": {
            "forwardingModeType": "openflow-only"
}}}]}}
{
    imdata:[]
}
<System>
  <pltfm-items>
    <forwardingmode-items>
      <forwardingModeType>openflow-only</forwardingModeType>
    </forwardingmode-items>
  </pltfm-items>
</System>

Note: This example was added in Release 7.0(3)I7(7).


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.

hardware profile forwarding-mode openflow-only


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.

MODN


platformForwardingMode Properties

The following table contains information about the platformForwardingMode 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 NameData TypeDescriptionValues
forwardingModeTypeplatform:forwardingModeSelector
(scalar:Enum8)
Forwarding Mode TypeSELECTION:
1 - normal
2 - warp
3 - openflow-hybrid
4 - openflow-only
DEFAULT: normal


Related Documentation

For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:

http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html

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:

https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html

Deleting Openflow Only Forwarding Mode

Deleting Openflow Only Forwarding Mode
POST http://<mgmt0_IP>/api/mo/sys/pltfm.json
{
  "platformEntity": {
    "children": [
      {
        "platformForwardingMode": {
          "attributes": {
            "forwardingModeType": "normal"
}}}]}}
{
    imdata:[]
}
<System>
  <pltfm-items>
    <forwardingmode-items>
      <forwardingModeType>normal</forwardingModeType>
    </forwardingmode-items>
  </pltfm-items>
</System>

Note: This example was added in Release 7.0(3)I7(7).


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.

no hardware profile forwarding-mode openflow-only


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.

MODN


platformForwardingMode Properties

The following table contains information about the platformForwardingMode 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 NameData TypeDescriptionValues
forwardingModeTypeplatform:forwardingModeSelector
(scalar:Enum8)
Forwarding Mode TypeSELECTION:
1 - normal
2 - warp
3 - openflow-hybrid
4 - openflow-only
DEFAULT: normal


Related Documentation

For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:

http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html

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:

https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html

Configuring 4K aligned Total IPv4, L2, and MCAST Entries

Configuring 4K aligned Total IPv4, L2, and MCAST Entries
POST http://<mgmt0_IP>/api/mo/sys/pltfm.json
{
  "platformEntity": {
    "children": [
      {
        "platformForwardingMode": {
          "attributes": {
            "forwardingModeType": "warp",
            "hostEntryWarp": "10685",
            "l2EntryWarp": "10685",
            "lpmEntryWarp": "7963",
            "mcstEntryWarp": "10685"
}}}]}}
{
    imdata:[]
}
<System>
  <pltfm-items>
    <forwardingmode-items>
      <forwardingModeType>warp</forwardingModeType>
      <hostEntryWarp>10685</hostEntryWarp>
      <l2EntryWarp>10685</l2EntryWarp>
      <lpmEntryWarp>7963</lpmEntryWarp>
      <mcstEntryWarp>10685</mcstEntryWarp>
    </forwardingmode-items>
  </pltfm-items>
</System>

Note: This example was added in Release 7.0(3)I7(7).


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.

hardware profile forwarding-mode warp lpm-entry 7963 host-entry 10685 l2-entry 10685 mcast-entry 10685


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.

MODN


platformForwardingMode Properties

The following table contains information about the platformForwardingMode 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 NameData TypeDescriptionValues
forwardingModeTypeplatform:forwardingModeSelector
(scalar:Enum8)
Forwarding Mode TypeSELECTION:
1 - normal
2 - warp
3 - openflow-hybrid
4 - openflow-only
DEFAULT: normal
hostEntryWarpplatform:forwardingModeHostEntryWarp
(scalar:Uint32)
Forwarding Mode Warp Host Entry
RANGE: [0 , 16384]
DEFAULT: 0
l2EntryWarpplatform:forwardingModeL2EntryWarp
(scalar:Uint32)
Forwarding Mode Warp L2 Entry
RANGE: [0 , 16384]
DEFAULT: 0
lpmEntryWarpplatform:forwardingModeLpmEntryWarp
(scalar:Uint32)
Forwarding Mode Warp LPM Entry
RANGE: [0 , 8192]
DEFAULT: 0
mcstEntryWarpplatform:forwardingModeMcstEntryWarp
(scalar:Uint32)
Forwarding Mode Warp Mcast Entry
RANGE: [0 , 16384]
DEFAULT: 0


Related Documentation

For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:

http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html

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:

https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html

Deleting 4K aligned Total IPv4, L2, and MCAST Entries

Deleting 4K aligned Total IPv4, L2, and MCAST Entries
POST http://<mgmt0_IP>/api/mo/sys/pltfm.json
{
  "platformEntity": {
    "children": [
      {
        "platformForwardingMode": {
          "attributes": {
            "forwardingModeType": "normal"
}}}]}}
{
    imdata:[]
}
<System>
  <pltfm-items>
    <forwardingmode-items>
      <forwardingModeType>normal</forwardingModeType>
    </forwardingmode-items>
  </pltfm-items>
</System>

Note: This example was added in Release 7.0(3)I7(7).


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.

no hardware profile forwarding-mode warp lpm-entry 7963 host-entry 10685 l2-entry 10685 mcast-entry 10685


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.

MODN


platformForwardingMode Properties

The following table contains information about the platformForwardingMode 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 NameData TypeDescriptionValues
forwardingModeTypeplatform:forwardingModeSelector
(scalar:Enum8)
Forwarding Mode TypeSELECTION:
1 - normal
2 - warp
3 - openflow-hybrid
4 - openflow-only
DEFAULT: normal


Related Documentation

For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:

http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html

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:

https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html