Configuring MRIB on a VRF Interface

Disabling ECMP Multicast Load Splitting on a VRF Interface

Disabling ECMP Multicast Load Splitting on a VRF Interface
POST http://<mgmt0_IP>/api/mo/sys.json
{
  "topSystem": {
    "children": [
      {
        "mribEntity": {
          "children": [
            {
              "mribInst": {
                "children": [
                  {
                    "mribDom": {
                      "attributes": {
                        "name": "VRF_1"
                      },
                      "children": [
                        {
                          "mribConfig": {
                            "attributes": {
                              "Mode": "none",
                              "ModeEnable": "enabled"
}}}]}}]}}]}},{
        "l3Inst": {
          "attributes": {
            "name": "VRF_1"
}}}]}}
{
    imdata:[]
}
<System>
  <mrib-items>
    <inst-items>
      <dom-items>
        <Dom-list>
          <name>VRF_1</name>
          <config-items>
            <Mode>none</Mode>
            <ModeEnable>enabled</ModeEnable>
          </config-items>
        </Dom-list>
      </dom-items>
    </inst-items>
  </mrib-items>
  <inst-items>
    <Inst-list>
      <name>VRF_1</name>
    </Inst-list>
  </inst-items>
</System>

Note: This example was added in Release Cisco NX-OS Release 7.0(3)I7(2).


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
 vrf context VRF_1
  ip multicast multipath none

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 the ECMP Multicast Load Splitting Configured on a VRF Interface

Deleting the ECMP Multicast Load Splitting Configured on a VRF Interface
POST http://<mgmt0_IP>/api/mo/sys.json
{
  "topSystem": {
    "children": [
      {
        "mribEntity": {
          "children": [
            {
              "mribInst": {
                "children": [
                  {
                    "mribDom": {
                      "attributes": {
                        "name": "VRF_1"
                      },
                      "children": [
                        {
                          "mribConfig": {
                            "attributes": {
                              "Mode": "none",
                              "ModeEnable": "disabled"
}}}]}}]}}]}},{
        "l3Inst": {
          "attributes": {
            "name": "VRF_1"
}}}]}}
{
    imdata:[]
}
<System>
  <mrib-items>
    <inst-items>
      <dom-items>
        <Dom-list>
          <name>VRF_1</name>
          <config-items>
            <Mode>none</Mode>
            <ModeEnable>disabled</ModeEnable>
          </config-items>
        </Dom-list>
      </dom-items>
    </inst-items>
  </mrib-items>
  <inst-items>
    <Inst-list>
      <name>VRF_1</name>
    </Inst-list>
  </inst-items>
</System>

Note: This example was added in Release Cisco NX-OS Release 7.0(3)I7(2).


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
 vrf context VRF_1
  no ip multicast multipath none

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 a Hash Based on the Source and Group on a VRF Interface

Configuring a Hash Based on the Source and Group on a VRF Interface
POST http://<mgmt0_IP>/api/mo/sys.json
{
  "topSystem": {
    "children": [
      {
        "mribEntity": {
          "children": [
            {
              "mribInst": {
                "children": [
                  {
                    "mribDom": {
                      "attributes": {
                        "name": "VRF_1"
                      },
                      "children": [
                        {
                          "mribConfig": {
                            "attributes": {
                              "Mode": "legacy",
                              "ModeEnable": "enabled"
}}}]}}]}}]}},{
        "l3Inst": {
          "attributes": {
            "name": "VRF_1"
}}}]}}
{
    imdata:[]
}
<System>
  <mrib-items>
    <inst-items>
      <dom-items>
        <Dom-list>
          <name>VRF_1</name>
          <config-items>
            <Mode>legacy</Mode>
            <ModeEnable>enabled</ModeEnable>
          </config-items>
        </Dom-list>
      </dom-items>
    </inst-items>
  </mrib-items>
  <inst-items>
    <Inst-list>
      <name>VRF_1</name>
    </Inst-list>
  </inst-items>
</System>

Note: This example was added in Release Cisco NX-OS Release 7.0(3)I7(2).


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
 vrf context VRF_1
  ip multicast multipath legacy

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 the Configuration for a Hash Based on the Source and Group on a VRF Interface

