beautypg.com

Iscsiswcfg – Dell POWEREDGE M1000E User Manual

Page 497

background image

Fabric OS Command Reference

465

53-1001764-02

iscsiSwCfg

2

iscsiSwCfg

Displays or configures the iSCSI switch level configuration.

Synopsis

iscsiswcfg

--

enableconn -s slot number | all

iscsiswcfg

--

disableconn -s slot number | all

iscsiswcfg

--

showconn -s slot number | all

iscsiswcfg

--

modifygw -t target name

iscsiswcfg

--

showgw

Description

Use this command to display the iSCSI switch level configuration and to configure the iSCSI
connection redirection and target name prefix.

Note

The execution of this command is subject to Virtual Fabric or Admin Domain restrictions that may
be in place. Refer to chapter 1, "Using Fabric OS commands" and Appendix A, "Command
Availability"
for details.

Operands

This command has the following operands:

--

enableconn

Enables the connection redirection on a specific slot or all slots.

--

disableconn

Disables the connection redirection on a specific slot or all slots.

--

showconn

Displays the configuration of the connection redirection.

--

modifygw

Specifies the IQN prefix of the target name.

--

showgw

Displays the target name prefix.

Examples

To enable the connection redirection on slot 3:

switch:admin>

iscsiswcfg --enableconn -s 3

The operation completed successfully.

To disable the connection redirection on slot 3:

switch:admin>

iscsiswcfg --disableconn -s 3

The operation completed successfully.

To display the connection redirection for iSCSI blades on the switch:

switch:admin>

iscsiswcfg --showconn -s all

Number of records found: 1

Slot ICR Status

3 Disabled

To display a target name prefix:

switch:admin>

iscsiswcfg --showgw

Target name is: iqn.2002-12.com.brocade

To change a target name prefix:

switch:admin>

iscsiswcfg --modifygw -t iqn.2002-10.com.brocade

The operation completed successfully.

See Also

fosConfig, iscsiCfg, iscsiPortCfg