NSX-T Data Center REST API
Read the Node's Network Interface Statistics
On the specified interface, returns the number of received (rx), transmitted(tx), and dropped packets; the number of bytes and errors received and
transmitted on the interface; and the number of detected collisions.
Request:
Method:
GET
URI Path(s):
/api/v1/cluster/<cluster-node-id>/node/network/interfaces/<interface-id>/stats
/api/v1/node/network/interfaces/<interface-id>/stats
/api/v1/transport-nodes/<transport-node-id>/node/network/interfaces/<interface-id>/stats
/api/v1/node/network/interfaces/<interface-id>/stats
/api/v1/transport-nodes/<transport-node-id>/node/network/interfaces/<interface-id>/stats
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
n/a
Example Request:
GET https://<nsx-mgr>/api/v1/node/network/interfaces/eth0/statsSuccessful Response:
Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
NodeInterfaceStatisticsProperties+