Querying Advertised Routes
DME
Copy
GET http://<IP_Address>/api/node/mo/sys/bgp/inst/dom-default/peer-[19.0.101.1]/af-ipv4-ucast/advtdrt.json
Response
{ "totalCount": "1", "imdata": [ { "bgpAdvtdRoutes": { "attributes": { "dn": "sys/bgp/inst/dom-default/peer-[19.0.101.1]/af-ipv4-ucast/advtdrt" }, "children": [ { "bgpRoute": { "attributes": { "bestPathId": "1", "numPaths": "1", "pfx": "104.0.0.0/8", "rn": "rt-[104.0.0.0/8]", "rtFlags": "best,rib,vpn,xmit", "ver": "3" }, "children": [ { "bgpPath": { "attributes": { "aggr": "0.0.0.0", "aggrAs": "0", "asPath": "", "clusterLst": "", "extComm": "RT:100:1 RT:400:400", "flags": "advertise,best-path,imported,metric", "id": "0", "importedRd": "rd:nn4-nn4:4240651637:0", "localPref": "100", "metric": "0", "nh": "0.0.0.0", "nhMetric": "0", "operSt": "valid", "origImportedRd": "unknown:unknown:0:0", "origin": "incomplete", "originatorId": "0.0.0.0", "peer": "0.0.0.0", "peerRtrId": "19.0.0.6", "rcvdLbl": "", "regComm": "", "rn": "path-[0.0.0.0]-id-0-nh-[0.0.0.0]-imprd-rd:nn4-nn4:4240651637:0-origimprd-unknown:unknown:0:0", "type": "redistribute", "unknownAttrData": "", "unknownAttrLen": "0", "weight": "32768" }, "children": [ { "bgpExtComm": { "attributes": { "encap": "unknown", "rn": "ecomm", "rtrMac": "00:00:00:00:00:00" }, "children": [ { "bgpExtCommRt": { "attributes": { "community": "extended:as2-nn2:400:400", "rn": "rt-extended:as2-nn2:400:400" } } }, { "bgpExtCommRt": { "attributes": { "community": "extended:as2-nn2:100:1", "rn": "rt-extended:as2-nn2:100:1" } } } ] } } ] } } ] } } ] } }, { "warning": { "attributes": { "text": "backend rv=43700005, No more data. Done" } } } ] }