NSX-T Data Center REST API
Get MAC Table for Logical Switch of the Given ID (lswitch-id)
Returns MAC table of a specified logical switch in CSV format from the given transportnode if a transport node id is given in the query parameter from the
Central Controller Plane.
The query parameter "source=cached" is not supported.
Request:
Method:
              GET
            URI Path(s):
              
              
                  
                  /api/v1/logical-switches/<lswitch-id>/mac-table?format=csv
                  
              
            Request Headers:
                n/a
            Query Parameters:
    TransportNodeIdParameters+
  Request Body:
    n/a
  Example Request:
GET https://<nsx-mgr>/api/v1/logical-switches/<lswitch-id>/mac-table?format=csv&source=realtimeSuccessful Response:
Response Code:
                200 OK
              Response Headers:
                  
                  Content-type: text/csv
                Response Body:
    MacAddressCsvListResult+
  