Brocade Fabric OS Command Reference Manual - Supporting Fabric OS v5.3.0 (53-1000436-01, June 2007)

328 Fabric OS Command Reference Manual
53-1000436-01
iscsiswcfg
2
iscsiswcfg
Displays or configures 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 or configure iSCSI switch level confugration. The iSCSI switch level
configurations are the iSCSI connection redirection and target name prefix.
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 --disableeconn -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.