Obtaining WWPNs through the command-line interface

This section provides instruction for obtaining WWPNs through the command line interface.

  1. Login to the NAS Gateway 500 using the root user ID from a serial terminal.
  2. Run the following command to install the WWPNs of all fibre-channel adapters:
    lscfg -vpl “fcs*” |grep Network 
    Figure 1 shows an example of the output that you would receive.
    Figure 1. Example output from the lscfg -vpl “fcs*” |grep Network command.
    (/)-->lscfg -vpl “fcs*” |grep Network
    Network Address.............10000000C93487CA
    Network Address.............10000000C934863F
    Network Address.............10000000C93487B8
    Network Address.............10000000C934864F
  3. You can optionally use the following command to put all vital product data of the fibre-channel adapters installed on NAS Gateway 500 into a text file.
    lscfg -vpl “fcs*” > foo.txt
    You can keep this file for future use. Figure 2 shows an example of the text output that you would receive. You can find information for your WWPN, location information, microcode level, part number, other information about your fibre-channel adapters in this file.
    Figure 2. Example output saved to a text file
    fcs2 U0.1-P2-I6/Q1 FC Adapter
    Part Number.................00P4295
    EC Level....................A
    Serial Number...............1E323088E2
    Manufacturer................001E
    Feature Code/Marketing ID...5704
    FRU Number.................. 00P4297
    Device Specific.(ZM)........3
    Network Address.............10000000C93487CA
    ROS Level and ID............02E01035
    Device Specific.(Z0)........2003806D
    Device Specific.(Z1)........00000000
    Device Specific.(Z2)........00000000
    Device Specific.(Z3)........03000909
    Device Specific.(Z4)........FF601032
    Device Specific.(Z5)........02E01035
    Device Specific.(Z6)........06631035
    Device Specific.(Z7)........07631035
    Device Specific.(Z8)........20000000C93487CA
    Device Specific.(Z9)........HS1.00X5
    Device Specific.(ZA)........H1D1.00X5
    Device Specific.(ZB)........H2D1.00X5
    Device Specific.(YL)........U0.1-P2-I6/Q1
    fcs3 U0.1-P2-I5/Q1 FC Adapter
    Part Number.................00P4295
    EC Level....................A
    Serial Number...............1E3230890F
    Manufacturer................001E
    Feature Code/Marketing ID...5704
    FRU Number.................. 00P4297
    Device Specific.(ZM)........3
    Network Address.............10000000C934863F
    ROS Level and ID............02E01035
    Device Specific.(Z0)........2003806D
    Device Specific.(Z1)........00000000
    Device Specific.(Z2)........00000000
Library | Support | Terms of use | Feedback
© Copyright IBM Corporation 2004, 2007. All Rights Reserved.