beautypg.com

Parm_set

Page 24

background image

FCA Utilities Reference Manual

Page 20

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

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.

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 [-i interval]

Displays all or part (the last of lines) of the current driver message log, and can update the
screen every seconds if desired. To stop the program from updating the screen, press
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])

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