Policy > Networking > Connectivity > Tier-1 Gateways > Interfaces > Statistics

Get statistics for downlink router port on tier-1 router

Segment ID is the ID of the segment that is connected to the the tier-1

Request:

Method:
GET
URI Path(s):
/policy/api/v1/infra/tier-1s/<tier-1-id>/segments/<segment-id>/gateway-interface-statistics/summary
Request Headers:
n/a
Query Parameters:
PolicyRuntimeRequestParameters+
Request Body:
n/a

Example Request:

https://{{nsx-mgr}}/policy/api/v1/infra/tier-1s/TLR1_LR/segments/TIER1_DOWNLINK_SWITCH/gateway-interface-statistics/summary

Successful Response:

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

Example Response:

{ "interface_policy_path": "/infra/tier-1s/TLR1_LR/segments/TIER1_DOWNLINK_SWITCH", "last_update_timestamp": 1591854157020, "rx": { "total_bytes": 314886932, "total_packets": 678919, "dropped_packets": 151381 }, "tx": { "total_bytes": 75554376, "total_packets": 1130225, "dropped_packets": 151381 }, "logical_router_port_id": "cbac60fb-841f-4d29-951b-500f527bda34" }

Required Permissions:

read

Feature:

policy_statistics

Additional Errors: