Policy > Networking > Network Services > VPN > L2VPN > Sessions

Get L2VPN Session under Tier-1

Get L2VPN session under Tier-1.

Request:

Method:
GET
URI Path(s):
/policy/api/v1/infra/tier-1s/{tier-1-id}/l2vpn-services/{service-id}/sessions/{session-id}
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
n/a

Example Request:

GET https://<policy-mgr>/policy/api/v1/infra/tier-1s/cgw/l2vpn-services/default/sessions/stretched-pa-site

Successful Response:

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

Example Response:

{ "resource_type": "L2VPNSession", "description": "Stretched Palo Alto Site", "display_name": "stretched-pa-site", "enabled" : true, "transport_tunnels": [ "/infra/tier-1s/cgw/ipsec-vpn-services/default/sessions/rbs-1" ], "_create_user": "admin", "_create_time": 1516385949942, "_last_modified_user": "admin", "_last_modified_time": 1516385949942, "_system_owned": false, "_protection": "NOT_PROTECTED", "_revision" : 0 }

Required Permissions:

read

Feature:

policy_vpn

Additional Errors: