System Administration > Configuration > System Properties > Dataplane

Get the physical port extended statistics

Returns the extended statistics for the specified physical port. Statistics information
includes Tx and Rx packets, bytes, drops and errors. Output will differ depending
upon the physical port hardware type.

Request:

Method:
GET
URI Path(s):
/api/v1/transport-nodes/{transport-node-id}/node/services/dataplane/physical-ports/{physical-port}/xstats
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
n/a

Example Request:

GET https://<nsx-mgr>/api/v1/node/services/dataplane/physical-ports/fp-eth0/xstats

Successful Response:

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

Example Response:

{ "rx_errors": 0, "rx_good_bytes": 8251348, "rx_good_packets": 72838, "rx_mbuf_allocation_errors": 0, "rx_missed_errors": 0, "rx_q0_bytes": 8251348, "rx_q0_drop_err": 0, "rx_q0_drop_fcs": 0, "rx_q0_drop_total": 0, "rx_q0_errors": 0, "rx_q0_packets": 72838, "rx_q0_rx_buf_alloc_failure": 0, "tx_errors": 0, "tx_good_bytes": 0, "tx_good_packets": 0, "tx_q0_bytes": 0, "tx_q0_drop_too_many_segs": 0, "tx_q0_drop_total": 0, "tx_q0_drop_tso": 0, "tx_q0_packets": 0, "tx_q0_tx_ring_full": 0 }

Required Permissions:

read

Feature:

system_administration

Additional Errors: