Policy > Networking > Connectivity > Segment > Statistics

Get tier-1 segment port statistics information

Get tier-1 segment port statistics information.

Request:

Method:
GET
URI Path(s):
/policy/api/v1/infra/tier-1s/<tier-1-id>/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/tier-1s/it_t1/segments/it-t1-seg/ports/default:cf3a0716-3ba0-4327-a8e5-b1e76269108f/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": { "multicast_broadcast": 6648, "dropped": 793, "total": 8546 }, "rx_bytes": { "multicast_broadcast": 565080, "dropped": 0, "total": 898998 }, "tx_packets": { "multicast_broadcast": 6648, "dropped": 0, "total": 8546 }, "tx_bytes": { "multicast_broadcast": 498600, "dropped": 0, "total": 880098 }, "dropped_by_security_packets": { "spoof_guard_dropped": [ { "packet_type": "IPV4", "counter": 0 }, { "packet_type": "IPV6", "counter": 0 }, { "packet_type": "ARP", "counter": 0 }, { "packet_type": "ND", "counter": 0 }, { "packet_type": "NON_IP", "counter": 0 } ], "bpdu_filter_dropped": 0, "dhcp_server_dropped_ipv4": 0, "dhcp_server_dropped_ipv6": 0, "dhcp_client_dropped_ipv4": 0, "dhcp_client_dropped_ipv6": 0 }, "mac_learning": { "mac_not_learned_packets_allowed": 0, "mac_not_learned_packets_dropped": 0, "macs_learned": 0 }, "logical_port_id": "cf3a0716-3ba0-4327-a8e5-b1e76269108f", "last_update_timestamp": 1548964938985 }

Required Permissions:

read

Feature:

policy_segment

Additional Errors: