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

620 Fabric OS Command Reference
53-1001337-01
portCfgNPort
2
portCfgNPort
Enables or disables N_Port functionality for an Access Gateway port.
Synopsis portcfgnport [port_number | port_range] [mode]
Description Use this command to enable or disable N_Port functionality for an Access Gateway port. The
enabled N_Port automatically comes online if it is connected to an enterprise fabric switch that
supports NPIV.
Notes NPIV capability should be enabled on the ports connected to the Access Gateway. Use
portcfgnpivport to enable NPIV capability on the specific port. By default, NPIV is enabled by default
on all 4 G and 8 G platforms.
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:
port_number Specifies the port to enable or disable as an N_Port.
port_range Specifies the range of ports port1-port2 to enable or disable as N_Port
mode Displays the current Access Gateway setting for the switch. The default value
for mode is 0 (disabled) and 1 (enabled).
Examples To enable N_Port functionality for a port:
switch:admin> portcfgnport 2 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 the ports:
switch:admin> portcfgnport
Ports 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
--------------------+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
Locked N_Port ON ON ON ON .. .. .. .. ON 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
Locked N_Port ON ON ON ON .. .. .. .. ON ON ON ON .. .. .. .
Persistent Disable.. .. .. .. .. .. .. .. .. .. .. .. .. .. .. ..
NPIV capability ON ON ON ON ON ON ON ON ON ON ON ON ON ON ON ON
See Also portCfgShow, ag