Emulex EMULEX manual Getnumdevs, Getdevlist, Getlogiparams wwpn

Page 13

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

FCA Utilities Reference Manual

Page 9

Image 13
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 Removing the Utilities Package Manually Installing 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 emlxadmGetdevlist GetnumdevsGetlogiparams wwpn 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 labelMsgbuf all or number -i interval Parmset label valueExample This example attempts to set a static parameter Getportattrs index, wwn or all GethostattrsDisplays all of the current host HBA API attributes Example Seagate ST39103FC = Seagate ST39103FC Getpath index Displays a help menu of utility commands ExampleExits the utility program Example Hba Repeats the last command ExampleModes of Operation emlxdrv Interactive Mode emlxdrvEmlxdrv utility program can be run in two modes Interactive CLI Mode emlxdrv Setemlxs alias Command Descriptions emlxdrvSetemlxssun SetemlxsallSetlpfcnonsun Setlpfc aliasCleardev alias Clearemlxs ClearlpfcClearsun ClearnonsunClearall Emlxdrv q Exiting