Emulex EMULEX manual Parmset label value, Msgbuf all or number -i interval

Page 24

Example:

emlxadm> parm_get adisc-support

label: adisc-support min: 0

current: 1 max: 2 default: 1

dynamic: yes

desc: Sets the Fibre Channel ADISC login support level.

parm_set <label> <value>

Sets the value of a specified parameter in the driver. Only dynamic parameters can be set. Example: This example sets a dynamic parameter:

emlxadm> parm_set adisc-support 2

label: adisc-support min: 0

current: 2 max: 2 default: 1

dynamic: yes

desc: Sets the Fibre Channel ADISC login support level.

Note: To make this change permanant, you must edit the /kernel/drv/emlxs.conf file.

Example: This example attempts to set a static parameter:

emlxadm> parm_set network-on 1

emlxadm: EMLX_PARM_SET: Parameter (network-on) is not dynamic and cannot be changed here.

**

To make this change you must edit

the

/kernel/drv/emlxs.conf or **

**

the /kernel/drv/emlx.conf file(s)

and

reboot the system.

**

msgbuf all or <number> [-i interval]

Displays all or part (the last <number> of lines) of the current driver message log, and can update the screen every <interval> seconds if desired. To stop the program from updating the screen, press <Ctrl+C> to break. If no interval is provided, the current message log is displayed with no additional updates, and the emlxadm prompt returns.

Example:

emlxadm> msgbuf 10

155130.01: 1002033:[B.1C35]emlxs0: DEBUG: 800: ELS sent. (GA_NXT: did=fffffc [00011000,00000000])

155130.02: 1002034:[4.00C9]emlxs0: DEBUG: 801: ELS comp. (GA_NXT: CT_ACC: Rsn=0 Exp=0 [020113e1,21000020])

155130.02: 1002035:[B.1C35]emlxs0: DEBUG: 800: ELS sent. (GA_NXT: did=fffffc [000113e1,00000000])

155130.02: 1002036:[4.00C9]emlxs0: DEBUG: 801: ELS comp. (GA_NXT: CT_ACC: Rsn=0 Exp=0 [020113e2,21000020])

155130.02: 1002037:[B.1C35]emlxs0: DEBUG: 800: ELS sent. (GA_NXT: did=fffffc [000113e2,00000000])

155130.02: 1002038:[4.00C9]emlxs0: DEBUG: 801: ELS comp. (GA_NXT: CT_ACC: Rsn=0 Exp=0 [020113e4,21000020])

155130.03: 1002039:[B.1C35]emlxs0: DEBUG: 800: ELS sent. (GA_NXT: did=fffffc [000113e4,00000000])

155130.03: 1002040:[4.00C9]emlxs0: DEBUG: 801: ELS comp. (GA_NXT: CT_ACC: Rsn=0 Exp=0 [020113e8,21000020])

155130.03: 1002041:[B.1C35]emlxs0: DEBUG: 800: ELS sent. (GA_NXT: did=fffffc [000113e8,00000000])

FCA Utilities Reference Manual

Page 20

Image 24
Contents FCA Utilities FCA Utilities Reference Manual Introduction Using the emlxdrv Utility HbaFibre Channel Overview Solaris Fibre Channel StackSolaris Software Stack Installing the Utilities Enter y. The following message is displayedRemoving the Utilities Using the emlxuremove Script Installing the Utilities Package Manually Removing the Utilities Package ManuallyTo remove the emlxu utilities package, do the following Update the emlxu utilities by doing the following Updating the Utilities Package ManuallyInteractive Mode emlxadm Modes of Operation emlxadmCommand Descriptions emlxadm CLI Mode emlxadmGetnumdevs GetdevlistGetlogiparams wwpn FCA Utilities Reference Manual Gethostparams GetsympnameSetsympname string GetsymnnameDevlogin wwpn DevlogoutGetstate wwpn Devremove wwpnGetbootrev Downloadfcode filenameGetfwrev Downloadfw filenameDownloadboot filename Downloads the specified boot image file to the HBA ExampleGetdumpsize ForcedumpResetlink wwpn or zero for local link ResethardResethardcore GettopologyType PID Returns the total number of configurable parameters Example Returns a list of configurable parameters ExampleParmgetnum ParmgetlistFCA Utilities Reference Manual Parmget label Gets the value of a specified parameter in the driverParmset 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 Repeats the last command Example HbaInteractive Mode emlxdrv Modes of Operation emlxdrvEmlxdrv utility program can be run in two modes Interactive CLI Mode emlxdrv Command Descriptions emlxdrv Setemlxs aliasSetemlxssun SetemlxsallSetlpfc alias SetlpfcnonsunCleardev alias Clearlpfc ClearemlxsClearsun ClearnonsunClearall Emlxdrv q Exiting