Deleting ports from a defined host If a mistake is made while adding a port, or if an HBA is removed from a server that is defined  within the Storwize V7000, use the  rmhostport  command to remove WWPN definitions from  a host. Before removing the WWPN, ensure that it is the correct WWPN by issuing the  lshost command, as shown in Example 8-35. When the WWPN or iSCSI IQN that needs to be deleted is known, use the  rmhostport command to delete a host port, as shown in Example 8-36. Use the command to remove the iSCSI IQN, as shown in Example 8-37. Use the command to remove the NVMe NQN, as shown in Example 8-38. Note:  Multiple ports can be removed at one time by using the separator or colon (:)  between the port names, as shown in the following example:  rmhostport -hbawwpn 210000E08B054CAA:210000E08B892BCD Angola Example 8-38 Removing NQN port from the host Example 8-37 Removing iSCSI port from the host Example 8-36 Using the rmhostport command to remove a WWPN Example 8-35 Using the lshost command to check the WWPNs IBM_2145:ITSO-SV1:superuser> lshost ITSO-VMHOST-01 id 0 name ITSO-VMHOST-01 port_count 2 type generic mask 1111111111111111111111111111111111111111111111111111111111111111 iogrp_count 4 status online site_id  site_name  host_cluster_id 0 host_cluster_name ITSO-ESX-Cluster-01 protocol scsi WWPN 2100000E1E30E597 node_logged_in_count 2 state online WWPN 2100000E1E30E5E8 node_logged_in_count 2 state online IBM_2145:ITSO-SV1:superuser> IBM_Storwize:ITSO-V7000:superuser> rmhostport -fcwwpn 2100000E1E30E597 ITSO-VMHOST-01 IBM_Storwize:ITSO-V7000:superuser> IBM_Storwize:ITSO-V7000:superuser> rmhostport -iscsiname iqn.1994-05.com.redhat:e6ddffaab567  RHEL-Host-05 IBM_Storwize:ITSO-V7000:superuser> IBM_Storwize:ITSO-V7000:superuser>rmhostport -nqn nqn.2016-06.io.rhel:875adad3345  RHEL-Host-08 IBM_Storwize:ITSO-V7000:superuser> 380  Implementing the IBM Storwize V7000 with IBM Spectrum Virtualize V8.2.1