How Do I Query and Configure the NPIV Function of Switches?
Question
On a Fibre Channel switch-based network, the NPIV function must be enabled on Fibre Channel switches. How do I query and configure the NPIV function of switches?
Answer
Brocade Fibre Channel series switches (NPIV function enabled by default):
- Run portcfgshow to query configurations of the NPIV function. View configuration information about the NPIV capability field and ensure that the status of the port connecting to the storage system is ON.
- Run the following commands in sequence to configure the NPIV function:
portcfgnpivport --enable [slot/]port
portcfgnpivport --setloginlimit [slot/]port login_limit
Cisco switches:
- Run show npiv status to query configurations of the NPIV function.
- Run the following commands in sequence to configure the NPIV function:
config t
feature npiv
QLogic switches and Huawei SNS2120 and SNS5120 switches:
The NPIV function is enabled by default and cannot be disabled.