2
iscsiswcfg
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
--disableconn
--showconn
--modifygw
--showgw
Examples
To enable the connection redirection on slot 3:
To disable the connection redirection on slot 3:
To display the connection redirection for iSCSI blades on the switch:
To display a target name prefix:
To change a target name prefix:
328
Enables the connection redirection on a specific slot or all slots.
Disables the connection redirection on a specific slot or all slots.
Displays the configuration of the connection redirection.
Specifies the IQN prefix of the target name.
Displays the target name prefix.
switch:admin> iscsiswcfg --enableconn -s 3
The operation completed successfully.
switch:admin> iscsiswcfg --disableeconn -s 3
The operation completed successfully.
switch:admin> iscsiswcfg --showconn -s all
Number of records found: 1
Slot
ICR Status
3
Disabled
switch:admin> iscsiswcfg --showgw
Target name is: iqn.2002-12.com.brocade
switch:admin> iscsiswcfg --modifygw -t iqn.2002-10.com.brocade
The operation completed successfully.
Fabric OS Command Reference Manual
53-1000436-01