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
+
PhysicalPortStats
(
schema
)
Name
Description
Type
Notes
name
Name
string
Readonly
queues
List of statistics per queue
array of
PhysicalPortQueueStats
rx_bytes
Number of received bytes
integer
Readonly
rx_errors
Number of receive errors
integer
Readonly
rx_misses
Number of receive misses
integer
Readonly
rx_nombufs
Number of received packets dropped due to lack of mbufs
integer
Readonly
rx_packets
Number of received packets
integer
Readonly
tx_bytes
Number of transmitted bytes
integer
Readonly
tx_drops
Number of transmit drops
integer
Readonly
tx_errors
Number of transmit errors
integer
Readonly
tx_packets
Number of transmitted packets
integer
Readonly
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:
404 Not Found
301 Moved Permanently
307 Temporary Redirect
400 Bad Request
403 Forbidden
409 Conflict
412 Precondition Failed
500 Internal Server Error
503 Service Unavailable