Configuring the Distribution of Default Information
DME
YANG
Copy
POST http://<mgmt0_IP>/api/mo/sys/bgp/inst.json
{ "bgpInst": { "attributes": { "asn": "100" }, "children": [ { "bgpDom": { "attributes": { "name": "default" }, "children": [ { "bgpDomAf": { "attributes": { "defInfOrigRd": "rd:as2-nn2:123:12", "defInfOrigRtt": "route-target:as2-nn2:1234:12", "type": "vpnv6-ucast" }}}]}}]}}
Response
{ imdata:[] }
Copy
<System> <bgp-items> <inst-items> <asn>100</asn> <dom-items> <Dom-list> <name>default</name> <af-items> <DomAf-list> <type>vpnv6-ucast</type> <defInfOrigRd>rd:as2-nn2:123:12</defInfOrigRd> <defInfOrigRtt>route-target:as2-nn2:1234:12</defInfOrigRtt> </DomAf-list> </af-items> </Dom-list> </dom-items> </inst-items> </bgp-items> </System>