To define an iSCSI flow, use the iscsi flow command in Global Configuration mode. To remove the iSCSI flow, use the no form of the command.
Syntax
iscsi flow default | {tcp-port [ip-address]}
no iscsi flow [default | {tcp-port [ip-address]}]
Parameters
-
default—Restores the default IPv4 flows.
-
tcp-port—Specifies the TCP port number on which iSCSI targets listen to requests. (Range: 1–65535)
-
ip-address—Specifies the IPv4 address on which iSCSI targets listen to requests.
Default Configuration
Two iSCSI IPv4 flows with well-known TCP ports 3260 and 860.
Command Mode
Global Configuration mode
User Guidelines
Each iscsi flow command defines an iSCSI flow including the following two sub-flows:
-
From initiator to target sub-flow—The sub-flow is classified by the Destination TCP port defined by the tcp-port argument and by the configured Destination IP address, if the ip-address argument is configured.
-
From target to initiator sub-flow—The sub-flow is classified by the Source TCP port defined by the tcp-port argument and by the configured Source IP address, if the ip-address argument is configured.
Up to 8 iSCSI flows are supported.
Use the iscsi flow default command, to restore the iSCSI default configuration.
For the same TCP port you can use either the iscsi flow tcp-port command or a few iscsi flow tcp-port ip-address commands with different IP addresses.
Use the no iscsi flow tcp-port ip-address command, to delete the iSCSI flows defined by the iscsi target port tcp-port ip-address command.
Use the no iscsi flow tcp-port command, to delete the iSCSI flows defined by the iscsi flow tcp-port command.
To delete a default iSCSI flow, use the no iscsi flow tcp-port command.
To delete all default iSCSI flows, use the no iscsi flow default command.
To delete all iSCSI flows (including the default ones), use the no iscsi flow command.
Example
The following example defines four pair of iSCSI flows:
switchxxxxxx(config)# no iscsi flow default
switchxxxxxx(config)# iscsi flow 1200
switchxxxxxx(config)# iscsi flow 1201 1.1.1.1
switchxxxxxx(config)# iscsi flow 1201 1.1.1.10
switchxxxxxx(config)# iscsi flow 1201 101.12.21.410