dev_remove <wwpn> - Remove the FC device from Leadville management. link_status <d_id> - Request link error status from a specified D_ID. get_fcode_rev - Returns the current Fcode revison of the HBA. download_fcode [filename] - Download the HBA fcode.

get_fw_rev - Returns the current firmware revison of the HBA. download_fw [filename] - Download the HBA firmware. get_boot_rev *Returns the current boot revison of the HBA. download_boot [filename] *Download the HBA boot image. get_dump_size - Returns the HBA's firmware core dump size. force_dump - Force a firmware core dump on this HBA. get_dump <-t,-b> <file> - Saves firmware core dump to a file. get_topology - Returns the current FC network topology. reset_link <wwpn,0> - Resets the link of a specified FC device. reset_hard - Reset the HBA.

reset_hard_core - Reset the HBA firmware core.

diag <test> - Perform a diagnostic test on the HBA.

ns - Performs a complete query of the fabric name server.

parm_get_num *Returns the total number of configurable parameters. parm_get_list *Returns a list of configurable parameters.

parm_get <label> *Gets the value of a specified parameter in the driver.

parm_set <label> <val> *Sets the value of a specified parameter in the driver. msgbuf all or <number> [-i interval] *Returns the driver's internal message log. get_host_attrs - Returns the host adapter and port attributes. get_port_attrs <index>, <wwn> or all - Returns the port attributes.

get_path <index> - Returns the adapter path.

get_vpd *Returns the adapter’s Vital Product Data (VPD).

boot_code [enable or disable] - *Sets or shows the boot code state in this HBA q - Exits this program.

h - Returns this help screen. hba - Select another hba.

p - Repeat previous command. *Emulex adapters only

hba

Allows you to select another HBA to interface with. This prevents you from having to exit and reenter the program.

Example:

emlxadm> hba

Available HBA's:

1./devices/pci@1e,600000/SUNW,qlc@3/fp@0,0:devctl (CONNECTED)

2./devices/pci@1e,600000/SUNW,qlc@3,1/fp@0,0:devctl (NOT CONNECTED)

3./devices/pci@1e,600000/SUNW,emlxs@2/fp@0,0:devctl (CONNECTED)

4./devices/pci@1e,600000/SUNW,emlxs@2,1/fp@0,0:devctl (NOT CONNECTED)

Enter an HBA number or zero to exit:

p

Repeats the last command.

Example:

emlxadm> get_num_devs

There are 4 devices reported on this port.

emlxadm> p

emlxadm> get_num_devs

There are 4 devices reported on this port.

Solaris SFS Driver User Manual

Page 123

Page 130
Image 130
Emulex LP1150-F4 user manual Hba, Repeats the last command Example