Network Management
EthernetInterfaces resources are used to manage BMC network configuration.
Viewing Network Settings
URI: /redfish/v1/Managers/1/EthernetInterfaces/1
Method: GET
Response: 200
{
"@odata.type": "#EthernetInterface.v1_6_3.EthernetInterface",
"@odata.id": "/redfish/v1/Managers/1/EthernetInterfaces/1",
"Id": "1",
"Name": "Manager Ethernet Interface",
"Description": "Management Network Interface",
"Status": {
"State": "Enabled",
"Health": "OK"
},
"InterfaceEnabled": true,
"LinkStatus": "LinkUp",
"MACAddress": "3C:EC:EF:3B:FF:FF",
"SpeedMbps": 1000,
"SpeedMbps@Redfish.AllowableValues": [
"100",
"1000"
],
"AutoNeg": true,
"FullDuplex": true,
"MTUSize": 1500,
"HostName": "local",
"FQDN": "local.supermicro.com",
"MaxIPv6StaticAddresses": 5,
"VLAN": {
"VLANEnable": false,
"VLANId": 0
},
"DHCPv4": {
"DHCPEnabled": true,
"UseDNSServers": false,
"UseGateway": true,
"UseNTPServers": false,
"UseStaticRoutes": false,
"UseDomainName": false,
"FallbackAddress": "None"
},
"DHCPv6": {
"OperatingMode": "Stateless",
"UseDNSServers": false,
"UseDomainName": false,
"UseNTPServers": false,
"UseRapidCommit": false
},
"IPv4Addresses": [
{
"Address": "10.10.10.221",
"SubnetMask": "255.255.255.0",
"AddressOrigin": "DHCP",
"Gateway": "10.10.10.1"
}
],
"StatelessAddressAutoConfig": {
"IPv4AutoConfigEnabled": false,
"IPv6AutoConfigEnabled": true
},
"IPv4StaticAddresses": [
{
"Address": null,
"SubnetMask": null,
"Gateway": null
}
],
"IPv6StaticAddresses": [
{
"Address": "::",
"PrefixLength": 64
},
{
"Address": "::",
"PrefixLength": 64
},
{
"Address": "::",
"PrefixLength": 64
},
{
"Address": "::",
"PrefixLength": 64
},
{
"Address": "::",
"PrefixLength": 64
}
],
"IPv6StaticDefaultGateways": [
],
"IPv6DefaultGateway": "fe80::37a8:5e61:4a0b:c0c7",
"IPv6Addresses": [
{
"Address": "2111:1111::3eec:efff:fe3b:e02f",
"PrefixLength": 64,
"AddressOrigin": "SLAAC",
"AddressState": "Preferred"
},
{
"Address": "fe80::3eec:efff:fe3b:e02f",
"PrefixLength": 64,
"AddressOrigin": "LinkLocal",
"AddressState": "Preferred"
}
],
"NameServers": [
"2111:1111::fd",
"10.10.10.205"
],
"StaticNameServers": [
"10.10.10.205",
"10.10.10.226",
"2001:db8::fd"
],
"Oem": {
"Supermicro": {
"@odata.type": "#SmcEthernetInterfaceExtensions.v1_0_1.EthernetInterface",
"IPProtocolStatus": "Dual",
"UDID": "0E:00:00:01:00:01:2C:4A:A1:C3:3C:EC:EF:3B:E0:2F",
"LANInterface": "Failover",
"LANInterface@Redfish.AllowableValues": [
"Dedicated",
"Shared",
"Failover"
],
"ActiveInterface": "Dedicated"
}
},
"@odata.etag": "\"5667f8ea43ffd014901700ad70073bb2\""
}
IPv6 Configuration
URI: /redfish/v1/Managers/1/EthernetInterfaces/1
Method: PATCH
Payload:.
{
"IPv6StaticAddresses":[{"Address": "<IP>", "PrefixLength": 64}]
}
Host Interface
Enabling Host Interface
URI: /redfish/v1/Managers/1/HostInterfaces/1
Method: PATCH
Payload:
{
"InterfaceEnabled": true
}
Response:
{
"@odata.type": "#HostInterface.v1_2_2.HostInterface",
"@odata.id": "/redfish/v1/Managers/1/HostInterfaces/1",
"Id": "1",
"Name": "Host Interface",
"Description": "Management Host Interface",
"HostInterfaceType": "NetworkHostInterface",
"Status": {
"State": "Enabled",
"Health": "OK"
},
"InterfaceEnabled": true,
"ExternallyAccessible": false,
"AuthenticationModes": [
"BasicAuth",
"RedfishSessionAuth"
],
"HostEthernetInterfaces": {
"@odata.id": "/redfish/v1/Managers/1/HostInterfaces/1/HostEthernetInterfaces"
},
"ManagerEthernetInterface": {
"@odata.id": "/redfish/v1/Managers/1/EthernetInterfaces/ToHost"
},
"NetworkProtocol": {
"@odata.id": "/redfish/v1/Managers/1/NetworkProtocol"
},
"Links": {
"ComputerSystems": [
{
"@odata.id": "/redfish/v1/Systems/1"
}
]
},
"Oem": {}
}
Editing a Host IP Address
URI: /redfish/v1/Systems/1/EthernetInterfaces/ToManager
Method: PATCH
Payload:
{
"IPv4StaticAddresses":[{"Address": "169.254.3.<num>"}]
}