Configuring Target VPN Extended Communities to All Routes
DME
YANG
Copy
POST http://<mgmt0_IP>/api/mo/sys/bgp.json
{ "bgpEntity": { "children": [ { "bgpInst": { "attributes": { "asn": "123" }, "children": [ { "bgpDom": { "attributes": { "name": "default" }, "children": [ { "bgpDomAf": { "attributes": { "retainRttAll": "enabled", "retainRttRtMap": "", "type": "lnkstate" }}}]}}]}}]}}
Response
{ imdata:[] }
Copy
<System> <bgp-items> <inst-items> <asn>123</asn> <dom-items> <Dom-list> <name>default</name> <af-items> <DomAf-list> <type>lnkstate</type> <retainRttAll>enabled</retainRttAll> <retainRttRtMap></retainRttRtMap> </DomAf-list> </af-items> </Dom-list> </dom-items> </inst-items> </bgp-items> </System>