Configuring an MSDP Peer
DME
YANG
Copy
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" }}}]}}]}}
Response
{ "imdata": [] }
Copy
<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>