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

Read counters for transport node interfaces.

This API returns the counters of the specified interface. The counters reset on reboot or redeploy
of the appliance or restart of the data plane. NSX Manager polls the transport-node every minute
(by default) to update the data returned on this API. If you need near realtime values, use the query
parameter \"?source=realtime\" to the API and it will make NSX Manager collect the statistics from
the transport node and returns the updated counters.

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: