NSX-T Data Center REST API

Get tier-0 router link statistics summary information

Get tier-0 router link statistics summary information. In case tier 1 is A/A, and the edge cluster is not
the response will have interface_policy_path and logical_router_port_id empty because all logical router
port stats are aggregated from all edge nodes.

Request:

Method:
GET
URI Path(s):
/policy/api/v1/infra/tier-0s/{tier-0-id}/tier-1-interface/statistics/summary
/policy/api/v1/global-infra/tier-0s/{tier-0-id}/tier-1-interface/statistics/summary
Request Headers:
n/a
Query Parameters:
RouterLinkRuntimeRequestParameters+
Request Body:
n/a

Successful Response:

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

Example Response:

{ "interface_policy_path": "/infra/realized-state/enforcement-points/default/logical-ports/pepsi-production_t1-t0_lrp", "last_update_timestamp": 1705966281748, "rx": { "total_bytes": 205842, "total_packets": 4901, "dropped_packets": 401 }, "tx": { "total_bytes": 0, "total_packets": 0, "dropped_packets": 0 }, "logical_router_port_id": "603a02fe-919b-53c4-a5bb-5cd905438108" }

Required Permissions:

read

Feature:

policy_t0

Additional Errors: