Brocade Fabric OS Command Reference Manual Supporting Fabric OS v6.3.0 (53-1001337-01, July 2009)

618 Fabric OS Command Reference
53-1001337-01
portCfgNPIVPort
2
portCfgNPIVPort
Enables or disables N_Port ID virtualization (NPIV) functionality on a port.
Synopsis [slot/]port mode
Description Use this command to enable or disable NPIV functionality on a port.
N_Port ID Virtualization (NPIV) enables a single Fibre Channel protocol port to appear as multiple,
distinct ports, providing separate port identification within the fabric for each operating system
image behind the port as if each operating system image had its own unique physical port. NPIV
assigns a different virtual port ID to each Fibre Channel protocol device without impacting your
existing hardware implementation. The virtual port has the same properties as an N_Port and is
therefore capable of registering with all fabric services.
The following conditions must be met for a switch port to respond to NPIV requests from an NPIV
device:
NPIV capable: NPIV capability is a switch blade or port attribute that is required for NPIV
functionality. Some blades within a switch, or some ports within a switch or
blade, may not have NPIV capability. NPIV functionality cannot be enabled on
such ports and they do not respond to NPIV requests.
NPIV enabled: NPIV functionality must be enabled on a port for it to respond to NPIV
requests. By default, NPIV is by default enabled. It can be selectively disabled
or re-enabled on specified switch ports using this command.
NPIV HA: To enable NPIV functionality on dual-CP systems, NPIV-enabled firmware
must be running on both the active and the standby CPs. This requirement
does not apply to single-CP systems.
Up to a maximum of 255 virtual port IDs are allocated per NPIV port. The maximum number of
virtual IDs can be configured from 0 to 255 per port. The default value is 126 per port. The number
of virtual port IDs per switch can be configured with the configure command. Refer to the Fabric OS
Administrator’s Guide for details on NPIV configuration procedures.
Note Changes made by this command are persistent across switch reboots and power cycles.
Use the portCfgShow command to determine whether NPIV is enabled on a port. Use the
portCfgDefault command to reset all port configurations, including the NPIV configuration of a port.
The execution of this command is subject to Virtual Fabric or Admin Domain restrictions that may
be in place. Refer to chapter 1, “Using Fabric OS commands” and Appendix A, “Command
Availability” for details.
Operands This command has the following operands:
slot For bladed systems only, specifies the slot number of the port to be
configured, followed by a slash (/).
port Specifies the number of the port to be configured, relative to its slot for
bladed systems. Use switchShow to display a listing of valid ports.
mode Enables or disables NPIV on the specified port. Specify 1 to enable or 0 to
disable the feature.