Configuring MSDP Peers
You can configure an MSDP peer when you configure a peering relationship with each MSDP peer that resides either within the current PIM domain or in another PIM domain. MSDP is enabled on the router when you configure the first MSDP peering relationship.
For more information, see the Cisco Nexus 9000 Series NX-OS Multicast Routing Configuration Guide, Release 7.x.
Configuring an MSDP Peer
Configuring an MSDP Peer
POST http://<IP_Address>/api/node/mo/sys/msdp/inst/dom-default.json
{
"msdpDom": {
"attributes": {
"name": "default"
},
"children": [
{
"msdpPeer": {
"attributes": {
"addr": "192.0.20.123",
"adminSt": "disabled",
"asn": "200",
"descr": "This is an example of a peer",
"kaIntvl": "50",
"kaTimeout": "70",
"srcActiveMsgLimit": "9999999",
"srcIf": "eth1/9"
},
"children": [
{
"msdpAuthP": {
"attributes": {
"key": "3 8578e14ab51234e3e185fabecbaf7c6d"
}}}]}}]}}
{
"imdata": []
}
<System>
<msdp-items>
<inst-items>
<dom-items>
<Dom-list>
<name>default</name>
<peer-items>
<Peer-list>
<addr>192.0.20.123</addr>
<adminSt>disabled</adminSt>
<asn>200</asn>
<descr>This is an example of a peer </descr>
<kaIntvl>50</kaIntvl>
<kaTimeout>70</kaTimeout>
<srcActiveMsgLimit>9999999</srcActiveMsgLimit>
<srcIf>eth1/9</srcIf>
<auth-items>
<key>3 8578e14ab51234e3e185fabecbaf7c6d</key>
</auth-items>
</Peer-list>
</peer-items>
</Dom-list>
</dom-items>
</inst-items>
</msdp-items>
</System>
Prerequisites:
- Ensure that you have enabled PIM and MSDP.
- Ensure that you configured PIM in the domains of the routers that you will configure as MSDP peers.
This example configures an MSDP peer.
CLI Commands
The CLI commands and options listed below are the equivalent to the payload example displayed in the pane on the right.
ip msdp peer 192.0.20.123 connect-source eth1/9 remote-as 200
ip msdp description 192.0.20.123 This is an example of a peer
ip msdp keepalive 192.0.20.123 50 70
ip msdp shutdown 192.0.20.123
ip msdp sa-limit 192.0.20.123 9999999
ip msdp password 192.0.20.123 0 asdfzxcv1234
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
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