Configuring Local Label Allocation for All Routes
DME
YANG
Copy
POST http://<mgmt0_IP>/api/mo/sys.json
{ "topSystem": { "children": [ { "mplsldpLDP": { "attributes": { "adminSt": "enabled" }, "children": [ { "mplsldpLabelAllocate": { "attributes": { "lblAllocT": "all-routes" }}}]}}]}}
Response
{ imdata:[] }
Copy
<System> <ldp-items> <adminSt>enabled</adminSt> <labelallocate-items> <lblAllocT>all-routes</lblAllocT> </labelallocate-items> </ldp-items> </System>