Comparing MED on Paths From Different AS
DME
YANG
Copy
POST http://<mgmt0_IP>/api/mo/sys/bgp.json
{ "bgpEntity": { "children": [ { "bgpInst": { "attributes": { "asn": "100" }, "children": [ { "bgpDom": { "attributes": { "name": "VRF_1" }, "children": [ { "bgpPathCtrl": { "attributes": { "alwaysCompMed": "enabled" }}}]}}]}}]}}
Response
{ imdata:[] }
Copy
<System> <bgp-items> <inst-items> <asn>100</asn> <dom-items> <Dom-list> <name>VRF_1</name> <pathctrl-items> <alwaysCompMed>enabled</alwaysCompMed> </pathctrl-items> </Dom-list> </dom-items> </inst-items> </bgp-items> </System>