Integrity Servers
1752683 Members
5698 Online
108789 Solutions
New Discussion юеВ

Re: How to determine the MAC Address in EFI Shell

 
Fenny_1
Super Advisor

How to determine the MAC Address in EFI Shell

Hi Team,

 

In my vpar i have 4x10GB - LOMs and 4x1G - From IOX. I have connected cable on one of the 1G cards and now i want to determine the MAC address of this particular card.

 

In EFI lanaddress command i can see all 8 cards. how to determine the card having the cable connected?

 

your quick response will be appreciated.

 

 

P.S. This thread has been moved from HP-UX > System Administration to Servers > Integrity - HP Forum Moderator

 

9 REPLIES 9
Torsten.
Acclaimed Contributor

Re: How to determine the MAC Address in EFI Shell

Depending on your hardware you see a "M" for "media connected" when doing a "lanboot select".


Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Fenny_1
Super Advisor

Re: How to determine the MAC Address in EFI Shell

i can see "i" when i check it from Lanaddress command
Torsten.
Acclaimed Contributor

Re: How to determine the MAC Address in EFI Shell

I think the "*" marks the core I/O LAN:

http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?prodSeriesId=447681&objectID=c00273667#lan

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Fenny_1
Super Advisor

Re: How to determine the MAC Address in EFI Shell

Hi Torsten

 

i am also expecting a "*" but unfortunately it's there. All the 4xNIC's are having "i" infront of them.

Torsten.
Acclaimed Contributor

Re: How to determine the MAC Address in EFI Shell

Most simple solution is to get to know the MAC of each card.

Can you boot an OS?

 

If your cable connections are documented, you can find them on the switch too.

I remember I have somewhere a path overview for the EFI paths of some systems.

What system is it?

Could you post the "lanboot select" and "lanaddress" output and the model of your server and the position of the HBA in question?


Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Fenny_1
Super Advisor

Re: How to determine the MAC Address in EFI Shell

It's a new installation for Super Dome2, still we don't have an OS. At this moment i am not on customer site so i can't share the output of lanaddress.

 

Cards are located in IOX 9/1/1 and 9/2/1. Not all cables are connected at this moment.

Torsten.
Acclaimed Contributor

Re: How to determine the MAC Address in EFI Shell

I think you can get the MAC (at least of the LOMs) from the OA!

 

 

I case of doubt, pull the HBA you want to boot from and read the MAC from the label - fast way to get it.

 

 

 

 

As far as I remember we did a quick and dirty install into a single nPar accross the whole SD2 and get all the WWN and MAC out (more than 60 of each) - this helped a lot while setting up the box.

 

You can use now "olrad -q" or "ioscan -m resourcepath" to match the H/W path to the slot.

 

Use fcmsutil and nwmgr to get the values.

 

Example:

 

# fcmsutil /dev/fclp0

                            Vendor ID is = 0x10df
                            Device ID is = 0xfe00
             PCI Sub-system Vendor ID is = 0x103c
                    PCI Sub-system ID is = 0x7043
                            Chip version = 2
                        Firmware Version = 2.80A4 SLI-3 (Z3F2.80A4)
                             EFI Version = ZE4.00A8
                                EFI Boot = ENABLED
          Driver-Firmware Dump Available = NO
          Driver-Firmware Dump Timestamp = N/A
                                Topology = PTTOPT_FABRIC
                              Link Speed = 4Gb
                      Local N_Port_id is = 0x0a1700
                   Previous N_Port_id is = None
             N_Port Node World Wide Name = 0x500143800...
             N_Port Port World Wide Name = 0x500143800...
             Switch Port World Wide Name = 0x200000053...
             Switch Node World Wide Name = 0x100000053...
                            Driver state = ONLINE
                        Hardware Path is = 40/0/2/0/0/0/0/4/0/0/0
                      Maximum Frame Size = 2048
                          Driver Version = @(#) FCLP: PCIe Fibre Channel driver (FibrChanl-02), B.11.31.1009, May  7 2010, FCLP_IFC (3,2)

 

# nwmgr -c lan0 -v
lan0:
   Interface State =UP
   MAC Address = 0x1CC1DE4DB264
   Subsystem = iether
   Interface Type = 1000Base-T
   Hardware Path = 40/0/2/0/0/0/0/2/0/0/0
...

 

 

# ioscan -m resourcepath
H/W Path               Physical location               Resource path
====================================================================
...

40/0/2/0/0/0            0x90001020001ff85               ioslot-9/1/1
...

 

 

 

 

 

ioslot-9/1/1 is the most left slot (rear view) in the first I/O extender.


Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Fenny_1
Super Advisor

Re: How to determine the MAC Address in EFI Shell

I also thought of removing the card and then finding the MAC. Just curious about how to do it from EFI.

 

In one of the previous installations...after connecting the cable i was able to get the "*" but i dont know why its not working this time.

 

 

Torsten.
Acclaimed Contributor

Re: How to determine the MAC Address in EFI Shell

The problem is to translate the EFI path.


Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!