Policy > Networking > Connectivity > Segments > MAC Table

Get Tier-1 segment MAC table

Returns MAC table for a segment

Request:

Method:
GET
URI Path(s):
/policy/api/v1/infra/tier-1s/{tier-1-id}/segments/{segment-id}/mac-table
/policy/api/v1/global-infra/tier-1s/{tier-1-id}/segments/{segment-id}/mac-table
/policy/api/v1/orgs/{org-id}/projects/{project-id}/infra/tier-1s/{tier-1-id}/segments/{segment-id}/mac-table
Request Headers:
n/a
Query Parameters:
PolicyListL2TablesParameters+
Request Body:
n/a

Example Request:

https://policy-mgr/policy/api/v1/infra/tier-1s/pepsi/segments/TIER0_DOWN_LINK_SWITCH/mac-table?source=realtime

Successful Response:

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

Example Response:

{ "last_update_timestamp": 1591767144064, "results": [ { "mac_address": "00:0c:29:ce:0f:77", "tep_ip": "100.100.100.3", "tep_mac_address": "00:50:56:6a:af:ce" } ], "result_count": 1, "sort_by": "display_name", "sort_ascending": true }

Required Permissions:

read

Feature:

policy_statistics

Additional Errors: