Reference Guide

710 Brocade Fabric OS Command Reference
53-1004112-02
portCfgNPort
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 restrictions that may be in place. Refer to "Using Fabric
OS Commands" and "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