Deleting the Configuration for a Hash Based on the Source and Group on a VRF Interface
POST http://<mgmt0_IP>/api/mo/sys.json
{
  "topSystem": {
    "children": [
      {
        "mribEntity": {
          "children": [
            {
              "mribInst": {
                "children": [
                  {
                    "mribDom": {
                      "attributes": {
                        "name": "VRF_1"
                      },
                      "children": [
                        {
                          "mribConfig": {
                            "attributes": {
                              "Mode": "legacy",
                              "ModeEnable": "disabled"
}}}]}}]}}]}},{
        "l3Inst": {
          "attributes": {
            "name": "VRF_1"
}}}]}}
{
    imdata:[]
}
<System>
  <mrib-items>
    <inst-items>
      <dom-items>
        <Dom-list>
          <name>VRF_1</name>
          <config-items>
            <Mode>legacy</Mode>
            <ModeEnable>disabled</ModeEnable>
          </config-items>
        </Dom-list>
      </dom-items>
    </inst-items>
  </mrib-items>
  <inst-items>
    <Inst-list>
      <name>VRF_1</name>
    </Inst-list>
  </inst-items>
</System>

Note: This example was added in Release Cisco NX-OS Release 7.0(3)I7(2).


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
 vrf context VRF_1
  no ip multicast multipath legacy

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 a Hash Based on the Source, Group, and Next-Hop Address on a VRF Interface

Configuring a Hash Based on the Source, Group, and Next-Hop Address on a VRF Interface
POST http://<mgmt0_IP>/api/mo/sys.json
{
  "topSystem": {
    "children": [
      {
        "mribEntity": {
          "children": [
            {
              "mribInst": {
                "children": [
                  {
                    "mribDom": {
                      "attributes": {
                        "name": "VRF_1"
                      },
                      "children": [
                        {
                          "mribConfig": {
                            "attributes": {
                              "Mode": "s-g-hash",
                              "ModeEnable": "enabled"
}}}]}}]}}]}},{
        "l3Inst": {
          "attributes": {
            "name": "VRF_1"
}}}]}}
{
    imdata:[]
}
<System>
  <mrib-items>
    <inst-items>
      <dom-items>
        <Dom-list>
          <name>VRF_1</name>
          <config-items>
            <Mode>s-g-hash</Mode>
            <ModeEnable>enabled</ModeEnable>
          </config-items>
        </Dom-list>
      </dom-items>
    </inst-items>
  </mrib-items>
  <inst-items>
    <Inst-list>
      <name>VRF_1</name>
    </Inst-list>
  </inst-items>
</System>

Note: This example was added in Release Cisco NX-OS Release 7.0(3)I7(2).


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
 vrf context VRF_1
  ip multicast multipath s-g-hash next-hop-based

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 a Hash Based on the Source, Group, and Next-Hop Address Configured on a VRF Interface

Deleting a Hash Based on the Source, Group, and Next-Hop Address Configured on a VRF Interface
POST http://<mgmt0_IP>/api/mo/sys.json
{
  "topSystem": {
    "children": [
      {
        "mribEntity": {
          "children": [
            {
              "mribInst": {
                "children": [
                  {
                    "mribDom": {
                      "attributes": {
                        "name": "VRF_1"
                      },
                      "children": [
                        {
                          "mribConfig": {
                            "attributes": {
                              "Mode": "s-g-hash",
                              "ModeEnable": "disabled"
}}}]}}]}}]}},{
        "l3Inst": {
          "attributes": {
            "name": "VRF_1"
}}}]}}
{
    imdata:[]
}
<System>
  <mrib-items>
    <inst-items>
      <dom-items>
        <Dom-list>
          <name>VRF_1</name>
          <config-items>
            <Mode>s-g-hash</Mode>
            <ModeEnable>disabled</ModeEnable>
          </config-items>
        </Dom-list>
      </dom-items>
    </inst-items>
  </mrib-items>
  <inst-items>
    <Inst-list>
      <name>VRF_1</name>
    </Inst-list>
  </inst-items>
</System>

Note: This example was added in Release Cisco NX-OS Release 7.0(3)I7(2).


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
 vrf context VRF_1
  no ip multicast multipath s-g-hash next-hop-based

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 a Resilient RPF Interface on a VRF Interface

Configuring a Resilient RPF Interface on a VRF Interface
POST http://<mgmt0_IP>/api/mo/sys.json
{
  "topSystem": {
    "children": [
  {
    "mribEntity": {
      "children": [
        {
          "mribInst": {
            "children": [
              {
                "mribDom": {
                  "attributes": {
                    "name": "VRF_1"
                  },
                  "children": [
                    {
                      "mribConfig": {
                        "attributes": {
                          "Mode": "resilient",
                          "ModeEnable": "enabled"
}}}]}}]}}]}},{
        "l3Inst": {
          "attributes": {
            "name": "VRF_1"
}}}]}}
{
    imdata:[]
}
<System>
  <mrib-items>
    <inst-items>
      <dom-items>
        <Dom-list>
          <name>VRF_1</name>
          <config-items>
            <Mode>resilient</Mode>
            <ModeEnable>enabled</ModeEnable>
          </config-items>
        </Dom-list>
      </dom-items>
    </inst-items>
  </mrib-items>
  <inst-items>
    <Inst-list>
      <name>VRF_1</name>
    </Inst-list>
  </inst-items>
