AIX -How to find which NIC is on which PCI card

Hi All,

How can I find out which is ETH5 on my AIX P5 system. I have about seven different NIC card on this. I did move the cable to each one but still I was not able to see the link light up when I did netstat -v

Any idea?

Thanks.

You need to use the lscfg command and look at the "Hardware Location Code" line to find the CEC serial number and slot number in the CEC, like this:

lscfg -vl ent1 | grep "Hardware Location"
        Hardware Location Code......U78AA.001.Wxxxxxx-P1-C6-T2

The CEC serial number is "Wxxxxxx" and the slot number is "C6". If it is an internal adapter, then the "C6" in the example above will be gone and look more like this:

lscfg -vl ent1 | grep "Hardware Location"
        Hardware Location Code......U7879.001.Dxxxxxx-P1-T6

Thank you so much. Above code worked. :slight_smile: