Policy > Networking > Connectivity > Segments > MAC Table

Get infra segment MAC table

Returns MAC table for a segment

Request:

Method:
GET
URI Path(s):
/policy/api/v1/infra/segments/<segment-id>/mac-table
/policy/api/v1/global-infra/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/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: