5 – Non-Interactive Mode Commands
Non-interactive Commands
SN0054621-00 E 5-29
A
-sbootcode
(Set Secondary Boot Target Information)
To set the secondary boot target and LUN, enter the -sbootcode command as
follows:
-sbootcode <hba_port_inst> <Boot Target> <Boot LUN>
Issuing this command saves the configuration data to an XML file portable to all
platforms supported by iSCSI. This command is not active for PPC.
For information on the interactive version of this command, see “Set Secondary
Boot Target Information (CLI Option -sbootcode)” on page 4-35.
For primary boot code, see “-pbootcode (Set Primary Boot Target Information)” on
page 5-24.
-sbootcodecid
(Set Alternative Client ID)
To set the alternative client ID (seven characters maximum), enter the
-sbootcodecid command as follows:
-sbootcodecid <hba_port_inst> <Alternative Client ID>
This command is not active for the Power PC (PPC).
For information on the interactive version of this command, see “Set Alternative
Client ID (CLI Option -sbootcodecid)” on page 4-36.
-sdmrc
To return the SDM library return code, enter the -sdmrc command as follows:
-sdmrc [Simple_Pattern]
When [simple pattern] is given, only the lines containing that string are
printed.
There is no corresponding interactive command for this function.
-sreset
(Reset Statistics)
To reset statistics to zero and count from this point forward, enter the -sreset
command.
-stadd
To add a send target for discovery, enter the -stadd command as follows:
-stadd <hba_port_inst> <ip address> [chapIndex] [<TGBCA> <value>]
Where <value> can be on or off; on causes the send target login to require
bi-directional CHAP.