Reference Guide

Brocade Fabric OS Command Reference 707
53-1004112-02
portCfgNPIVPort
Notes
The execution of this command is subject to Virtual Fabric restrictions that may be in place. Refer to "Using Fabric
OS Commands" and "Command Availability" for details.
When using portCfgNPIVPort --disable or --enable on trunked ports, you must disable all trunk member ports
before changing the NPIV capability on a trunk member and then re-enable the trunked ports to ensure that the
configuration changes take effect.
Use the portCfgShow command to determine whether NPIV is enabled on a port and to display the maximum
logins configured for that port. Use the portCfgDefault command to reset all port configurations, including the
NPIV configuration of a port.
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 for a listing of valid ports.
--enable
Enables NPIV on the specified port. This command can be executed only in switch mode.
--disable
Disables NPIV on the specified port. This command can be executed only in switch mode.
--setloginlimit login_limit
Sets the maximum number of allowed logins for the specified port. This command can be
executed both in switch mode and Access Gateway mode. Valid values for login_limit are 0
to 255. The default value is 126.
--help
Displays the command usage.
mode
Enables or disables NPIV on the specified port. Specify 1 to enable or 0 to disable the
feature. The mode operand is a legacy command; it will be deprecated in a future Fabric OS
release.
Examples To display the current NPIV port configuration:
switch:admin> portcfgshow
Ports of Slot 0 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
-------------------+--+--+--+--+----+--+--+--+----+--+--+--+----+--+
Speed AN AN AN AN AN AN AN AN AN AN AN AN AN AN AN AN
Fill Word(On Active)0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Fill Word(Current) 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Fil 0 0 0 0 0 0 0 0 0 0 0 0 0 0
AL_PA Offset 13 .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. ..
Trunk Port ON ON ON ON ON ON ON ON ON ON ON ON ON ON ON ON
Long Distance .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. ..
VC Link Init .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. ..
Locked L_Port .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. ..
Locked G_Port .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. ..
Disabled E_Port .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. ..