Korenix Technology Co., Ltd.
Industrial
Layer 3 Managed Ethernet Switch
_____________________________________________________________________________
Industrial Layer 3 Managed Ethernet SwitchUser Manual
Page: 634/1568
6.26.2.4
iscsi target port
This command configures an iSCSI target port and, optionally, a target system
’s IP address and IQN
name. When working with private iSCSI ports (not IANA-assigned ports 3260/860), it is recommended to
specify the target IP address as well, so that the switch will only snoop frames with which the TCP
destination port is one of the configured TCP ports, and the destination IP is the target
’s IP address. This
way the CPU will not be falsely loaded by non-iSCSI flows (if by chance other applications also choose to
use these un-reserved ports.
When a port is already defined and not bound to an IP address, and you want to bind it to an IP address,
you should first remove it by using the no form of the command and then add it again, this time
together with the relevant IP address.
Target names are only for display when using the show iscsi command. These names are not used to
match with the iSCSI session information acquired by snooping.
A maximum of 16 TCP ports can be configured either bound to IP or not.
Syntax
iscsi target port tcp-port-1 [tcp-port-2...tcp-port-16] [address ip-address] [name targetname]
no iscsi target port tcp-port-1 [tcp-port-2...tcp-port-16] [address ip-address]
tcp-port-n -
TCP port number or list of TCP port numbers on which the iSCSI target listens to
requests. Up to 16 TCP ports can be defined in the system in one command or by using multiple
commands.
ip-address -
IP address of the iSCSI target. W hen the no form of this command is used, and the tcp
port to be deleted is one bound to a specific IP address, the address field must be present.
Targetname
- iSCSI name of the iSCSI target. The name can be statically configured; however, it
can be obtained from iSNS or from sendTargets response. The initiator must present both its iSCSI
Initiator Name and the iSCSI Target Name to which it wishes to connect in the first login request of a
new session or connection.
no -
Use the no form of the command to delete an iSCSI target port, address, and name.
Default Setting
iSCSI well-known ports 3260 and 860 are configured as default but can be removed as any
other configured target.
Command Mode
Global Config.