Querying Forwarding Route Information
DME
Copy
GET http://<IP_Address>/api/mo/sys/ipfib.json?rsp-subtree=full&rsp-foreign-subtree=ephemeral&batch-size=1000&batch-id=1
Response
{ "totalCount": "1", "imdata": [ { "ipfibEntity": { "attributes": { "childAction": "", "dn": "sys/ipfib", "modTs": "2019-05-09T19:26:48.407+00:00", "status": "" }, "children": [ { "ipfibDom": { "attributes": { "name": "", "rn": "dom-" }, "children": [ { "ipfibRoute": { "attributes": { "addrType": "IPV6", "partialInst": "no", "pfxAddr": "ff00::/8", "rn": "pfx-[ff00::/8]" }, "children": [ { "ipfibRouteNextHopInfo": { "attributes": { "nhAddr": "::", "nhIntf": "null0", "outLabel": "", "outOperation": "DEFAULT", "partialInst": "", "rn": "nh-[0.0.0.0]", "routeType": "DROP" } } } ] } }, { "ipfibRoute": { "attributes": { "addrType": "IPV6", "partialInst": "no", "pfxAddr": "fe80::/10", "rn": "pfx-[fe80::/10]" }, "children": [ { "ipfibRouteNextHopInfo": { "attributes": { "nhAddr": "::", "nhIntf": "supeth1", "outLabel": "", "outOperation": "DEFAULT", "partialInst": "", "rn": "nh-[0.0.0.0]", "routeType": "RECEIVE" } } } ] } }, { "ipfibRoute": { "attributes": { "addrType": "IPV4", "partialInst": "no", "pfxAddr": "0.0.0.0", "rn": "pfx-[0.0.0.0]" }, "children": [ { "ipfibRouteNextHopInfo": { "attributes": { "nhAddr": "0.0.0.0", "nhIntf": "null0", "outLabel": "", "outOperation": "DEFAULT", "partialInst": "", "rn": "nh-[0.0.0.0]", "routeType": "DROP" } } } ] } }, { "ipfibRoute": { "attributes": { "addrType": "IPV4", "partialInst": "no", "pfxAddr": "127.0.0.0/8", "rn": "pfx-[127.0.0.0/8]" }, "children": [ { "ipfibRouteNextHopInfo": { "attributes": { "nhAddr": "0.0.0.0", "nhIntf": "null0", "outLabel": "", "outOperation": "DEFAULT", "partialInst": "", "rn": "nh-[0.0.0.0]", "routeType": "DROP" } } } ] } }, { "ipfibRoute": { "attributes": { "addrType": "IPV6", "partialInst": "no", "pfxAddr": "::/127", "rn": "pfx-[::/127]" }, "children": [ { "ipfibRouteNextHopInfo": { "attributes": { "nhAddr": "::", "nhIntf": "null0", "outLabel": "", "outOperation": "DEFAULT", "partialInst": "", "rn": "nh-[0.0.0.0]", "routeType": "DROP" } } } ] } }, { "ipfibRoute": { "attributes": { "addrType": "IPV4", "partialInst": "no", "pfxAddr": "255.255.255.255", "rn": "pfx-[255.255.255.255]" }, "children": [ { "ipfibRouteNextHopInfo": { "attributes": { "nhAddr": "0.0.0.0", "nhIntf": "supeth1", "outLabel": "", "outOperation": "DEFAULT", "partialInst": "", "rn": "nh-[0.0.0.0]", "routeType": "RECEIVE" } } } ] } } ] } }, { "ipfibDom": { "attributes": { "name": "default", "rn": "dom-default" }, "children": [ { "ipfibRoute": { "attributes": { "addrType": "IPV6", "partialInst": "no", "pfxAddr": "2001::100:10:2:0/112", "rn": "pfx-[2001::100:10:2:0/112]" }, "children": [ { "ipfibRouteNextHopInfo": { "attributes": { "nhAddr": "0.0.0.0", "nhIntf": "eth1/96", "outLabel": "", "outOperation": "DEFAULT", "partialInst": "", "rn": "nh-[0.0.0.0]", "routeType": "ATTACHED" } } } ] } }, { "ipfibRoute": { "attributes": { "addrType": "IPV6", "partialInst": "no", "pfxAddr": "fe80::/10", "rn": "pfx-[fe80::/10]" }, "children": [ { "ipfibRouteNextHopInfo": { "attributes": { "nhAddr": "::", "nhIntf": "supeth1", "outLabel": "", "outOperation": "DEFAULT", "partialInst": "", "rn": "nh-[0.0.0.0]", "routeType": "RECEIVE" } } } ] } }, { "ipfibRoute": { "attributes": { "addrType": "IPV6", "partialInst": "no", "pfxAddr": "::/127", "rn": "pfx-[::/127]" }, "children": [ { "ipfibRouteNextHopInfo": { "attributes": { "nhAddr": "::", "nhIntf": "null0", "outLabel": "", "outOperation": "DEFAULT", "partialInst": "", "rn": "nh-[0.0.0.0]", "routeType": "DROP" } } } ] } }, { "ipfibRoute": { "attributes": { "addrType": "IPV6", "partialInst": "no", "pfxAddr": "2001::100:10:2:2", "rn": "pfx-[2001::100:10:2:2]" }, "children": [ { "ipfibRouteNextHopInfo": { "attributes": { "nhAddr": "::", "nhIntf": "supeth1", "outLabel": "", "outOperation": "DEFAULT", "partialInst": "", "rn": "nh-[0.0.0.0]", "routeType": "RECEIVE" } } } ] } }, { "ipfibRoute": { "attributes": { "addrType": "IPV4", "partialInst": "no", "pfxAddr": "100.30.2.0/24", "rn": "pfx-[100.30.2.0/24]" }, "children": [ { "ipfibRouteNextHopInfo": { "attributes": { "nhAddr": "1.10.10.20", "nhIntf": "eth1/97", "outLabel": "27002 ", "outOperation": "PUSH", "partialInst": "", "rn": "nh-[1.10.10.20]", "routeType": "DEFAULT" } } } ] } }, { "ipfibRoute": { "attributes": { "addrType": "IPV4", "partialInst": "no", "pfxAddr": "100.20.2.0/24", "rn": "pfx-[100.20.2.0/24]" }, "children": [ { "ipfibRouteNextHopInfo": { "attributes": { "nhAddr": "1.10.10.20", "nhIntf": "eth1/97", "outLabel": "3", "outOperation": "POP", "partialInst": "", "rn": "nh-[1.10.10.20]", "routeType": "DEFAULT" } } } ] } }, { "ipfibRoute": { "attributes": { "addrType": "IPV4", "partialInst": "no", "pfxAddr": "100.10.2.0/24", "rn": "pfx-[100.10.2.0/24]" }, "children": [ { "ipfibRouteNextHopInfo": { "attributes": { "nhAddr": "0.0.0.0", "nhIntf": "eth1/96", "outLabel": "", "outOperation": "DEFAULT", "partialInst": "", "rn": "nh-[0.0.0.0]", "routeType": "ATTACHED" } } } ] } }, { "ipfibRoute": { "attributes": { "addrType": "IPV4", "partialInst": "no", "pfxAddr": "1.10.10.255", "rn": "pfx-[1.10.10.255]" }, "children": [ { "ipfibRouteNextHopInfo": { "attributes": { "nhAddr": "0.0.0.0", "nhIntf": "eth1/97", "outLabel": "", "outOperation": "DEFAULT", "partialInst": "", "rn": "nh-[0.0.0.0]", "routeType": "ATTACHED" } } } ] } }, { "ipfibRoute": { "attributes": { "addrType": "IPV4", "partialInst": "no", "pfxAddr": "100.10.2.0", "rn": "pfx-[100.10.2.0]" }, "children": [ { "ipfibRouteNextHopInfo": { "attributes": { "nhAddr": "0.0.0.0", "nhIntf": "null0", "outLabel": "", "outOperation": "DEFAULT", "partialInst": "", "rn": "nh-[0.0.0.0]", "routeType": "DROP" } } } ] } }, { "ipfibRoute": { "attributes": { "addrType": "IPV4", "partialInst": "no", "pfxAddr": "255.255.255.255", "rn": "pfx-[255.255.255.255]" }, "children": [ { "ipfibRouteNextHopInfo": { "attributes": { "nhAddr": "0.0.0.0", "nhIntf": "supeth1", "outLabel": "", "outOperation": "DEFAULT", "partialInst": "", "rn": "nh-[0.0.0.0]", "routeType": "RECEIVE" } } } ] } }, { "ipfibRoute": { "attributes": { "addrType": "IPV4", "partialInst": "no", "pfxAddr": "127.0.0.0/8", "rn": "pfx-[127.0.0.0/8]" }, "children": [ { "ipfibRouteNextHopInfo": { "attributes": { "nhAddr": "0.0.0.0", "nhIntf": "null0", "outLabel": "", "outOperation": "DEFAULT", "partialInst": "", "rn": "nh-[0.0.0.0]", "routeType": "DROP" } } } ] } }, { "ipfibRoute": { "attributes": { "addrType": "IPV6", "partialInst": "no", "pfxAddr": "ff00::/8", "rn": "pfx-[ff00::/8]" }, "children": [ { "ipfibRouteNextHopInfo": { "attributes": { "nhAddr": "::", "nhIntf": "null0", "outLabel": "", "outOperation": "DEFAULT", "partialInst": "", "rn": "nh-[0.0.0.0]", "routeType": "DROP" } } } ] } }, { "ipfibRoute": { "attributes": { "addrType": "IPV4", "partialInst": "no", "pfxAddr": "1.1.1.10", "rn": "pfx-[1.1.1.10]" }, "children": [ { "ipfibRouteNextHopInfo": { "attributes": { "nhAddr": "0.0.0.0", "nhIntf": "supeth1", "outLabel": "", "outOperation": "DEFAULT", "partialInst": "", "rn": "nh-[0.0.0.0]", "routeType": "RECEIVE" } } } ] } }, { "ipfibRoute": { "attributes": { "addrType": "IPV4", "partialInst": "no", "pfxAddr": "0.0.0.0", "rn": "pfx-[0.0.0.0]" }, "children": [ { "ipfibRouteNextHopInfo": { "attributes": { "nhAddr": "0.0.0.0", "nhIntf": "null0", "outLabel": "", "outOperation": "DEFAULT", "partialInst": "", "rn": "nh-[0.0.0.0]", "routeType": "DROP" } } } ] } }, { "ipfibRoute": { "attributes": { "addrType": "IPV4", "partialInst": "no", "pfxAddr": "1.1.1.20", "rn": "pfx-[1.1.1.20]" }, "children": [ { "ipfibRouteNextHopInfo": { "attributes": { "nhAddr": "1.10.10.20", "nhIntf": "eth1/97", "outLabel": "3", "outOperation": "POP", "partialInst": "", "rn": "nh-[1.10.10.20]", "routeType": "DEFAULT" } } } ] } }, { "ipfibRoute": { "attributes": { "addrType": "IPV4", "partialInst": "no", "pfxAddr": "1.1.1.30", "rn": "pfx-[1.1.1.30]" }, "children": [ { "ipfibRouteNextHopInfo": { "attributes": { "nhAddr": "1.10.10.20", "nhIntf": "eth1/97", "outLabel": "24030 ", "outOperation": "PUSH", "partialInst": "", "rn": "nh-[1.10.10.20]", "routeType": "DEFAULT" } } } ] } }, { "ipfibRoute": { "attributes": { "addrType": "IPV4", "partialInst": "no", "pfxAddr": "1.10.10.0/24", "rn": "pfx-[1.10.10.0/24]" }, "children": [ { "ipfibRouteNextHopInfo": { "attributes": { "nhAddr": "0.0.0.0", "nhIntf": "eth1/97", "outLabel": "", "outOperation": "DEFAULT", "partialInst": "", "rn": "nh-[0.0.0.0]", "routeType": "ATTACHED" } } } ] } }, { "ipfibRoute": { "attributes": { "addrType": "IPV4", "partialInst": "no", "pfxAddr": "100.10.2.255", "rn": "pfx-[100.10.2.255]" }, "children": [ { "ipfibRouteNextHopInfo": { "attributes": { "nhAddr": "0.0.0.0", "nhIntf": "eth1/96", "outLabel": "", "outOperation": "DEFAULT", "partialInst": "", "rn": "nh-[0.0.0.0]", "routeType": "ATTACHED" } } } ] } }, { "ipfibRoute": { "attributes": { "addrType": "IPV4", "partialInst": "no", "pfxAddr": "100.10.2.2", "rn": "pfx-[100.10.2.2]" }, "children": [ { "ipfibRouteNextHopInfo": { "attributes": { "nhAddr": "0.0.0.0", "nhIntf": "supeth1", "outLabel": "", "outOperation": "DEFAULT", "partialInst": "", "rn": "nh-[0.0.0.0]", "routeType": "RECEIVE" } } } ] } }, { "ipfibRoute": { "attributes": { "addrType": "IPV4", "partialInst": "no", "pfxAddr": "1.10.10.20", "rn": "pfx-[1.10.10.20]" }, "children": [ { "ipfibRouteNextHopInfo": { "attributes": { "nhAddr": "1.10.10.20", "nhIntf": "eth1/97", "outLabel": "", "outOperation": "DEFAULT", "partialInst": "", "rn": "nh-[1.10.10.20]", "routeType": "DEFAULT" } } } ] } }, { "ipfibRoute": { "attributes": { "addrType": "IPV4", "partialInst": "no", "pfxAddr": "1.10.10.0", "rn": "pfx-[1.10.10.0]" }, "children": [ { "ipfibRouteNextHopInfo": { "attributes": { "nhAddr": "0.0.0.0", "nhIntf": "null0", "outLabel": "", "outOperation": "DEFAULT", "partialInst": "", "rn": "nh-[0.0.0.0]", "routeType": "DROP" } } } ] } }, { "ipfibRoute": { "attributes": { "addrType": "IPV4", "partialInst": "no", "pfxAddr": "1.10.10.10", "rn": "pfx-[1.10.10.10]" }, "children": [ { "ipfibRouteNextHopInfo": { "attributes": { "nhAddr": "0.0.0.0", "nhIntf": "supeth1", "outLabel": "", "outOperation": "DEFAULT", "partialInst": "", "rn": "nh-[0.0.0.0]", "routeType": "RECEIVE" } } } ] } }, { "ipfibLabel": { "attributes": { "fec": "100.30.2.0/24", "fectype": "DEFAULT", "label": "26002", "rn": "label-26002", "tableId": "1" } } }, { "ipfibLabel": { "attributes": { "fec": "100.20.2.0/24", "fectype": "DEFAULT", "label": "25002", "rn": "label-25002", "tableId": "1" } } }, { "ipfibLabel": { "attributes": { "fec": "1.1.1.30/32", "fectype": "DEFAULT", "label": "23030", "rn": "label-23030", "tableId": "1" } } }, { "ipfibLabel": { "attributes": { "fec": "1.1.1.20/32", "fectype": "DEFAULT", "label": "23020", "rn": "label-23020", "tableId": "1" } } } ] } } ] } }, { "warning": { "attributes": { "text": "backend rv=43700005, Done, no more data." } } } ] }