Removing f_ports from an n_port, F_port static mapping – Brocade Access Gateway Administrator's Guide (Supporting Fabric OS v7.3.0) User Manual
Page 34
![background image](/manuals/361651/34/background.png)
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
1.
Connect to the switch and log in using an account assigned to the admin role.
2.
Remove any preferred secondary N_Port settings for the F_Port. Refer to
on page 65 for instructions.
3.
Enter the ag --mapdel N_Port command with the f_port1;f_port;... option 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 17;18
F-Port to N-Port mapping has been updated successfully
4.
Enter the switchShow command to verify that the F_Port is free (unassigned).
In output for this command, the unassigned F_Port status "Disabled (No mapping for F_Port)." will
display under the "Proto" column.
F_Port Static Mapping
The F_Port Static Mapping feature allows you to change mapping of an F_Port to a different N_Port
using a single Fabric OS command (staticadd or staticdel ), rather than using the ag --mapdel
command to delete the existing N_Port port mapping to an F_Port, and then the ag --mapadd
command to map a different N_Port to the F_Port. Using two commands can be slow and can cause
some time-critical applications to malfunction.
Use the following steps to change F_Port to N_Port mapping.
1.
Connect to the switch and log in using an account assigned to the admin role.
2.
Enter the following command:
ag --staticadd "N-Port" "F-Port(s)"
Once F_Port Static Mapping is enabled, the F_Port and all attached devices log out of the
previously mapped N_Port and log in to the new N_Port.
Use the following steps to remove the static mapping:
1.
Connect to the switch and log in using an account assigned to the admin
role.
2.
Perform one of the following steps to remove mapping:
•
Map the F_Port to a different N_Port using the ag --staticadd
•
Enter the following command to remove F_Port mapping entirely:
ag --staticdel “N-Port” “F-Port(s)”
Removing F_Ports from an N_Port
32
Access Gateway Administrator's Guide
53-1003126-01