Setup Guide

NOTE
Communication between host and target ports is not supported if both are mapped to the same N_Port.
Use the following recommendations for mapping between host and target ports:
Use separate port groups for the host and target ports.
If connecting a host and target port to the same AG device, map the host and target to separate N_Ports and connect those
N_Ports to the same fabric.
When configuring secondary port mapping for failover and failback situations, make sure that host and target F_Ports do not fail
over or fail back to the same N_Port.
Adding F_Ports to an N_Port
You can modify the default port mapping by adding F_Ports to an N_Port. Adding an F_Port to an N_Port routes that traffic to and from
the fabric through the specified N_Port.
You can assign an F_Port to only one primary N_Port at a time. If the F_Port is already assigned to an N_Port, you must first remove it
from the N_Port before you can add it to a different N_Port.
Use the following steps to add an F_Port to an N_Port.
1. Connect to the switch and log in using an account with admin permissions.
2. Enter the ag --mapadd
n_portnumber f_port1;f_port2;...
command to add the list of F_Ports to the N_Port.
The F_Port list can contain multiple F_Port numbers separated by semicolons. In the following example, F_Ports 6 and 7 are
mapped to N_Port 13.
switch:admin> ag --mapadd 13 "6;7"
F-Port to N-Port mapping has been updated successfully
3. Enter the ag --mapshow command and specify the port number to display the list of mapped F_Ports. Verify that the added
F_Ports appear in the list.
Removing F_Ports from an N_Port
You can assign an F_Port to only one primary N_Port at a time. If the F_Port is already assigned to an N_Port, you must first remove it
from the N_Port before you can add it to a different N_Port.
Use the following steps to remove an F_Port from an N_Port.
1. Connect to the switch and log in using an account assigned with admin permissions.
2. Remove any preferred secondary N_Port settings for the F_Port.
Refer to Deleting F_Ports from a preferred secondary N_Port on page 64 for instructions.
3. Enter the ag --mapdel
f_port1;f_port;...
command to remove F_Ports from an N_Port.
The F_Port list can contain multiple F_Port numbers separated by semicolons. In the following example, F_Ports 17 and 18 are
removed from the N_Port where they were mapped.
switch:admin> ag --mapdel 40 "17;18"
F-Port to N-Port mapping has been updated successfully
4. Enter the switchShow command to verify that the F_Port mapping is deleted and not assigned.
Configuring Ports in Access Gateway Mode
Brocade Fabric OS Access GatewayAdministration Guide
53-1004110-01 31