Setup Guide

1. Connect to the switch and log in using an account with admin permissions.
2. Enter the portcfgnport command. The command output displays ON for locked N_Ports.
Unlocking N_Ports
By default, when you enable Access Gateway mode on embedded switches, all external ports are configured in N_Port lock mode. A
switch in Access Gateway mode connects only Fibre Channel Protocol (FCP) hosts and targets to the fabric. It does not support other
types of ports, such as interswitch link (ISL) ports.
On fabric switches in Native mode, the port types are not locked. Fabric OS Native mode dynamically assigns the port type based on the
connected device: F_Ports and FL_Ports for hosts, HBAs, and storage devices; and E_Ports, EX_Ports, and VE_Ports for connections
to other switches.
When you unlock an N_Port, the configuration automatically changes the port to an F_Port. Any F_Ports mapped to that N_Port are
unmapped and disabled.
The following steps show how to unlock and lock N_Ports.
1. Connect to the switch and log in using an account with admin permissions.
2. Enter the portcfgnport command to display which ports on the switch are locked as N_Ports. Command output will display ON
for locked N_Ports.
NOTE
The portcfgnport command only works when the Port Grouping policy is enabled.
3. To unlock N_Port mode, enter the portcfgnport command and specify the N_Port port number and 0 (zero).
switch:admin> portcfgnport 10 0
4. To lock a port in N_Port mode, enter the portcfgnport command and specify the port number and 1.
switch:admin> portcfgnport 10 1
Persistent port online state
Use the portCfgPersistentEnable command on all external or outward facing ports to ensure that these ports come back online after a
switch reboot or power failure. For an embedded switch, execute this command through the chassis management console and not the
Fabric OS CLI or the command may not persist.
NOTE
If the port is connected to another switch when this command is entered, the fabric may reconfigure.
After the port is persistently enabled, devices connected to the port can again communicate with the fabric when the port comes back
online. You can Identify a single port to be configured by its port number or by its port index number. Port ranges are supported with
index numbers or by specifying a slot or a slot range. Use the switchShow command for a list of valid ports, slots, and port index
numbers.
As an example, to persistently enable a single port, enter the following command.
switch:admin> portcfgpersistentenable 4
Refer to the
Fabric OS Command Reference
for more information.
Configuring Ports in Access Gateway Mode
Brocade Fabric OS Access GatewayAdministration Guide
42 53-1004110-01