- Community Home
- >
- Servers and Operating Systems
- >
- HPE ProLiant
- >
- ProLiant Servers (ML,DL,SL)
- >
- Cannot Read Network Adapter
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2024 08:43 AM - last edited on 04-06-2024 10:57 PM by support_s
03-28-2024 08:43 AM - last edited on 04-06-2024 10:57 PM by support_s
Cannot Read Network Adapter
I am working on a ProLiant DL380 Gen11, Firmware 1.57 using HPEilocmdlets 4.3.0.0 and Powershell version 5.1. When I run the command Get-HpeiloNicInfo I only receive output for the EthernetInterface. the NetworkAdapter output is blank. I need to retrieve the MAC address for the network adapter.
$nic = Get-hpeiloNICInfo -conneciton $iloconnection
- Tags:
- Operating System
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2024 02:45 AM
04-01-2024 02:45 AM
Re: Cannot Read Network Adapter
Hi DQ07 ,
Could you please try to use the following command Get-NetAdapter in powershell to retrieve Network Adapter.
Thanks and Regards,
Manoj
I am an HPE Employee
Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2024 02:48 AM
04-01-2024 02:48 AM
Re: Cannot Read Network Adapter
Hello,
You may refer to "RESTful Interface Tool User Guide" and see if it helps.
Regards,
Views expressed herein are my personal opinion and are not the views of HPE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2024 03:03 AM
04-01-2024 03:03 AM
Re: Cannot Read Network Adapter
Hi @DQ07
You can use this command getmac /v to retrieve the MAC address for the network adapter.
It is also possible to determine the MAC address of a NIC with the ipconfig /all command.
Regards,
Greeshma
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2024 12:14 AM
04-04-2024 12:14 AM
Re: Cannot Read Network Adapter
Hi @DQ07 ,
with the cmdlet "Get-hpeiloNICInfo," there are occasional issues with retrieving the MAC address. Please try using "ilorest.exe" in PowerShell as follows (or manually with ilorest):
$iloRestExe = 'C:\Program Files\Hewlett Packard Enterprise\RESTful Interface Tool\ilorest.exe'
$r = & "$iloRestExe" list Name "PhysicalPorts/MacAddress" --selector=NetworkAdapter --url $iloIP --logout -u $iloAdministrator -p $ilopassword -j
$r = $r | select -skip 1 | select -skiplast 2 | ConvertFrom-Json
$mac = $r.PhysicalPorts[0].MacAddress -replace(":","")
Certainly, you can also try it like this:
$sharedNic = Get-HPEiLOIPv4NetworkSetting -Connection $iloConnection -InterfaceType Shared -WarningAction SilentlyContinue
$dedicatedIloNic = Get-HPEiLOIPv4NetworkSetting -Connection $iloConnection -InterfaceType Dedicated -WarningAction SilentlyContinue
best regards Dietmar