4-20 SANRAD V-Switch CLI User Manual
Viewing iSCSI Portals
You can view all created portals using the CLI command iscsi portal
show.
iscsi portal show
Table 4-5: iSCSI Portals
Protocol Address Type Address Port
6 ipv 4 212.199.43.56 3260
6 ipv 4 212.199.43.57 3260
6 ipv 4 212.199.43.66 5003
6 ipv 4 212.199.43.67 5003
Protocol 6 is the transport protocol for iSCSI. Address type IPv 4 designates a
four byte IP address.
Removing iSCSI Portals
You can remove an iSCSI portal using the CLI command iscsi portal
remove. Only after all iSCSI portals related to an IP address are removed from
a port can the IP address be removed from the port. If you are working in a
cluster, the portal must be removed from both V-Switch databases. For more
information on V-Switch clusters, see “Introduction to V-Switch Clusters”.
iscsi portal remove
You need to define two parameters to remove an iSCSI portal:
SWITCH PARAMETER DEFINITION STATUS EXAMPLE
-ip
IP ADDRESS IP ADDRESS OF
NETWORK PORT
MANDATORY
212.199.43.67
-p
TCP PORT TCP PORT FOR
I
SCSI
COMMUNICATION
OPTIONAL
DEFAULT: 3260
5003