<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: iLO MAC in HPE OneView</title>
    <link>https://community.hpe.com/t5/hpe-oneview/ilo-mac/m-p/7101589#M5611</link>
    <description>&lt;P&gt;Thanks Chris.&amp;nbsp; I'll give that a try next week.&amp;nbsp; &lt;LI-EMOJI id="lia_slightly-smiling-face" title=":slightly_smiling_face:"&gt;&lt;/LI-EMOJI&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 16 Sep 2020 20:35:31 GMT</pubDate>
    <dc:creator>BradV</dc:creator>
    <dc:date>2020-09-16T20:35:31Z</dc:date>
    <item>
      <title>iLO MAC</title>
      <link>https://community.hpe.com/t5/hpe-oneview/ilo-mac/m-p/7101394#M5597</link>
      <description>&lt;P&gt;I can't find the iLO MAC in the server hardware information.&amp;nbsp; Am I looking in the wrong place?&amp;nbsp; Since OneView talks to the iLO interface, it must know the MAC?&lt;/P&gt;</description>
      <pubDate>Tue, 15 Sep 2020 13:19:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-oneview/ilo-mac/m-p/7101394#M5597</guid>
      <dc:creator>BradV</dc:creator>
      <dc:date>2020-09-15T13:19:57Z</dc:date>
    </item>
    <item>
      <title>Re: iLO MAC</title>
      <link>https://community.hpe.com/t5/hpe-oneview/ilo-mac/m-p/7101434#M5598</link>
      <description>&lt;P&gt;OneView does not inventory the iLO MAC address.&amp;nbsp; The appliance only "knows" the MAC address if the iLO is on the same VLAN/Subnet and performs standard ARP lookup and maintains that information within the OS ARP table.&lt;/P&gt;&lt;P&gt;For what purpose do you need to know the iLO MAC address?&lt;/P&gt;</description>
      <pubDate>Tue, 15 Sep 2020 17:24:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-oneview/ilo-mac/m-p/7101434#M5598</guid>
      <dc:creator>ChrisLynch</dc:creator>
      <dc:date>2020-09-15T17:24:35Z</dc:date>
    </item>
    <item>
      <title>Re: iLO MAC</title>
      <link>https://community.hpe.com/t5/hpe-oneview/ilo-mac/m-p/7101526#M5605</link>
      <description>&lt;P&gt;Hi Chris,&lt;/P&gt;&lt;P&gt;Just for inventory.&amp;nbsp; We keep a confluence page with critical information for each server.&amp;nbsp; I need the on-board MACs (which I can get easily from OneView) to populate our dhcpd configuration file.&amp;nbsp; I guess I'll have to look to IPMI or hponcfg to pull in the iLO MACs.&amp;nbsp; Thanks for the info!&lt;/P&gt;</description>
      <pubDate>Wed, 16 Sep 2020 10:13:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-oneview/ilo-mac/m-p/7101526#M5605</guid>
      <dc:creator>BradV</dc:creator>
      <dc:date>2020-09-16T10:13:54Z</dc:date>
    </item>
    <item>
      <title>Re: iLO MAC</title>
      <link>https://community.hpe.com/t5/hpe-oneview/ilo-mac/m-p/7101587#M5610</link>
      <description>&lt;P&gt;I wouldn't suggest either.&amp;nbsp; You can get an iLO SSO token from OneView.&amp;nbsp; Then use iLO Redfish to get the MAC address:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;/redfish/v1/managers/{item}/EthernetInterfaces/{item}

where {item} is:

/PermanentMACAddress
/MACAddress&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;This is from the &lt;A href="https://hewlettpackard.github.io/ilo-rest-api-docs/ilo5/#managers-redfish-v1-managers-item-ilo-5" target="_blank" rel="noopener"&gt;iLO Redfish REST API documentation.&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Sep 2020 20:16:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-oneview/ilo-mac/m-p/7101587#M5610</guid>
      <dc:creator>ChrisLynch</dc:creator>
      <dc:date>2020-09-16T20:16:41Z</dc:date>
    </item>
    <item>
      <title>Re: iLO MAC</title>
      <link>https://community.hpe.com/t5/hpe-oneview/ilo-mac/m-p/7101589#M5611</link>
      <description>&lt;P&gt;Thanks Chris.&amp;nbsp; I'll give that a try next week.&amp;nbsp; &lt;LI-EMOJI id="lia_slightly-smiling-face" title=":slightly_smiling_face:"&gt;&lt;/LI-EMOJI&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Sep 2020 20:35:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-oneview/ilo-mac/m-p/7101589#M5611</guid>
      <dc:creator>BradV</dc:creator>
      <dc:date>2020-09-16T20:35:31Z</dc:date>
    </item>
    <item>
      <title>Re: iLO MAC</title>
      <link>https://community.hpe.com/t5/hpe-oneview/ilo-mac/m-p/7102927#M5638</link>
      <description>&lt;P&gt;Hi Chris,&lt;/P&gt;&lt;P&gt;Not sure what I am doing wrong?&amp;nbsp; I can't seem to get PermanentMACAdress directly, but can grab it with jq:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;# Download all of the server hardware to a file.
# Get session credentials for OneView.
HARDW=hardw-all
# Select server to query:
SERVER=my-test-server-ilo
UUID=$(jq -r '.members[] | select(.name == "'${SERVER}'") | "\(.uuid)"' ${HARDW})
read iLOSSO iLOAuth &amp;lt;&amp;lt;&amp;lt; $(curl --insecure --header "X-API-Version: ${currentVersion}" \
  --header "auth: ${sessionID}" --request GET ${OneView}/rest/server-hardware/${UUID}/remoteConsoleUrl | \
  jq -r '.remoteConsoleUrl' | sed -e 's|hplocons|https|' -e 's|addr=||' -e 's|^\(.*\)&amp;amp;sessionkey=\(.*\)|\1 \2|')
MAC=$(curl --insecure --header "X-Auth-Token: ${iLOAuth}" --request GET ${iLOSSO}/redfish/v1/manaers/1/EthernetInterfaces/1/ | jq -r '.PermanentMACAddress')&lt;/LI-CODE&gt;&lt;P&gt;which works.&amp;nbsp; Just curious why&amp;nbsp;--request GET ${iLOSSO}/redfish/v1/manaers/1/EthernetInterfaces/1/PermanentMACAdress/ returns Base.1.4.ResourceMissingAtURI?&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 11:13:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-oneview/ilo-mac/m-p/7102927#M5638</guid>
      <dc:creator>BradV</dc:creator>
      <dc:date>2020-09-28T11:13:32Z</dc:date>
    </item>
    <item>
      <title>Re: iLO MAC</title>
      <link>https://community.hpe.com/t5/hpe-oneview/ilo-mac/m-p/7102992#M5640</link>
      <description>&lt;P&gt;Not sure.&amp;nbsp; I copied straight from the Redfish API docs.&amp;nbsp; If you get an HTTP 404 error, then it is likely a property of an object, not a relative URI.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 16:26:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-oneview/ilo-mac/m-p/7102992#M5640</guid>
      <dc:creator>ChrisLynch</dc:creator>
      <dc:date>2020-09-28T16:26:38Z</dc:date>
    </item>
  </channel>
</rss>

