Configuring CFS

Enabling Fabric Wide Distribution

Enabling Fabric Wide Distribution
POST http://<mgmt0_IP>/api/mo/sys/cfs.json
{
  "cfsEntity": {
    "children": [
      {
        "cfsInst": {
          "attributes": {
            "distribute": "enabled"
}}}]}}
{
    imdata:[]
}
<System>
  <cfs-items>
    <inst-items>
      <distribute>enabled</distribute>
    </inst-items>
  </cfs-items>
</System>

Note: This example was added in Release 9.2(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.

cfs distribute

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

For detailed information about classes and attributes in the payload, see the NX-API DME Model Reference:
https://developer.cisco.com/media/dme/index.html

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

Disabling Fabric Wide Distribution

Disabling Fabric Wide Distribution
POST http://<mgmt0_IP>/api/mo/sys/cfs.json
{
  "cfsEntity": {
    "children": [
      {
        "cfsInst": {
          "attributes": {
            "distribute": "disabled"
}}}]}}
{
    imdata:[]
}
<System>
  <cfs-items>
    <inst-items>
      <distribute>disabled</distribute>
    </inst-items>
  </cfs-items>
</System>

Note: This example was added in Release 9.2(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.

no cfs distribute

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

For detailed information about classes and attributes in the payload, see the NX-API DME Model Reference:
https://developer.cisco.com/media/dme/index.html

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

Enabling CFS Distribution Over Ethernet

Enabling CFS Distribution Over Ethernet
POST http://<mgmt0_IP>/api/mo/sys/cfs.json
{
  "cfsEntity": {
    "children": [
      {
        "cfsInst": {
          "attributes": {
            "ethDist": "enabled"
}}}]}}
{
    imdata:[]
}
<System>
  <cfs-items>
    <inst-items>
      <ethDist>enabled</ethDist>
    </inst-items>
  </cfs-items>
</System>

Note: This example was added in Release 9.2(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.

cfs eth distribute

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

For detailed information about classes and attributes in the payload, see the NX-API DME Model Reference:
https://developer.cisco.com/media/dme/index.html

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

Disabling CFS Distribution Over Ethernet

Disabling CFS Distribution Over Ethernet
POST http://<mgmt0_IP>/api/mo/sys/cfs.json
{
  "cfsEntity": {
    "children": [
      {
        "cfsInst": {
          "attributes": {
            "ethDist": "disabled"
}}}]}}
{
    imdata:[]
}
<System>
  <cfs-items>
    <inst-items>
      <ethDist>disabled</ethDist>
    </inst-items>
  </cfs-items>
</System>

Note: This example was added in Release 9.2(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.

no cfs eth distribute

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

For detailed information about classes and attributes in the payload, see the NX-API DME Model Reference:
https://developer.cisco.com/media/dme/index.html

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 CFS Distribution Over IPv4

Configuring CFS Distribution Over IPv4 
POST http://<mgmt0_IP>/api/mo/sys/cfs.json
{
  "cfsEntity": {
    "children": [
      {
        "cfsInst": {
          "attributes": {
            "ipv4Dist": "enabled"
          }
        }
      }
    ]
  }
}
{
    imdata:[]
}
<System>
  <cfs-items>
    <inst-items>
      <ipv4Dist>enabled</ipv4Dist>
    </inst-items>
  </cfs-items>
</System>

Note: This example was added in Release 9.2(3).


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.

cfs ipv4 distribute

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

For detailed information about classes and attributes in the payload, see the NX-API DME Model Reference:
https://developer.cisco.com/media/dme/index.html

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 CFS Distribution Over IPv4

Deleting CFS Distribution Over IPv4 
POST http://<mgmt0_IP>/api/mo/sys/cfs.json
{
  "cfsEntity": {
    "children": [
      {
        "cfsInst": {
          "attributes": {
            "ipv4Dist": "disabled"
          }
        }
      }
    ]
  }
}
{
    imdata:[]
}
<System>
  <cfs-items>
    <inst-items>
      <ipv4Dist>disabled</ipv4Dist>
    </inst-items>
  </cfs-items>
</System>

Note: This example was added in Release 9.2(3).


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 cfs ipv4 distribute

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

For detailed information about classes and attributes in the payload, see the NX-API DME Model Reference:
https://developer.cisco.com/media/dme/index.html

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 CFS Distribution Over IPv6

Configuring CFS Distribution Over IPv6 
POST http://<mgmt0_IP>/api/mo/sys/cfs.json
{
  "cfsEntity": {
    "children": [
      {
        "cfsInst": {
          "attributes": {
            "ipv6Dist": "enabled"
          }
        }
      }
    ]
  }
}
{
    imdata:[]
}
<System>
  <cfs-items>
    <inst-items>
      <ipv6Dist>enabled</ipv6Dist>
    </inst-items>
  </cfs-items>
</System>

Note: This example was added in Release 9.2(3).


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.

cfs ipv6 distribute

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

For detailed information about classes and attributes in the payload, see the NX-API DME Model Reference:
https://developer.cisco.com/media/dme/index.html

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 CFS Distribution Over IPv6

Deleting CFS Distribution Over IPv6 
POST http://<mgmt0_IP>/api/mo/sys/cfs.json
{
  "cfsEntity": {
    "children": [
      {
        "cfsInst": {
          "attributes": {
            "ipv6Dist": "disabled"
          }
        }
      }
    ]
  }
}
{
    imdata:[]
}
<System>
  <cfs-items>
    <inst-items>
      <ipv6Dist>disabled</ipv6Dist>
    </inst-items>
  </cfs-items>
</System>

Note: This example was added in Release 9.2(3).


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 cfs ipv6 distribute

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

For detailed information about classes and attributes in the payload, see the NX-API DME Model Reference:
https://developer.cisco.com/media/dme/index.html

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