Policy > Networking > Network Services > VPN > IPSEC > Session > Summary

Get IPSec VPN Session Summary

Summarized view of all tier-1 IPSec VPN sessions for a specified service.

Request:

Method:
GET
URI Path(s):
/policy/api/v1/infra/tier-1s/<tier-1-id>/locale-services/<locale-service-id>/ipsec-vpn-services/<service-id>/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/locale-services/TIER1_LOCAL_SERVICE/ipsec-vpn-services/test-ipsec-svc/summary

Successful Response:

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

Example Response:

{ "ipsec_vpn_service_path": "/infra/tier-1s/TLR1_LR/locale-services/TIER1_LOCAL_SERVICE/ipsec-vpn-services/test-ipsec-svc", "display_name": "test-ipsec-svc", "session_summary": { "established_sessions": 0, "failed_sessions": 1, "degraded_sessions": 0, "total_sessions": 1 }, "aggregate_traffic_counters": { "packets_in": 0, "packets_out": 0, "bytes_in": 0, "bytes_out": 0, "dropped_packets_in": 0, "dropped_packets_out": 0 }, "traffic_summary_per_session": [ { "traffic_counters": { "packets_in": 0, "packets_out": 0, "bytes_in": 0, "bytes_out": 0, "dropped_packets_in": 0, "dropped_packets_out": 0 }, "ipsec_vpn_session": { "target_id": "/infra/tier-1s/TLR1_LR/locale-services/TIER1_LOCAL_SERVICE/ipsec-vpn-services/test-ipsec-svc/sessions/2a30271f-a856-4168-9097-b5955f40d446", "target_type": "IPSecVPNSession", "is_valid": true } } ] }

Required Permissions:

read

Feature:

policy_statistics

Additional Errors: