Policy > Networking > Connectivity > Segment > Statistics

Get infra segment port statistics information

Get infra segment port statistics information.

Request:

Method:
GET
URI Path(s):
/policy/api/v1/infra/segments/<segments-id>/ports/<port-id>/statistics
Request Headers:
n/a
Query Parameters:
L2L3RuntimeRequestParameters+
Request Body:
n/a

Example Request:

GET https://<policy-mgr>/policy/api/v1/infra/segments/tier0-ls-2/ports/ls2-p1/statistics?enforcement_point_path=/infra/sites/default/enforcement-points/default

Successful Response:

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

Example Response:

{ "rx_packets": { "total": 0 }, "rx_bytes": { "total": 0 }, "tx_packets": { "total": 0 }, "tx_bytes": { "total": 0 }, "logical_port_id": "706aecff-7741-4856-bc9b-d96fbcf474b8" }

Required Permissions:

read

Feature:

policy_segment

Additional Errors: