System Administration > Configuration > Fabric > Nodes > Network Interfaces

Read the Node's Network Interface

Returns detailed information about the specified interface. Interface
information includes MTU, broadcast and host IP addresses, link and admin
status, MAC address, network mask, and the IP configuration method.

Request:

Method:
GET
URI Path(s):
/api/v1/node/network/interfaces/<interface-id>
/api/v1/transport-nodes/<transport-node-id>/node/network/interfaces/<interface-id>
/api/v1/cluster/<cluster-node-id>/node/network/interfaces/<interface-id>
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
n/a

Example Request:

GET https://<nsx-mgr>/api/v1/node/network/interfaces/eth0

Successful Response:

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

Example Response:

{ "admin_status": "up", "broadcast_address": "10.160.31.255", "default_gateway": "10.160.31.253", "interface_id": "eth0", "ip_addresses": [ { "ip_address": "10.160.30.117", "netmask": "255.255.224.0" } ], "ip_configuration": "static", "link_status": "up", "mtu": 1500, "physical_address": "02:00:16:60:c7:8f" }

Required Permissions:

read

Feature:

system_administration

Additional Errors: