Portcfgnport – Brocade Fabric OS Command Reference (Supporting Fabric OS v7.3.0) User Manual
Page 806
776
Fabric OS Command Reference
53-1003131-01
portCfgNPort
2
portCfgNPort
Enables or disables N_Port functionality for an Access Gateway port.
SYNOPSIS
portcfgnport [slot/]port1[-port2] [mode]
DESCRIPTION
Use this command to enable or disable N_Port functionality for an Access Gateway port or for a range of 
ports. The enabled N_Ports automatically come online if they are connected to an enterprise fabric 
switch that supports NPIV. When used without operands, this command displays the port configuration.
NOTES
NPIV capability must be enabled on the ports connected to the Access Gateway. By default, NPIV is 
enabled. Use portcfgnpivport --enable to enable NPIV capability on a port, if it was previously disabled. 
Note that enabling or disabling NPIV capability is no supported in Access Gateway mode.
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 optional operands:
slot
Specifies the slot number, followed by a slash (/) on bladed systems.
port1[-port2]
Specifies a single port or a range of ports to be configured as N_Ports, for 
example, 3-9, or 2/10-15.
mode
Enables (1) or disables (0) N_Port functionality on the specified ports. The default 
mode is 0 (disabled).
EXAMPLES
To enable N_Port functionality for a port:
switch:admin> portcfgnport 8 1
To enable N_Port functionality for a set of ports in a specific range:
switch:admin> portcfgnport 2-3 1
To display the N_Port configuration for all ports:
switch:admin> portcfgnport
Ports 0 1 2 3 4 5 6 7 8 9 10 [...]
--------------------+--+--+--+--+--+--+--+--+--+--+--+- [...]
Locked N_Port .. .. ON ON .. .. .. .. ON .. .. [...]
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
Trunk Port ON ON ON ON ON ON ON ON ON ON ON ON ON ON ON ON
Locked N_Port .. .. ON ON .. .. .. .. .. .. .. .. .. .. .. ..
Persistent Disable.. .. .. .. .. .. .. .. .. .. .. .. .. .. .. ..
(output truncated)
SEE ALSO