Quick Reference Guide

RAIDCFG 179
Setting Environment Variables
Table 4-11 lists the RAIDCFG options, parameters, and pre-defined
arguments for setting the CLI environment.
Table 4-11. Setting Environment
Mandatory
Options and
Arguments
Optional
Parameter
Valid
Parameter
Arguments
Description
-se -envn=
<string> -
envc=
<function>
or
setenvironment
envname=
<string>
envcommand=
<function>
NA NA Sets a user-defined environment variable to
the value returned from the
getcontrollerslots function call.
This option combination is mandatory.
Example:
A:>raidcfg -se -envn=CNTRL -
envc=getcontrollerslots
CNTRL=0 1 2
RAIDCFG command successful!
-se -envn=
<string> -
envc=
<function>
or
setenvironment
envname=
<string>
envcommand=
<function>
-f
or
filename
<filename
>
When used, this option captures the
environment output to the given filename.
This option either appends the information
to an existing file or creates a new file.