Brocade Access Gateway Administrator's Guide (53-1000605-01, October 2007)

30 Access Gateway Administrator’s Guide
53-1000605-01
Configuring additional F_Ports
4
The prefset command sets the preferred N_Port for one or more F_Ports. Preferred mapping is
optional. Preferred F_Port to N_Port Mapping provides an alternate N_Port for F_Ports to come
online for predictable failover and failback. An F_Port must have primary N_Port mapping before a
secondary N_Port can be configured. The list of F_Ports to mapped must be enclosed in quotation
marks. Port numbers must be separated by a semicolon.
You delete these same F_Ports using the prefdel command, for example:
--prefdel "F_Port [;F_Port2;...]" N_Port
The prefdel command deletes the preferred N_Port for the specified F_Port(s). The list of F_Ports to
delete from the secondary mapping must be enclosed in quotation marks. Port numbers must be
separated by a semicolon.
To add a Preferred Secondary F_Ports 3 and 9 to N_Port 4
1. Connect and log in to the switch.
2. Enter the ag --prefset command with the <F_Port1;F_Port2; ...> <N_Port> operands to add
the Preferred Secondary F_Ports to the specified N_Port.
switch:admin> ag --prefset "3;9" 4
Preferred N_Port is set successfully for the F_Port[s]
To remove the Preferred Secondary F_Ports 3 and 9 from N_Port 4
1. Connect and log in to the switch.
2. Enter the ag --prefdel command with the <F_Port1;F_Port2; ...> <N_Port> operands to delete
the preferred F_Port mapping from the specified N_Port.
switch:admin> ag --prefdel "3;9" 4
Preferred N_Port is deleted successfully for the F_Port[s]
Configuring additional F_Ports
By default, on embedded switches, only the internal ports of Brocade Access Gateway are
configured as F_Ports. All external ports are configured (locked) as N_Ports. For more information
on which ports are mapped by default, refer to Appendix A, “Default Port Mapping”. The internal
ports connect hosts in the bladed server and external ports connect to the fabric.
To connect an additional FCP initiator to an external port and reconfigure an N_Port as an F_Port
1. Remap any F_Ports on the N_Port being converted. See Adding F_Ports” on page 28.
2. Unlock the N_Port mode to change the port type to an F_Port. See “Unlocking N_Port mode”
on page 31.
3. Map the newly configured F_Port to an N_Port. See Adding F_Ports” on page 28.
4. Connect the HBA, host, or other FCP initiator to the F_Port.
NOTE
A switch in Access Gateway mode must have at least one port configured as an N_Port.
Therefore, the maximum number of F_Ports that can be mapped to an N_Port is the number of
ports on the switch minus one.