Querying for Detailed NetFlow RTP Information (IPv4 and IPv6)
DME
Copy
GET http://<IP_Address>/api/mo/sys/hwtelemetry/netflow.json?rsp-subtree=children&rsp-foreign-subtree=ephemeral&batch-id=1&batch-size=50000&batch-context=" "
Response
{ "totalCount": "1", "imdata": [ { "netflowNetflow": { "attributes": { "childAction": "", "dn": "sys/hwtelemetry/netflow", "isRtpIpv4": "yes", "isRtpIpv6": "yes", "modTs": "2019-10-11T04:58:11.782+00:00", "rtpIpv4Acl": "", "rtpIpv6Acl": "", "rtpTimeout": "1440", "status": "" }, "children": [ { "netflowInst": { "attributes": { "adminSt": "enabled", "childAction": "", "ctrl": "", "modTs": "2019-10-11T04:58:08.065+00:00", "mode": "netflow", "name": "", "operErr": "", "rn": "inst-netflow", "status": "", "timeOut": "60" } } }, { "netflowFlowInfo": { "attributes": { "bytesPerSec": "1819726", "dip": "30.30.1.2", "dstPort": "21999", "flowId": "2", "flowStartTime": "21:16:52 UTC Oct 15 2019", "intfName": "Ethernet1/97", "lossEndTime": "", "lossStartTime": "", "pktCount": "133100", "pktLoss": "0", "protocol": "17", "rn": "flowinfo-2", "sip": "20.20.1.2", "srcPort": "30000" } } }, { "netflowFlowInfo": { "attributes": { "bytesPerSec": "1819726", "dip": "20.20.1.2", "dstPort": "21999", "flowId": "1", "flowStartTime": "21:16:52 UTC Oct 15 2019", "intfName": "Ethernet1/98", "lossEndTime": "", "lossStartTime": "", "pktCount": "133100", "pktLoss": "0", "protocol": "17", "rn": "flowinfo-1", "sip": "30.30.1.2", "srcPort": "30000" } } } ] } }, { "warning": { "attributes": { "text": "backend rv=43700005, No more ephemeral data to dump." } } } ] }