Enabling and Disabling MSDP

By default, the MSDP feature is disabled.

For more information, see the Cisco Nexus 9000 Series NX-OS Multicast Routing Configuration Guide, Release 7.x.

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

Enabling MSDP

Enabling MSDP
POST http://<IP_Address>/api/node/mo/sys/fm/msdp.json
{
  "fmMsdp": {
    "attributes": {
      "adminSt": "enabled"
    }
  }
}
{
    "imdata": []
}
<System>
  <fm-items>
    <msdp-items>
      <adminSt>enabled</adminSt>
    </msdp-items>
  </fm-items>
</System>

This example nables the MSDP feature so that you can enter MSDP commands. By default, the MSDP feature is disabled.


CLI Command

The CLI command below is the equivalent to the payload example displayed in the pane on the right.

feature msdp

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

Disabling MSDP

Disabling MSDP
POST http://<IP_Address>/api/node/mo/sys/fm/msdp.json
{
 "fmMsdp": {
    "attributes": {
      "adminSt": "disabled"
    }
  }
}
{
    "imdata": []
}
<System>
  <fm-items>
    <msdp-items>
      <adminSt>disabled</adminSt>
    </msdp-items>
  </fm-items>
</System>

This example disables MSDP.


CLI Command

The CLI command below is the equivalent to the payload example displayed in the pane on the right.

no feature msdp

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