Emulex EMULEX Gethostparams, Getsympname, Setsympname string, Getsymnname, Setsymnname string

Page 15

get_host_params

Returns the FC login parameters of this HBA port.

Example:

emlxadm> get_host_params

Host:

Dtype: 0

FC4_type[proto]: 0x0120, 0, 0, 0, 0, 0, 0, 0

State: FC_STATE_LOOP

Linkspeed: FC_STATE_2GBIT_SPEED

D_id: 1

LILP: 1

Hard Addr: 0

WWPN: 10000000c93e4be4

WWNN: 20000000c93e4be4

get_sym_pname

Returns the symbolic FC port name of the HBA port. This operation is currently not supported by the Solaris Leadville stack.

Example:

emlxadm> get_sym_pname

ioctl: FCIO_GET_SYM_PNAME: Operation not supported

set_sym_pname <"string">

Sets the symbolic FC port name of the HBA to the string provided. This operation is currently not supported by the Solaris Leadville stack.

Example:

emlxadm> set_sym_pname "Emulex Corporation"

ioctl: FCIO_SET_SYM_PNAME: Operation not supported

get_sym_nname

Returns the symbolic FC node name of the HBA port. This operation is currently not supported by the Solaris Leadville stack.

Example:

emlxadm> get_sym_nname

ioctl: FCIO_GET_SYM_NNAME: Operation not supported

set_sym_nname <"string">

Sets the symbolic FC node name of the HBA to the string provided. This operation is currently not supported by the Solaris Leadville stack.

Example:

emlxadm> set_sym_nname "Emulex Corporation"

ioctl: FCIO_SET_SYM_NNAME: Operation not supported

FCA Utilities Reference Manual

Page 11

Image 15
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 Installing the Utilities Package Manually Removing the Utilities Package ManuallyTo remove the emlxu utilities package, do the following Updating the Utilities Package Manually Update the emlxu utilities by doing the followingModes of Operation emlxadm Interactive Mode emlxadmCLI Mode emlxadm Command Descriptions emlxadmGetnumdevs GetdevlistGetlogiparams wwpn FCA Utilities Reference Manual Getsymnname GethostparamsGetsympname Setsympname stringDevremove wwpn Devlogin wwpnDevlogout Getstate wwpnDownloadfw filename GetbootrevDownloadfcode filename GetfwrevForcedump Downloadboot filenameDownloads the specified boot image file to the HBA Example GetdumpsizeGettopology Resetlink wwpn or zero for local linkResethard ResethardcoreType PID Parmgetlist Returns the total number of configurable parameters ExampleReturns a list of configurable parameters Example ParmgetnumFCA Utilities Reference Manual Gets the value of a specified parameter in the driver Parmget labelParmset label value Msgbuf all or number -i intervalExample This example attempts to set a static parameter Gethostattrs Getportattrs index, wwn or allDisplays all of the current host HBA API attributes Example Seagate ST39103FC = Seagate ST39103FC Displays a help menu of utility commands Example Getpath indexExits the utility program Example Hba Repeats the last command ExampleInteractive Mode emlxdrv Modes of Operation emlxdrvEmlxdrv utility program can be run in two modes Interactive CLI Mode emlxdrv Setemlxsall Command Descriptions emlxdrvSetemlxs alias SetemlxssunSetlpfc alias SetlpfcnonsunCleardev alias Clearnonsun ClearlpfcClearemlxs ClearsunClearall Emlxdrv q Exiting