Emulex EMULEX manual Parmgetnum, Parmgetlist, Returns a list of configurable parameters Example

Page 21

-----------------------------------------------------------------

TYPE:

02

 

PID:

0113E4

 

WWPN:

21000020371938a3

 

PORT_NAME:

(SEAGATE ST39103FC

0004)

WWNN:

20000020371938a3

 

NODE_NAME:

(null)

 

IPA:

ffffffffffffffff

 

IP_ADDR:

0.0.0.0

 

CLASS:

8

 

FC4_TYPES:

 

 

00000100,00000000,00000000,00000000,00000000,00000000,00000000,00000000

-----------------------------------------------------------------

TYPE:

02

 

PID:

0113E8

 

WWPN:

2100002037193670

 

PORT_NAME:

(SEAGATE ST39103FC

0004)

WWNN:

2000002037193670

 

NODE_NAME:

(null)

 

IPA:

ffffffffffffffff

 

IP_ADDR:

0.0.0.0

 

CLASS:

8

 

FC4_TYPES:

 

 

00000100,00000000,00000000,00000000,00000000,00000000,00000000,00000000

parm_get_num

Returns the total number of configurable parameters.

Example:

emlxadm> parm_get_num

Result: There are 18 configurable parameters in the driver.

parm_get_list

Returns a list of configurable parameters.

Example:

emlxadm> parm_get_list

Parameter:

-----------------------------------------------------------------

label: console-notices min: 0x0

current: 0x0

max: 0xffffffff default: 0x0 dynamic: yes

desc: Verbose mask for notice messages to the console.

-----------------------------------------------------------------

label: console-warnings min: 0x0

current: 0x0

max: 0xffffffff default: 0x0 dynamic: yes

desc: Verbose mask for warning messages to the console.

-----------------------------------------------------------------

label: console-errors min: 0x0

current: 0x0

max: 0xffffffff default: 0x0

FCA Utilities Reference Manual

Page 17

Image 21
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 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 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 Setemlxs alias Command Descriptions emlxdrvSetemlxssun SetemlxsallSetlpfc alias SetlpfcnonsunCleardev alias Clearemlxs ClearlpfcClearsun ClearnonsunClearall Emlxdrv q Exiting