</System>

Note: This example was added in Release Cisco NX-OS Release 7.0(3)I7(2).


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
 vrf context VRF_1
  ip multicast multipath resilient

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 a Resilient RPF Interface Configured on a VRF Interface

Deleting a Resilient RPF Interface Configured on a VRF Interface
POST http://<mgmt0_IP>/api/mo/sys.json
{
  "topSystem": {
    "children": [
      {
        "mribEntity": {
          "children": [
            {
              "mribInst": {
                "children": [
                  {
                    "mribDom": {
                      "attributes": {
                        "name": "VRF_1"
                      },
                      "children": [
                        {
                          "mribConfig": {
                            "attributes": {
                              "Mode": "resilient",
                              "ModeEnable": "disabled"
}}}]}}]}}]}},{
        "l3Inst": {
          "attributes": {
            "name": "VRF_1"
}}}]}}
{
    imdata:[]
}
<System>
  <mrib-items>
    <inst-items>
      <dom-items>
        <Dom-list>
          <name>VRF_1</name>
          <config-items>
            <Mode>resilient</Mode>
            <ModeEnable>disabled</ModeEnable>
          </config-items>
        </Dom-list>
      </dom-items>
    </inst-items>
  </mrib-items>
  <inst-items>
    <Inst-list>
      <name>VRF_1</name>
    </Inst-list>
  </inst-items>
</System>

Note: This example was added in Release Cisco NX-OS Release 7.0(3)I7(2).


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
 vrf context VRF_1
  no ip multicast multipath resilient

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 an NBM-controlled RPF Interface on a VRF Interface

Configuring an NBM-controlled RPF Interface on a VRF Interface
POST http://<mgmt0_IP>/api/mo/sys.json
{
  "topSystem": {
    "children": [
      {
        "mribEntity": {
          "children": [
            {
              "mribInst": {
                "children": [
                  {
                    "mribDom": {
                      "attributes": {
                        "name": "VRF_1"
                      },
                      "children": [
                        {
                          "mribConfig": {
                            "attributes": {
                              "Mode": "nbm",
                              "ModeEnable": "enabled"
}}}]}}]}}]}},{
        "l3Inst": {
          "attributes": {
            "name": "VRF_1"
}}}]}}
{
    imdata:[]
}
<System>
  <mrib-items>
    <inst-items>
      <dom-items>
        <Dom-list>
          <name>VRF_1</name>
          <config-items>
            <Mode>nbm</Mode>
            <ModeEnable>enabled</ModeEnable>
          </config-items>
        </Dom-list>
      </dom-items>
    </inst-items>
  </mrib-items>
  <inst-items>
    <Inst-list>
      <name>VRF_1</name>
    </Inst-list>
  </inst-items>
</System>

Note: This example was added in Release Cisco NX-OS Release 7.0(3)I7(2).


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
 vrf context VRF_1
  ip multicast multipath nbm

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 an NBM-controlled RPF Interface Configured on a VRF Interface

Deleting an NBM-controlled RPF Interface Configured on a VRF Interface
POST http://<mgmt0_IP>/api/mo/sys.json
{
  "topSystem": {
    "children": [
      {
        "mribEntity": {
          "children": [
            {
              "mribInst": {
                "children": [
                  {
                    "mribDom": {
                      "attributes": {
                        "name": "VRF_1"
                      },
                      "children": [
                        {
                          "mribConfig": {
                            "attributes": {
                              "Mode": "nbm",
                              "ModeEnable": "disabled"
}}}]}}]}}]}},{
"l3Inst": {
  "attributes": {
    "name": "VRF_1"
}}}]}}
{
    imdata:[]
}
<System>
  <mrib-items>
    <inst-items>
      <dom-items>
        <Dom-list>
          <name>VRF_1</name>
          <config-items>
            <Mode>nbm</Mode>
            <ModeEnable>disabled</ModeEnable>
          </config-items>
        </Dom-list>
      </dom-items>
    </inst-items>
  </mrib-items>
  <inst-items>
    <Inst-list>
      <name>VRF_1</name>
    </Inst-list>
  </inst-items>
</System>

Note: This example was added in Release Cisco NX-OS Release 7.0(3)I7(2).


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
 vrf context VRF_1
  no ip multicast multipath nbm

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