Locating and Mapping Physical Ethernet Ports

Hello Everyone,

Quick question, any short and fast way to locate and map the physical Ethernet ports on the physical server ?
Server with expansion box has around 12 ethernet ports (fibre and ethernet)

what is the quickest way to map or find out en0 represents which physical port ?

Referred to:
HOWTO determine the MAC address of a network interface - UnixMantra
Decoding location codes
https://www.ibm.com/developerworks/community/forums/html/threadTopic?id=77777777-0000-0000-0000-000013878298

I really don't understand the problem. Let's say you have ent0 in your LPAR. Using lscfg you can see the physical location of the adapter.

# lscfg -l ent0
  ent0             U789A.001.AAA4720-P1-T1  2-Port 10/100/1000 Base-TX PCI-X Adapter (14108902)

I don't remember the exact command but you can turn LED on on the adapter, if you're unsure

You see in the output the drawer (U789A.001) - in this case it is the only one in the box (it's old Power5 510), serial number of the drawer (AAA4720), slot in the drawer (P1) and the port (T1).

The same information you can see in the HMC, using lshwres :

$ lshwres -r io --rsubtype slot -m managed_system
unit_phys_loc=U789A.001.AAA4720,bus_id=2,phys_loc=T1,drc_index=21010002,lpar_name=LPAR,lpar_id=1,slot_io_pool_id=none,description=PCI 10/100/1000 Mb/s Ethernet UTP 2-Port,feature_codes=5706,pci_vendor_id=8086,pci_device_id=1079,pci_subs_vendor_id=1014,pci_subs_device_id=0289,pci_class=0200,pci_revision_id=03,bus_grouping=0,iop=0,parent_slot_drc_index=none,drc_name=U789A.001.AAA4720-P1-T1,interposer_present=0,interposer_pcie=0
... skipped a lot ...