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.
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
Note: The property information for this example was added in Release 9.3(3).
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.
MO | DN |
---|---|
msdpDom | sys/msdp/inst/dom-{name} |
msdpPeer | sys/msdp/inst/dom-{name}/peer-{[addr]} |
msdpAuthP | sys/msdp/inst/dom-{name}/peer-{[addr]}/auth |
msdpDom Properties
The following table contains information about the msdpDom 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 Name | Data Type | Description | Values |
---|---|---|---|
name | naming:Name256 (string:Basic) | The name of the object. | MAX SIZE: 63 |
msdpPeer Properties
The following table contains information about the msdpPeer 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 Name | Data Type | Description | Values |
---|---|---|---|
addr | address:Ip | IP address of MSDP Peer | Value must match ipv4 or ipv6 known format |
adminSt | nw:AdminSt (scalar:Enum8) | Administrative state enabled/disabled | SELECTION: 1 - enabled 2 - disabled DEFAULT: enabled |
asn | msdp:Asn (string:Basic) | Autonomous System Number | A sequence of characters DEFAULT: none |
descr | msdp:Descr | Description of the specified attribute | |
kaIntvl | msdp:KaIntvl (scalar:Uint16) | Keepalive interval, how often you send keepalives | RANGE: [1 , 60] DEFAULT: 60 |
kaTimeout | msdp:KaTimeout (scalar:Uint16) | Keepalive Timeout | RANGE: [1 , 90] DEFAULT: 90 |
srcActiveMsgLimit | msdp:SrcActiveMsgLimit (scalar:Uint32) | Source Active msg Limit | RANGE: [0 , 4294967295] DEFAULT: 4294967295 |
srcIf | nw:IfId (base:IfIndex) | Source Interface. Supported interfaces include Ethernet-like, port/channel, loopback and vlan interfaces | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
msdpAuthP Properties
The following table contains information about the msdpAuthP 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 Name | Data Type | Description | Values |
---|---|---|---|
key | msdp:AuthKey (string:Password) | Authentication key |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
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: