Checking Ethernet Interfaces via Redfish - 3100-RL+

Modified on Thu, 16 Jul at 10:09 AM


For products in ICON 3100-RL+ range

Requirements:
   - IPMI firmware 1.60.12
   - "Network Stack" enabled in BIOS (under Advanced -> Network Stack Configuration)


For more information on using redfish interface see these other articles.




Network interfaces can be queried in two ways in the redfish interface. For the below interface as shown in Linux, see the equivalent Redfish outputs below.



Method 1

Available interfaces can be viewed under:

/redfish/v1/Systems/Self/EthernetInterfaces


Specific interface details can be viewed like so:

/redfish/v1/Systems/Self/EthernetInterfaces/EthernetInterface0


{
  "@odata.context": "/redfish/v1/$metadata#EthernetInterface.EthernetInterface",
  "@odata.etag": "\"1784191023\"",
  "@odata.id": "/redfish/v1/Systems/Self/EthernetInterfaces/EthernetInterface0",
  "@odata.type": "#EthernetInterface.v1_5_1.EthernetInterface",
  "DHCPv4": {
    "DHCPEnabled": false
  },
  "IPv4Addresses": [
    {
      "Address": "0.0.0.0",
      "AddressOrigin": "Static",
      "SubnetMask": "0.0.0.0"
    }
  ],
  "IPv6Addresses": [
    {
      "Address": "FE80:00:00:00:ABF:B8FF:FE6:913F",
      "AddressOrigin": "DHCPv6",
      "PrefixLength": 64
    }
  ],
  "IPv6DefaultGateway": "00:00:00:00:00:00:00:00",
  "Id": "EthernetInterface0",
  "InterfaceEnabled": true,
  "LinkStatus": "LinkUp",
  "Links": {
    "Chassis": {
      "@odata.id": "/redfish/v1/Chassis/Self"
    },
    "[email protected]": 0
  },
  "MACAddress": "08:BF:B8:06:91:3F",
  "MTUSize": 1500,
  "Name": "EthernetInterface0",
  "PermanentMACAddress": "08:BF:B8:06:91:3F",
  "Status": {
    "Health": "OK",
    "State": "Enabled"
  },
  "UefiDevicePath": "PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)",
  "VLANs": {
    "@odata.id": "/redfish/v1/Systems/Self/EthernetInterfaces/EthernetInterface0/VLANs"
  }
}



Method 2

Available interfaces can be viewed under:

/redfish/v1/Chassis/Self/NetworkAdapters/


Specific interface details can be viewed like so:

/redfish/v1/Chassis/Self/NetworkAdapters/DevType7_NIC0/NetworkPorts/DevType7_Slot4_Instance0_PORT0


{
  "@odata.context": "/redfish/v1/$metadata#NetworkPort.NetworkPort",
  "@odata.etag": "\"1784191022\"",
  "@odata.id": "/redfish/v1/Chassis/Self/NetworkAdapters/DevType7_NIC0/NetworkPorts/DevType7_Slot4_Instance0_PORT0",
  "@odata.type": "#NetworkPort.v1_2_3.NetworkPort",
  "ActiveLinkTechnology": "Ethernet",
  "[email protected]": [
    "Ethernet",
    "InfiniBand",
    "FibreChannel"
  ],
  "AssociatedNetworkAddresses": [
    "08:BF:B8:06:91:3F"
  ],
  "[email protected]": [
    "None",
    "TX",
    "RX",
    "TX_RX"
  ],
  "Id": "DevType7_Slot4_Instance0_PORT0",
  "LinkStatus": "Up",
  "Name": "DevType7_Slot4_Instance0_PORT0",
  "PhysicalPortNumber": "PortNumber_1",
  "PortMaximumMTU": 1500,
  "SignalDetected": true,
  "Status": {
    "Health": "OK",
    "State": "Enabled"
  }
}



Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article