The configuration and verification commands for the iSCSI feature are available when iSCSI is enabled
on the switch. When you disable iSCSI, all associated configurations are automatically discarded.
To use the CLI to enable iSCSI on a C-Series switch:
1.
Enter configuration mode:
switch # config terminal
2.
Enable iSCSI on the switch:
switch (config) # iscsi enable
switch (config) # exit
Enabling the iSCSI interface
You must enable the iSCSI interface before traffic can flow on the GbE interface. To enable an iSCSI
interface:
1.
Create and enable the GbE interface:
switch # config terminal
switch (config) # interface gigabitethernet 2/1
switch (config-if) # no shutdown
2.
Create and enable the iSCSI interface:
switch (config-if) # exit
switch (config) # interface iscsi 2/1
switch (config-if) # no shutdown
Configuring the Gigabit Ethernet interface
iSCSI uses TCP/IP for network connectivity. On each iSCSI-enabled C-Series switch, GbE interfaces
provide connectivity.
NOTE:
GbE ports on any C-Series switch with the IP Storage Services Modules (IPS-4, IPS-8), Multi–protocol
Services Module (14/2), or C-Series 9216i switch, should reside in a different Ethernet broadcast
domain from the management Ethernet port. HP strongly recommends that you use separate standalone
network hubs or switches, or separate VLANs, to configure the broadcast domains.
To configure the IP interface for subsequent use by iSCSI Initiators:
1.
Enter switch configuration mode:
switch # config terminal
2.
Enter interface configuration mode on the GbE interface:
switch (config) # interface gigabitethernet 2/1
3.
Enter the IP address (20.20.20.1) and subnet mask (255.255.255.0) for the GbE interface:
switch (config-if) # ip address 20.20.20.1 255.255.255.0
4.
Enable the interface:
switch (config-if) # no shutdown
switch (config-if) # exit
switch (config) # exit
5.
Complete steps 1 through 4 for both C-Series GbE ports.
32