236
iSCSI Commands
Syntax
•
iscsi target port
tcp-port-1 [tcp-port-2.… tcp-port-8]
[
address
ip-address
] [
name
targetname
]
•
no iscsi target port
tcp-port-1
[
tcp-port-2.… tcp-port-8]
[
address
ip-address
]
•
tcp-port
— TCP port number or list of TCP port numbers on which iSCSI target/s listen 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. When the
no
form 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 iSCSI 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.
Default Configuration
iSCSI well-known ports 3260 and 860 are configured as default but can be removed as any other
configured target.
Command Mode
Global Configuration mode.
User Guidelines
•
When working with private iSCSI ports (not IANA assigned iSCSI ports 3260/860), it is recommended
to specify the target IP address as well, so the switch will only snoop frames with which the TCP
destination port is one of the configured TCP ports, AND their destination IP is the target's IP address.
This way the CPU is 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, and the user binds it to an IP, the User should
first remove it by using the
no
form of the command and then add it again, this time together with the
relevant IP.
•
Target names are only for display when using show iscsi command. These names are not used to match
(or for doing any sanity check) with the iSCSI session information acquired by snooping.
•
Maximum of 16 TCP ports can be configured either bound to IP or not. This number can be changed
by using iscsi max target ports command; however it will take affect only after reset.
Example
The following example configures TCP Port49154 to target IP address 172.16.1.20.
Console (config)#
iscsi target port
49154
address
172.16.1.20
5400_CLI.book Page 236 Wednesday, December 17, 2008 4:33 PM
Summary of Contents for PowerConnect 5424
Page 114: ...114 Address Table Commands 5400_CLI book Page 114 Wednesday December 17 2008 4 33 PM ...
Page 178: ...178 Ethernet Configuration Commands 5400_CLI book Page 178 Wednesday December 17 2008 4 33 PM ...
Page 194: ...194 GVRP Commands 5400_CLI book Page 194 Wednesday December 17 2008 4 33 PM ...
Page 204: ...204 IGMP Snooping Commands 5400_CLI book Page 204 Wednesday December 17 2008 4 33 PM ...
Page 252: ...252 Line Commands 5400_CLI book Page 252 Wednesday December 17 2008 4 33 PM ...
Page 268: ...268 LLDP Commands 5400_CLI book Page 268 Wednesday December 17 2008 4 33 PM ...
Page 280: ...280 PHY Diagnostics Commands 5400_CLI book Page 280 Wednesday December 17 2008 4 33 PM ...
Page 288: ...288 Port Monitor Commands 5400_CLI book Page 288 Wednesday December 17 2008 4 33 PM ...
Page 300: ...300 QoS Commands 5400_CLI book Page 300 Wednesday December 17 2008 4 33 PM ...
Page 308: ...308 Radius Commands 5400_CLI book Page 308 Wednesday December 17 2008 4 33 PM ...
Page 326: ...326 RMON Commands 5400_CLI book Page 326 Wednesday December 17 2008 4 33 PM ...
Page 386: ...386 SSH Commands 5400_CLI book Page 386 Wednesday December 17 2008 4 33 PM ...
Page 400: ...400 Syslog Commands 5400_CLI book Page 400 Wednesday December 17 2008 4 33 PM ...
Page 418: ...418 System Management 5400_CLI book Page 418 Wednesday December 17 2008 4 33 PM ...
Page 432: ...432 TIC Commands 5400_CLI book Page 432 Wednesday December 17 2008 4 33 PM ...
Page 440: ...440 Tunnel 5400_CLI book Page 440 Wednesday December 17 2008 4 33 PM ...
Page 476: ...476 Voice VLAN 5400_CLI book Page 476 Wednesday December 17 2008 4 33 PM ...
Page 490: ...490 Web Server 5400_CLI book Page 490 Wednesday December 17 2008 4 33 PM ...