System Administration > Configuration > Fabric > Nodes > Transport Node Interfaces

Read the NSX Manager'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>/network/interfaces/<interface-id>/stats
Request Headers:
n/a
Query Parameters:
DataSourceParameters+
Request Body:
n/a

Example Request:

GET https://<nsx-mgr>/api/v1/transport-nodes/<node-id>/network/interfaces/<interface-id>/stats

Successful Response:

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

Example Response:

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

Required Permissions:

read

Feature:

aggregation_service_health_monitoring

Additional Errors: