Emulex EMULEX manual Hba, Repeats the last command Example

Page 29

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. q - Exits this program.

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

p - Repeat previous command.

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.

FCA Utilities Reference Manual

Page 25

Image 29
Contents FCA Utilities FCA Utilities Reference Manual Introduction Hba Using the emlxdrv UtilitySolaris Fibre Channel Stack Fibre Channel OverviewSolaris Software Stack Enter y. The following message is displayed Installing the UtilitiesRemoving the Utilities Using the emlxuremove Script To remove the emlxu utilities package, do the following Installing the Utilities Package ManuallyRemoving the Utilities Package Manually Updating the Utilities Package Manually Update the emlxu utilities by doing the followingModes of Operation emlxadm Interactive Mode emlxadmCLI Mode emlxadm Command Descriptions emlxadmGetlogiparams wwpn GetnumdevsGetdevlist FCA Utilities Reference Manual Getsympname GethostparamsSetsympname string GetsymnnameDevlogout Devlogin wwpnGetstate wwpn Devremove wwpnDownloadfcode filename GetbootrevGetfwrev Downloadfw filenameDownloads the specified boot image file to the HBA Example Downloadboot filenameGetdumpsize ForcedumpResethard Resetlink wwpn or zero for local linkResethardcore GettopologyType PID Returns a list of configurable parameters Example Returns the total number of configurable parameters ExampleParmgetnum ParmgetlistFCA Utilities Reference Manual Gets the value of a specified parameter in the driver Parmget labelExample This example attempts to set a static parameter Parmset label valueMsgbuf all or number -i interval Displays all of the current host HBA API attributes Example GethostattrsGetportattrs index, wwn or all Seagate ST39103FC = Seagate ST39103FC Exits the utility program Example Displays a help menu of utility commands ExampleGetpath index Hba Repeats the last command ExampleEmlxdrv utility program can be run in two modes Interactive Interactive Mode emlxdrvModes of Operation emlxdrv CLI Mode emlxdrv Setemlxs alias Command Descriptions emlxdrvSetemlxssun SetemlxsallCleardev alias Setlpfc aliasSetlpfcnonsun Clearemlxs ClearlpfcClearsun ClearnonsunClearall Emlxdrv q Exiting