Querying L2VPN EVPN
DME
Copy
GET http://<IP_Address>/api/node/mo/sys/bgp/inst/dom-default/af-[l2vpn-evpn].json
Response
{ "totalCount": "1", "imdata": [ { "bgpDomAf": { "attributes": { "advPip": "disabled", "advSysMac": "disabled", "advertL2vpnEvpn": "disabled", "allocLblAll": "disabled", "allocLblRtMap": "", "bestPathCmpltTs": "2018-06-20T11:03:47.827+00:00", "bestPathSigTs": "2018-06-20T11:03:47.820+00:00", "childAction": "", "clReflection": "enabled", "critNhTimeout": "crit", "defInfOrigRd": "unknown:unknown:0:0", "defInfOrigRtt": "unknown:unknown:0:0", "defInfOriginate": "disabled", "defMetric": "", "dn": "sys/bgp/inst/dom-default/af-l2vpn-evpn", "exportGwIp": "disabled", "igpMetric": "600", "lblAllocMod": "disabled", "maxEcmp": "1", "maxExtEcmp": "1", "maxExtIntEcmp": "1", "maxMxdEcmp": "1", "modTs": "2018-06-20T11:03:48.062+00:00", "name": "bgp-DomAf", "nhRtMap": "", "nonCritNhTimeout": "noncrit", "numAggregates": "0", "numNetworks": "0", "numPaths": "15", "numPeers": "3", "numPeersActive": "3", "numRoutes": "13", "persistentOnReload": "true", "retainRttAll": "enabled", "retainRttRtMap": "", "status": "", "supprInactive": "disabled", "tblId": "0x1", "tblMap": "", "tblMapFltr": "disabled", "tblSt": "up", "tblVer": "282", "tmrBstpthDfr": "0", "tmrMax": "0", "type": "l2vpn-evpn", "vniEthTag": "disabled" }, "children": [ { "bgpEvpnRoute": { "attributes": { "bestPathId": "0", "numPaths": "2", "pfx": "[2]:[0]:[0]:[48]:[0226.51bd.c81c]:[32]:[1.7.1.1]", "rd": "rd:as2-nn2:101:1000", "rn": "evpnrt-[2]:[0]:[0]:[48]:[0226.51bd.c81c]:[32]:[1.7.1.1]-rd-rd:as2-nn2:101:1000", "rtFlags": "xmit", "rtType": "mac-ip", "ver": "10" }, "children": [ { "bgpPath": { "attributes": { "aggr": "0.0.0.0", "aggrAs": "0", "asPath": "102 {123 345 456} 90", "clusterLst": "", "extComm": "RT:10:1000 MAC Mobility Sequence:00:4294967295", "flags": "", "id": "0", "importedRd": "unknown:unknown:0:0", "localPref": "100", "metric": "0", "nh": "19.0.102.4", "nhMetric": "0", "operSt": "invalid", "origImportedRd": "unknown:unknown:0:0", "origin": "igp", "originatorId": "0.0.0.0", "peer": "19.0.102.4", "peerRtrId": "88.88.88.102", "rcvdLbl": "1000 2000", "regComm": "123:456", "rn": "path-[19.0.102.4]-id-0-nh-[19.0.102.4]-imprd-unknown:unknown:0:0-origimprd-unknown:unknown:0:0", "type": "internal", "unknownAttrData": "", "unknownAttrLen": "0", "weight": "0" }, "children": [ { "bgpAsSeg": { "attributes": { "order": "3", "rn": "seg-3" }, "children": [ { "bgpAsItem": { "attributes": { "asn": "90", "order": "1", "rn": "asn-1" } } } ] } }, { "bgpAsSeg": { "attributes": { "order": "1", "rn": "seg-1" }, "children": [ { "bgpAsItem": { "attributes": { "asn": "102", "order": "1", "rn": "asn-1" } } } ] } }, { "bgpAsSeg": { "attributes": { "order": "2", "rn": "seg-2" }, "children": [ { "bgpAsItem": { "attributes": { "asn": "123", "order": "1", "rn": "asn-1" } } }, { "bgpAsItem": { "attributes": { "asn": "456", "order": "3", "rn": "asn-3" } } }, { "bgpAsItem": { "attributes": { "asn": "345", "order": "2", "rn": "asn-2" } } } ] } }, { "bgpRegComm": { "attributes": { "community": "regular:as2-nn2:123:456", "rn": "rcomm-regular:as2-nn2:123:456" } } }, { "bgpExtComm": { "attributes": { "encap": "unknown", "rn": "ecomm", "rtrMac": "00:00:00:00:00:00" }, "children": [ { "bgpExtCommRt": { "attributes": { "community": "extended:as2-nn2:10:1000", "rn": "rt-extended:as2-nn2:10:1000" } } } ] } } ] } }, { "bgpPath": { "attributes": { "aggr": "0.0.0.0", "aggrAs": "0", "asPath": "101 {123 345 678} 90", "clusterLst": "", "extComm": "RT:10:1000 MAC Mobility Sequence:00:4294967295", "flags": "", "id": "0", "importedRd": "unknown:unknown:0:0", "localPref": "100", "metric": "0", "nh": "19.0.101.1", "nhMetric": "0", "operSt": "invalid", "origImportedRd": "unknown:unknown:0:0", "origin": "igp", "originatorId": "0.0.0.0", "peer": "19.0.101.1", "peerRtrId": "88.88.88.101", "rcvdLbl": "1000 2000", "regComm": "123:456", "rn": "path-[19.0.101.1]-id-0-nh-[19.0.101.1]-imprd-unknown:unknown:0:0-origimprd-unknown:unknown:0:0", "type": "internal", "unknownAttrData": "", "unknownAttrLen": "0", "weight": "0" }, "children": [ { "bgpAsSeg": { "attributes": { "order": "3", "rn": "seg-3" }, "children": [ { "bgpAsItem": { "attributes": { "asn": "90", "order": "1", "rn": "asn-1" } } } ] } }, { "bgpAsSeg": { "attributes": { "order": "1", "rn": "seg-1" }, "children": [ { "bgpAsItem": { "attributes": { "asn": "101", "order": "1", "rn": "asn-1" } } } ] } }, { "bgpAsSeg": { "attributes": { "order": "2", "rn": "seg-2" }, "children": [ { "bgpAsItem": { "attributes": { "asn": "123", "order": "1", "rn": "asn-1" } } }, { "bgpAsItem": { "attributes": { "asn": "678", "order": "3", "rn": "asn-3" } } }, { "bgpAsItem": { "attributes": { "asn": "345", "order": "2", "rn": "asn-2" } } } ] } }, { "bgpRegComm": { "attributes": { "community": "regular:as2-nn2:123:456", "rn": "rcomm-regular:as2-nn2:123:456" } } }, { "bgpExtComm": { "attributes": { "encap": "unknown", "rn": "ecomm", "rtrMac": "00:00:00:00:00:00" }, "children": [ { "bgpExtCommRt": { "attributes": { "community": "extended:as2-nn2:10:1000", "rn": "rt-extended:as2-nn2:10:1000" } } } ] } } ] } } ] } }, { "bgpEvpnRoute": { "attributes": { "bestPathId": "0", "numPaths": "2", "pfx": "[2]:[0]:[0]:[48]:[0226.51bd.c81d]:[32]:[1.7.1.2]", "rd": "rd:as2-nn2:101:1000", "rn": "evpnrt-[2]:[0]:[0]:[48]:[0226.51bd.c81d]:[32]:[1.7.1.2]-rd-rd:as2-nn2:101:1000", "rtFlags": "xmit", "rtType": "mac-ip", "ver": "11" }, "children": [ { "bgpPath": { "attributes": { "aggr": "0.0.0.0", "aggrAs": "0", "asPath": "102 {123 345 456} 90", "clusterLst": "", "extComm": "RT:10:1000 MAC Mobility Sequence:00:4294967295", "flags": "", "id": "0", "importedRd": "unknown:unknown:0:0", "localPref": "100", "metric": "0", "nh": "19.0.102.4", "nhMetric": "0", "operSt": "invalid", "origImportedRd": "unknown:unknown:0:0", "origin": "igp", "originatorId": "0.0.0.0", "peer": "19.0.102.4", "peerRtrId": "88.88.88.102", "rcvdLbl": "1000 2000", "regComm": "123:456", "rn": "path-[19.0.102.4]-id-0-nh-[19.0.102.4]-imprd-unknown:unknown:0:0-origimprd-unknown:unknown:0:0", "type": "internal", "unknownAttrData": "", "unknownAttrLen": "0", "weight": "0" }, "children": [ { "bgpAsSeg": { "attributes": { "order": "3", "rn": "seg-3" }, "children": [ { "bgpAsItem": { "attributes": { "asn": "90", "order": "1", "rn": "asn-1" } } } ] } }, { "bgpAsSeg": { "attributes": { "order": "1", "rn": "seg-1" }, "children": [ { "bgpAsItem": { "attributes": { "asn": "102", "order": "1", "rn": "asn-1" } } } ] } }, { "bgpAsSeg": { "attributes": { "order": "2", "rn": "seg-2" }, "children": [ { "bgpAsItem": { "attributes": { "asn": "123", "order": "1", "rn": "asn-1" } } }, { "bgpAsItem": { "attributes": { "asn": "456", "order": "3", "rn": "asn-3" } } }, { "bgpAsItem": { "attributes": { "asn": "345", "order": "2", "rn": "asn-2" } } } ] } }, { "bgpRegComm": { "attributes": { "community": "regular:as2-nn2:123:456", "rn": "rcomm-regular:as2-nn2:123:456" } } }, { "bgpExtComm": { "attributes": { "encap": "unknown", "rn": "ecomm", "rtrMac": "00:00:00:00:00:00" }, "children": [ { "bgpExtCommRt": { "attributes": { "community": "extended:as2-nn2:10:1000", "rn": "rt-extended:as2-nn2:10:1000" } } } ] } } ] } }, { "bgpPath": { "attributes": { "aggr": "0.0.0.0", "aggrAs": "0", "asPath": "101 {123 345 678} 90", "clusterLst": "", "extComm": "RT:10:1000 MAC Mobility Sequence:00:4294967295", "flags": "", "id": "0", "importedRd": "unknown:unknown:0:0", "localPref": "100", "metric": "0", "nh": "19.0.101.1", "nhMetric": "0", "operSt": "invalid", "origImportedRd": "unknown:unknown:0:0", "origin": "igp", "originatorId": "0.0.0.0", "peer": "19.0.101.1", "peerRtrId": "88.88.88.101", "rcvdLbl": "1000 2000", "regComm": "123:456", "rn": "path-[19.0.101.1]-id-0-nh-[19.0.101.1]-imprd-unknown:unknown:0:0-origimprd-unknown:unknown:0:0", "type": "internal", "unknownAttrData": "", "unknownAttrLen": "0", "weight": "0" }, "children": [ { "bgpAsSeg": { "attributes": { "order": "3", "rn": "seg-3" }, "children": [ { "bgpAsItem": { "attributes": { "asn": "90", "order": "1", "rn": "asn-1" } } } ] } }, { "bgpAsSeg": { "attributes": { "order": "1", "rn": "seg-1" }, "children": [ { "bgpAsItem": { "attributes": { "asn": "101", "order": "1", "rn": "asn-1" } } } ] } }, { "bgpAsSeg": { "attributes": { "order": "2", "rn": "seg-2" }, "children": [ { "bgpAsItem": { "attributes": { "asn": "123", "order": "1", "rn": "asn-1" } } }, { "bgpAsItem": { "attributes": { "asn": "678", "order": "3", "rn": "asn-3" } } }, { "bgpAsItem": { "attributes": { "asn": "345", "order": "2", "rn": "asn-2" } } } ] } }, { "bgpRegComm": { "attributes": { "community": "regular:as2-nn2:123:456", "rn": "rcomm-regular:as2-nn2:123:456" } } }, { "bgpExtComm": { "attributes": { "encap": "unknown", "rn": "ecomm", "rtrMac": "00:00:00:00:00:00" }, "children": [ { "bgpExtCommRt": { "attributes": { "community": "extended:as2-nn2:10:1000", "rn": "rt-extended:as2-nn2:10:1000" } } } ] } } ] } } ] } }, { "bgpEvpnRoute": { "attributes": { "bestPathId": "1", "numPaths": "1", "pfx": "[5]:[0]:[0]:[24]:[1.8.1.0]", "rd": "rd:as2-nn2:101:1000", "rn": "evpnrt-[5]:[0]:[0]:[24]:[1.8.1.0]-rd-rd:as2-nn2:101:1000", "rtFlags": "xmit", "rtType": "ip-pfx", "ver": "5" }, "children": [ { "bgpPath": { "attributes": { "aggr": "0.0.0.0", "aggrAs": "0", "asPath": "101 {234 5678 4567} 91", "clusterLst": "", "extComm": "RT:31:1000 RT:32:1000 ENCAP:8 Router MAC:d8b1.8076.8e77", "flags": "advertise,best-path", "id": "0", "importedRd": "unknown:unknown:0:0", "localPref": "100", "metric": "0", "nh": "19.0.101.1", "nhMetric": "0", "operSt": "valid", "origImportedRd": "unknown:unknown:0:0", "origin": "igp", "originatorId": "0.0.0.0", "peer": "19.0.101.1", "peerRtrId": "88.88.88.101", "rcvdLbl": "62993", "regComm": "789:123", "rn": "path-[19.0.101.1]-id-0-nh-[19.0.101.1]-imprd-unknown:unknown:0:0-origimprd-unknown:unknown:0:0", "type": "internal", "unknownAttrData": "", "unknownAttrLen": "0", "weight": "0" }, "children": [ { "bgpAsSeg": { "attributes": { "order": "3", "rn": "seg-3" }, "children": [ { "bgpAsItem": { "attributes": { "asn": "91", "order": "1", "rn": "asn-1" } } } ] } }, { "bgpAsSeg": { "attributes": { "order": "1", "rn": "seg-1" }, "children": [ { "bgpAsItem": { "attributes": { "asn": "101", "order": "1", "rn": "asn-1" } } } ] } }, { "bgpAsSeg": { "attributes": { "order": "2", "rn": "seg-2" }, "children": [ { "bgpAsItem": { "attributes": { "asn": "234", "order": "1", "rn": "asn-1" } } }, { "bgpAsItem": { "attributes": { "asn": "4567", "order": "3", "rn": "asn-3" } } }, { "bgpAsItem": { "attributes": { "asn": "5678", "order": "2", "rn": "asn-2" } } } ] } }, { "bgpRegComm": { "attributes": { "community": "regular:as2-nn2:789:123", "rn": "rcomm-regular:as2-nn2:789:123" } } }, { "bgpExtComm": { "attributes": { "encap": "vxlan-8", "rn": "ecomm", "rtrMac": "D8:B1:80:76:8E:77" }, "children": [ { "bgpExtCommRt": { "attributes": { "community": "extended:as2-nn2:32:1000", "rn": "rt-extended:as2-nn2:32:1000" } } }, { "bgpExtCommRt": { "attributes": { "community": "extended:as2-nn2:31:1000", "rn": "rt-extended:as2-nn2:31:1000" } } } ] } } ] } } ] } }, { "bgpEvpnRoute": { "attributes": { "bestPathId": "1", "numPaths": "1", "pfx": "[5]:[0]:[0]:[24]:[1.8.2.0]", "rd": "rd:as2-nn2:101:1000", "rn": "evpnrt-[5]:[0]:[0]:[24]:[1.8.2.0]-rd-rd:as2-nn2:101:1000", "rtFlags": "xmit", "rtType": "ip-pfx", "ver": "6" }, "children": [ { "bgpPath": { "attributes": { "aggr": "0.0.0.0", "aggrAs": "0", "asPath": "101 {234 5678 4567} 91", "clusterLst": "", "extComm": "RT:31:1000 RT:32:1000 ENCAP:8 Router MAC:d8b1.8076.8e77", "flags": "advertise,best-path", "id": "0", "importedRd": "unknown:unknown:0:0", "localPref": "100", "metric": "0", "nh": "19.0.101.1", "nhMetric": "0", "operSt": "valid", "origImportedRd": "unknown:unknown:0:0", "origin": "igp", "originatorId": "0.0.0.0", "peer": "19.0.101.1", "peerRtrId": "88.88.88.101", "rcvdLbl": "62993", "regComm": "789:123", "rn": "path-[19.0.101.1]-id-0-nh-[19.0.101.1]-imprd-unknown:unknown:0:0-origimprd-unknown:unknown:0:0", "type": "internal", "unknownAttrData": "", "unknownAttrLen": "0", "weight": "0" }, "children": [ { "bgpAsSeg": { "attributes": { "order": "3", "rn": "seg-3" }, "children": [ { "bgpAsItem": { "attributes": { "asn": "91", "order": "1", "rn": "asn-1" } } } ] } }, { "bgpAsSeg": { "attributes": { "order": "1", "rn": "seg-1" }, "children": [ { "bgpAsItem": { "attributes": { "asn": "101", "order": "1", "rn": "asn-1" } } } ] } }, { "bgpAsSeg": { "attributes": { "order": "2", "rn": "seg-2" }, "children": [ { "bgpAsItem": { "attributes": { "asn": "234", "order": "1", "rn": "asn-1" } } }, { "bgpAsItem": { "attributes": { "asn": "4567", "order": "3", "rn": "asn-3" } } }, { "bgpAsItem": { "attributes": { "asn": "5678", "order": "2", "rn": "asn-2" } } } ] } }, { "bgpRegComm": { "attributes": { "community": "regular:as2-nn2:789:123", "rn": "rcomm-regular:as2-nn2:789:123" } } }, { "bgpExtComm": { "attributes": { "encap": "vxlan-8", "rn": "ecomm", "rtrMac": "D8:B1:80:76:8E:77" }, "children": [ { "bgpExtCommRt": { "attributes": { "community": "extended:as2-nn2:32:1000", "rn": "rt-extended:as2-nn2:32:1000" } } }, { "bgpExtCommRt": { "attributes": { "community": "extended:as2-nn2:31:1000", "rn": "rt-extended:as2-nn2:31:1000" } } } ] } } ] } } ] } }, { "bgpDampeningCtrl": { "attributes": { "childAction": "", "halfLife": "1", "maxSupprPenalty": "40", "maxSuppressTime": "2", "modTs": "2018-06-20T11:03:47.935+00:00", "persistentOnReload": "true", "reuse": "10", "rn": "dampening", "rtMap": "", "status": "", "suppress": "30" } } } ] } }, { "warning": { "attributes": { "text": "backend rv=0, Batch size [100] is less than Route size [101]. Increase the batch-size and try again" } } } ] }