System Administration > Configuration > Fabric > Nodes > Network Interfaces

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/transport-nodes/{transport-node-id}/node/network/interfaces/{interface-id}/stats
/api/v1/cluster/{cluster-node-id}/node/network/interfaces/{interface-id}/stats
/api/v1/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/stats

Successful Response:

Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
NodeInterfaceStatisticsProperties+

Example Response:

{ "interface_id": "eth0", "rx_bytes": 7360718 "rx_dropped": 1813, "rx_errors": 0, "rx_frame": 0, "rx_packets": 91656, "tx_bytes": 31611, "tx_carrier": 0, "tx_colls": 0, "tx_dropped": 0, "tx_errors": 0, "tx_packets": 261, }

Required Permissions:

read

Feature:

system_administration

Additional Errors: