try the below command [$] ipmitool lan print
It provides MACAddress and IP related information. From: Thilo-Alexander Ginkel <th...@ginkel.com> To: ipmitool-devel@lists.sourceforge.net Date: 05/11/2012 03:32 PM Subject: [Ipmitool-devel] Retrieving NIC information for iLO 3-based HP ProLiant DL360 G7 Hi there, has anyone used ipmitool to retrieve the MAC addresses of the NICs in an HP ProLiant DL360 G7 running HP's iLO 3? iLO 3 supports IPMI 2.0 via LAN and I can query it just fine: -- 8< -- ipmitool> bmc info Device ID : 19 Device Revision : 1 Firmware Revision : 1.28 IPMI Version : 2.0 Manufacturer ID : 11 Manufacturer Name : Hewlett-Packard Product ID : 8192 (0x2000) Product Name : Unknown (0x2000) Device Available : yes Provides Device SDRs : yes Additional Device Support : Sensor Device SDR Repository Device SEL Device FRU Inventory Device Aux Firmware Rev Info : 0x00 0x00 0x00 0x30 -- 8< -- The question is which raw / OEM command to use to get the NIC information. BTW, the "fru" command does not help as it just returns some basic system info: -- 8< -- ipmitool> fru FRU Device Description : Builtin FRU Device (ID 0) Chassis Type : Rack Mount Chassis Chassis Serial : xxx Board Mfg Date : Mon Jan 1 00:00:00 1996 Board Mfg : HP Board Product : ProLiant DL360 G7 Board Serial : xxx Board Part Number : 579237-B21 Product Manufacturer : HP Product Name : ProLiant DL360 G7 Product Part Number : 579237-B21 Product Serial : xxx Product Asset Tag : -- 8< -- and I don't know what arguments I could supply to "fru read". Alternatively, I could use HP's proprietary XML-based protocol to fetch the NIC information (as an SMBIOS record), but that's ugly to parse as the XML response is not well-formed. Any ideas? Thanks, Thilo ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Ipmitool-devel mailing list Ipmitool-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ipmitool-devel ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Ipmitool-devel mailing list Ipmitool-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ipmitool-devel