Brocade Fabric OS Command Reference Guide v6.1.0 (53-1000599-02, June 2008)

Table Of Contents
458 Fabric OS Command Reference
53-1000599-02
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 on
Goldeneye.
The execution of this command is subject to Admin Domain restrictions that may be in place. The
execution of this command is subject to Admin Domain restrictions that may be in place. Refer to
chapter 1, "Understanding Admin Domain Restrictions" 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 current agmode setting for the switch. The default value for mode is
0 (disabled) and if the value 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