ProLiant Servers (ML,DL,SL)
1753485 Members
4369 Online
108794 Solutions
New Discussion

Mac address via iLo API

 
joerod
Visitor

Mac address via iLo API

I'd like to retrive the Mac addresses of interfaces via the iLo API.  The API documentation states that this information should be located here 

'/rest/v1/Systems/1/NetworkAdapter'

But when I make a call against that URL I get a 404.  Does anyone know how to retrive this data?

Thanks!

3 REPLIES 3
Dennis Handly
Acclaimed Contributor

Re: MAC address via iLo API

What model server do you have?  What OS are you running?

joerod
Visitor

Re: MAC address via iLo API

ProLiant BL460c Gen9, Windows 2012r2

JayFromIT
Advisor

Re: Mac address via iLo API

I know this is a little late but, I came across this because while googling the same question, I didn't want to look through technical documentation to get the answer. It's not user-friendly, hence this is why I am posting it here for future people who run into this.

https://techhub.hpe.com/eginfolib/servers/docs/HPRestfultool/iLo4/data_model_reference.html

for OS NIC

redfish/v1/Systems/1/EthernetInterfaces/

for ilo NIC

redfish/v1/Managers/1/EthernetInterfaces/