linlpcfg

Use the linlpcfg utility that comes with Linux Scripting Toolkit to configure Fibre Host Bus Adapters (HBAs). You can download this utility from Emulex at http://www.emulex.com.

Usage

Table 1. linlpcfg usage
Command Description
linlpcfg help
linlpcfg ?
linlpcfg help command
linlpcfg ? command
Displays the syntax for linlpcfg commands.
linlpcfg listwwn Lists all adapters installed in the system with the following information:
  • WWN
  • WWPN
  • WWNN
linlpcfg listwwn Lists all adapters installed in the system with the following information:
  • adapter number
  • IEEE address (from the manufacturer)
  • functional firmware level
  • adapter type
  • any possible mailbox errors
linlpcfg readbootdevice n=adapter_number Displays the following information about the currently selected boot device:
  • WWN
  • LUN
  • topology in use
linlpcfg enableboot n=adapter_number i=index Enables the BootBIOS for the specified adapter number. Index (i) is the index number given by the listboot command.
linlpcfg disableboot n=adapter_number i=index Disables the BootBIOS for the specified adapter number. Index (i) is the index number given by the listboot command.
linlpcfg setbootdevice n=adapter_number w0=wwpn_word_0 w1=wwpn_word_1 l=decimal_id_of_lun t=topology Sets the boot device to the device specified by the adapter number, WWPN words, LUN ID, and topology. Enter this command on a single line.
linlpcfg readaltboot n=adapter_number Displays the WWPN and LUN numbers of all possible alternate boot devices. You can have up to seven alternate boot devices.
linlpcfg setaltboot n=adapter_number i=index w0=wwpn_word_0 w1=wwpn_word_1 l=decimal_id_of_lun Sets an alternate boot device. You can have up to seven alternate boot devices, specified by indices from 1 to 7.