Querying ARP, Adjacency Statistics, and Tables

Controller Statistics

Controller Statistics
POST http://<IP_Address>/api/node/mo/sys/arp/inst/globalstats/controllerstats.json?rsp-foreign-subtree=ephemeral&batch-id=1&batch-size=20000
{
  "totalCount": "1",
  "imdata": [
    {
      "arpControllerStats": {
        "attributes": {
          "adjAddCount": "0",
          "adjAddErrorCount": "0",
          "adjDelCount": "0",
          "adjDelErrorCount": "0",
          "childAction": "",
          "dn": "sys/arp/inst/globalstats/controllerstats",
          "modTs": "never",
          "persistentOnReload": "false",
          "status": ""
        }
      }
    }
  ]
}

See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/media/dme/index.html

For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide
https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html

Querying Controller Statistics

Querying Controller Statistics
GET http://<IP_Address>/api/node/mo/sys/arp/inst/globalstats/controllerstats.json?rsp-subtree=full&rsp-foreign-subtree=ephemeral&batch-id=1&batch-size=20000

Querying VPC Statistics

Querying VPC Statistics
GET http://<IP_Address>/api/node/mo/sys/arp/inst/globalstats/vpcstats.json?rsp-subtree=full&rsp-foreign-subtree=ephemeral&batch-id=1&batch-size=20000  

Querying Tunnel Statistics

Querying Tunnel Statistics
GET http://<IP_Address>/api/node/mo/sys/arp/inst/globalstats/tunnelstats.json?rsp-subtree=full&rsp-foreign-subtree=ephemeral&batch-id=1&batch-size=20000  

Querying Suppression Cache Information

Querying Suppression Cache Information
GET http://<IP_Address>/api/node/mo/sys/arp/inst/globalstats/supcachestats.json?rsp-subtree=full&rsp-foreign-subtree=ephemeral&batch-id=1&batch-size=20000

GET http://<IP_Address>/api/node/mo/sys/arp/inst/db-supcache/vlan-{id}.json

GET http://<IP_Address>/api/node/mo/sys/arp/inst/db-supcache/vlan-{id}/ip-{ip}.json

Querying OpenFlow Statistics

Querying OpenFlow Statistics

GET http://<IP_Address>/api/node/mo/sys/arp/inst/globalstats/ofastats.json?rsp-subtree=full&rsp-foreign-subtree=ephemeral&batch-id=1&batch-size=20000

Querying Interface Statistics

Querying Interface Statistics
GET http://<IP_Address>/api/mo/sys/arp/inst/dom-{name}/if-[{id}].json?rsp-subtree=full&rsp-foreign-subtree=ephemeral&batch-id=1&batch-size=20000

Querying Adjacency Information

Adjacency Information
Query for IPv4 adjacency information dynamically learned through ARP:

GET http://<IP_Address>/api/node/mo/sys/arp/inst/dom-{name}/db-ip/if-[{id}]/ip-[{ip}].json?rsp-subtree=full&rsp-foreign-subtree=ephemeral&batch-id=1&batch-size=20000

Query for complete adjacency table learned in the system:

GET http://<IP_Address>/api/node/mo/sys/adjacency/inst/dom-{name}/db-{ip | ipv6}/if-[{id}]/ip-[{ip}]].json?rsp-subtree=full&rsp-foreign-subtree=ephemeral&batch-id=1&batch-size=20000