Configuring the Label Allocation 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": "VRF_1" }, "children": [ { "bgpDomAf": { "attributes": { "allocLblAll": "enabled", "allocLblRtMap": "", "type": "ipv6-ucast" }}}]}}]}}]}}
Response
{ imdata:[] }
Copy
<System> <bgp-items> <inst-items> <asn>123</asn> <dom-items> <Dom-list> <name>VRF_1</name> <af-items> <DomAf-list> <type>ipv6-ucast</type> <allocLblAll>enabled</allocLblAll> <allocLblRtMap></allocLblRtMap> </DomAf-list> </af-items> </Dom-list> </dom-items> </inst-items> </bgp-items> </System>