NSX-T Data Center REST API
Get VPC Subnet port MAC table in CSV
Returns MAC table for a VPC Subnet portRequest:
Method:
GET
URI Path(s):
/policy/api/v1/orgs/{org-id}/projects/{project-id}/vpcs/{vpc-id}/subnets/{subnet-id}/ports/{port-id}/mac-table/csv
Request Headers:
n/a
Query Parameters:
PolicyL2TablesParameters+
Request Body:
n/a
Example Request:
https://{{nsx-mgr}}/policy/api/v1/orgs/org-1/projects/project-1/vpcs/vpc-1/subnets/subnet-1/ports/default:d808cd01-b20b-485b-8e57-983a84fa7642/mac-table/csv?source=realtimeSuccessful Response:
Response Code:
200 OK
Response Headers:
Content-type: text/csv
Response Body:
SegmentPortMacAddressCsvListResult+