AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
 View Only
  • 1.  VIOS P6 520 virtual to physical port mappings.

    Posted Tue March 17, 2009 03:38 PM

    Originally posted by: rb7


    Guys,

    On a P6 520 machine (managed by IVM) how would I know what interface is associated with a specific ethernet device? For example I have four physical ports on the back of my server. How can I find which one is associated with en0 en1 .... en7 so on? Here is some info about the interfaces:

    $ ioslevel
    1.5.2.1-FP-11.1
    $ lsdev | grep en
    en0 Defined Standard Ethernet Network Interface
    en1 Defined Standard Ethernet Network Interface
    en2 Defined Standard Ethernet Network Interface
    en3 Defined Standard Ethernet Network Interface
    en4 Defined Standard Ethernet Network Interface
    en5 Defined Standard Ethernet Network Interface
    en6 Defined Standard Ethernet Network Interface
    en7 Available Standard Ethernet Network Interface
    ent0 Available Virtual I/O Ethernet Adapter (l-lan)
    ent1 Available Virtual I/O Ethernet Adapter (l-lan)
    ent2 Available Virtual I/O Ethernet Adapter (l-lan)
    ent3 Available Virtual I/O Ethernet Adapter (l-lan)
    ent4 Available Logical Host Ethernet Port (lp-hea)
    ent5 Available Logical Host Ethernet Port (lp-hea)
    ent6 Available Logical Host Ethernet Port (lp-hea)
    ent7 Available Logical Host Ethernet Port (lp-hea)
    ibmvmc0 Available Virtual Management Channel
    inet0 Available Internet Network Extension
    mover0 Available Mover Kernel Extension
    rcm0 Defined Rendering Context Manager Subsystem
    $

    Thanks in advance.
    #AIX-Forum


  • 2.  Re: VIOS P6 520 virtual to physical port mappings.

    Posted Tue March 17, 2009 03:54 PM

    Originally posted by: alethad


    Go check out the man page for the netstat command.
    netstat -i or -in is quick & basic but you can get more info from other options.
    #AIX-Forum


  • 3.  Re: VIOS P6 520 virtual to physical port mappings.

    Posted Tue March 17, 2009 05:39 PM

    Originally posted by: rb7


    I think I have figured out how this works.

    $ oem_setup_env
    1. prtconf -v | grep ent
    Model Implementation: Multiple Processor, PCI bus
    ent7 U8203.E4A.10CD081-V1-C6-T1 Virtual I/O Ethernet Adapter (l-lan)
    ent6 U8203.E4A.10CD081-V1-C5-T1 Virtual I/O Ethernet Adapter (l-lan)
    ent5 U8203.E4A.10CD081-V1-C4-T1 Virtual I/O Ethernet Adapter (l-lan)
    ent4 U8203.E4A.10CD081-V1-C3-T1 Virtual I/O Ethernet Adapter (l-lan)
    ibmvmc0 U8203.E4A.10CD081-V1-C2 Virtual Management Channel
    ent3 U789C.001.DQD2386-P1-C7-T4 Logical Host Ethernet Port (lp-hea)
    ent2 U789C.001.DQD2386-P1-C7-T3 Logical Host Ethernet Port (lp-hea)
    ent1 U789C.001.DQD2386-P1-C7-T2 Logical Host Ethernet Port (lp-hea)
    ent0 U789C.001.DQD2386-P1-C7-T1 Logical Host Ethernet Port (lp-hea)

    Last four lines display the harware address of lp-hea. P1-C7-T1 corrosponds to ent0. P1, I beleive means, physical planar. T1 means physical port on the back of the host. T1 matches with ent0.

    Regards,
    /R.
    #AIX-Forum


  • 4.  Re: VIOS P6 520 virtual to physical port mappings.

    Posted Wed March 18, 2009 12:32 AM

    Originally posted by: SystemAdmin


    lsdev -vpd shows all Hardware Location Code
    #AIX-Forum