Emulex EMULEX User Manual

Page of 36
FCA Utilities Reference Manual
Page 9
get_num_devs 
Returns the number of FC devices currently seen by this HBA port.
Example:
emlxadm>   get_num_devs
There are 4 devices reported on this port.
get_dev_list
Returns a list of FC devices currently seen by this HBA port.
Example:
emlxadm> get_dev_list
-----------------------------------------------
Device 0:
          Dtype: 0
FC4_type[proto]: 0x0100, 0, 0, 0, 0, 0, 0, 0
          State: PORT_DEVICE_LOGGED_IN
           D_id: 113e1
           LILP: 0
      Hard Addr: e1
           WWPN: 21000020371938fa
           WWNN: 20000020371938fa
-----------------------------------------------
Device 1:
          Dtype: 0
FC4_type[proto]: 0x0100, 0, 0, 0, 0, 0, 0, 0
          State: PORT_DEVICE_LOGGED_IN
           D_id: 113e2
           LILP: 0
      Hard Addr: e2
           WWPN: 21000020371939a2
           WWNN: 20000020371939a2
-----------------------------------------------
Device 2:
          Dtype: 0
FC4_type[proto]: 0x0100, 0, 0, 0, 0, 0, 0, 0
          State: PORT_DEVICE_LOGGED_IN
           D_id: 113e4
           LILP: 0
      Hard Addr: e4
           WWPN: 21000020371938a3
           WWNN: 20000020371938a3
-----------------------------------------------
Device 3:
          Dtype: 0
FC4_type[proto]: 0x0100, 0, 0, 0, 0, 0, 0, 0
          State: PORT_DEVICE_LOGGED_IN
           D_id: 113e8
           LILP: 0
      Hard Addr: e8
           WWPN: 2100002037193670
           WWNN: 2000002037193670
get_logi_params <wwpn>
Returns the FC login common service parameters for a specified FC device on the network.
Example:
emlxadm> get_logi_params 21000020371938fa