Locating and Mapping Physical Ethernet Ports


 
Thread Tools Search this Thread
Operating Systems AIX Locating and Mapping Physical Ethernet Ports
# 1  
Old 02-06-2016
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/c...0-000013878298
# 2  
Old 02-06-2016
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.

Code:
# 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:

Code:
$ 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 ...

Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Solaris 11 ssh on machine with multiple Ethernet ports

I have a server with 6 Ethernet ports. 4 are the the motherboard based 1 GBE ports and 2 are 10 GBE ports on NICs. I have set these all up with static IP addresses and use the standard /etc/nsswitch.files. My IP addresses are net0 192.168.1.82 net1 192.168.2.82 and so on till net5... (4 Replies)
Discussion started by: ashlaw
4 Replies

2. UNIX for Advanced & Expert Users

Mapping Oracle SGA memory into physical files in Solaris.

Is there a way by which we could map Oracle SGA memory into physical files in solaris. We could find these physical files in /dev/shm/ folder in linux environment but they are missing in solaris. (1 Reply)
Discussion started by: arjun_chauhan
1 Replies

3. Linux

Logical Volume to physical disk mapping

When installing Linux, I choose some default setting to use all the disk space. My server has a single internal 250Gb SCSI disk. By default the install appears to have created 3 logical volumes lv_root, lv_home and lv_swap. fdisk -l shows the following lab3.nms:/dev>fdisk -l Disk... (2 Replies)
Discussion started by: jimthompson
2 Replies

4. Shell Programming and Scripting

Creating unique mapping from multiple mapping

Hello, I do not know if this is the right title to use. I have a large dictionary database which has the following structure: where a b c d e are in English and p q r s t are in a target language., the two separated by the delimiter =. What I am looking for is a perl script which will take... (5 Replies)
Discussion started by: gimley
5 Replies

5. AIX

vio server ethernet to vio client ethernet(concepts confusing)

Hi In the vio server when I do # lsattr -El hdisk*, I get a PVID. The same PVID is also seen when I put the lspv command on the vio client partition. This way Im able to confirm the lun using the PVID. Similarly how does the vio client partition gets the virtual ethernet scsi client adapter... (1 Reply)
Discussion started by: newtoaixos
1 Replies

6. AIX

Maximum Limit of HMC to handle Physical Power Virtualization Physical Machine

Hello All, Can anybody please tell me what is the maximum limit of Physical IBM Power Machine which can be handled by single HMC at a single point of time? Thanks, Jenish (1 Reply)
Discussion started by: jenish_shah
1 Replies

7. UNIX for Dummies Questions & Answers

NTP idle ports and ethernet interfaces

I did a netstat -an and saw that ntp was listening on 4 UDP ports for each interface. Is this insecure because they are UDP ports and I don't see them in a listen state, is that because they are just a client. Thank you. *.ntp Idle... (2 Replies)
Discussion started by: csross
2 Replies

8. UNIX for Dummies Questions & Answers

Physical volume- no free physical partitions

I was in smit, checking on disc space, etc. and it appears that one of our physical volumes that is part of a large volume group, has no free physical partitions. The server is running AIX 5.1. What would be the advisable step to take in this instance? (9 Replies)
Discussion started by: markper
9 Replies

9. UNIX for Dummies Questions & Answers

physical volume and physical disk.

Hello, I need explanations about physical disks and physical volumes. What is the difference between these 2 things? In fact, i am trying to understand what the AIX lspv2command does. Thank you in advance. (2 Replies)
Discussion started by: VeroL
2 Replies

10. UNIX for Dummies Questions & Answers

aggregate ethernet ports under Solaris

I have been looking for info on how to aggregate 2 ore 3 NIC's into into one big pipe. Any advice would be appreciated. -Chuck (4 Replies)
Discussion started by: 98_1LE
4 Replies
Login or Register to Ask a Question