NSX-T Data Center REST API
Get Tier-1 L2VPN session configuration for the peer site
Get peer config for the Tier-1 L2VPN session to configure the remoteside of the tunnel.
- no enforcement point path specified: L2VPN Session Peer Codes
will be evaluated on each enforcement point.
- enforcement point paths specified: L2VPN Session Peer Codes
are evaluated only on the given enforcement points.
API supported only when L2VPN Service is in Server Mode.
Request:
Method:
GET
URI Path(s):
/policy/api/v1/infra/tier-1s/<tier-1-id>/l2vpn-services/<service-id>/sessions/<session-id>/peer-config
Request Headers:
n/a
Query Parameters:
PolicyRuntimeOnEpRequestParameters+
Request Body:
n/a
Example Request:
GET https://<policy-mgr>/policy/api/v1/infra/tier-1s/cgw/l2vpn-services/default/sessions/streteched-pa-site/peer-configSuccessful Response:
Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
AggregateL2VPNSessionPeerConfig+