Policy > Networking > Connectivity > Tier-0 Gateways > Tunnels

Get policy Tunnel statistics summary for given tunnel-id

Get policy Tunnel statistics summary for given tunnel-id This API is only available when using VMware NSX.

Request:

Method:
GET
URI Path(s):
/policy/api/v1/infra/tier-0s/{tier-0-id}/locale-services/{locale-svc-id}/tunnels/{tunnel-id}/statistics/summary
Request Headers:
n/a
Query Parameters:
BaseListRequestParameters+
Request Body:
n/a

Example Request:

GET https://<policy-mgr>/policy/api/v1/infra/tier-0s//locale-services//tunnels//statistics/summary

Successful Response:

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

Example Response:

{ "destination": "44.44.44.10", "tunnel_policy_path": "/infra/tier-0s/Tier0-LR1-AA/locale-services/T0-LR1-LocaleService-1/tunnels/aa-gre-1", "traffic_summary": { "last_update_timestamp": 1689829077378, "rx": { "total_bytes": 1347854, "total_packets": 25286, "dropped_packets": 0, "blocked_packets": 0, "destination_unsupported_dropped_packets": 0, "firewall_dropped_packets": 0, "ipsec_dropped_packets": 0, "ipsec_no_sa_dropped_packets": 0, "ipsec_no_vti_dropped_packets": 0, "ipv6_dropped_packets": 0, "kni_dropped_packets": 0, "l4port_unsupported_dropped_packets": 0, "malformed_dropped_packets": 0, "no_receiver_dropped_packets": 0, "no_route_dropped_packets": 0, "proto_unsupported_dropped_packets": 0, "redirect_dropped_packets": 0, "rpf_check_dropped_packets": 0, "ttl_exceeded_dropped_packets": 0 }, "tx": { "total_bytes": 889401, "total_packets": 17029, "dropped_packets": 0, "blocked_packets": 0, "firewall_dropped_packets": 0, "ipsec_dropped_packets": 0, "ipsec_no_sa_dropped_packets": 0, "ipsec_no_vti_dropped_packets": 0, "dad_dropped_packets": 0, "frag_needed_dropped_packets": 0, "ipsec_pol_block_dropped_packets": 0, "ipsec_pol_err_dropped_packets": 0, "no_arp_dropped_packets": 0, "no_linked_dropped_packets": 0, "no_mem_dropped_packets": 0, "non_ip_dropped_packets": 0, "service_insert_dropped_packets": 0 } }, "resource_type": "TUNNEL" }

Required Permissions:

read

Feature:

policy_t0

Additional Errors: