Policy > Networking > Network Services > VPN > L2VPN > Remote-Mac

Get L2Vpn session remote mac for logical switch

Returns L2Vpn session remote macs for a logical switch.
Data is fetched from enforcement point.

Request:

Method:
GET
URI Path(s):
/policy/api/v1/infra/tier-0s/<tier-0-id>/locale-services/<locale-service-id>/l2vpn-services/<service-id>/sessions/<session-id>/remote-mac
Request Headers:
n/a
Query Parameters:
PolicyL2VpnRemoteMacParameters+
Request Body:
n/a

Example Request:

GET https://<policy-mgr>/policy/api/v1/infra/tier-0s/int_net/locale-services/default/l2vpn-services/default/sessions/default/remote-mac

Successful Response:

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

Example Response:

{ "display_name": "default-l2vpn-session", "remote_macs": [ { "remote_mac_addresses": [ 00:0a:95:9d:68:16 ], "segment_path": "/infra/tier-0s/default-tier0-id/segments/default-segment-id" } ] }

Required Permissions:

read

Feature:

policy_statistics

Additional Errors: