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

Access Gateway Administrator’s Guide 29
53-1000605-01
Configuring port maps
4
4. Enter the ag command with the --mapadd <n_portnumber> “<f_port1;f_port2;...> operand to
add the list of F_Ports to the N_Port.
Where the f_portlist can contain multiple F_Port numbers separated by semicolons, for
example “17;18”.
switch:admin> ag --mapadd 13 "6;7"
F-Port to N-Port mapping has been updated successfully
5. Enter the ag --mapshow command with the n_portnumber operand to display a list of
mapped F_Ports. Verify that the F_Ports you added appear in the list.
switch:admin> ag --mapshow 13
N_Port : 13
Failover(1=enabled/0=disabled) : 1
Failback(1=enabled/0=disabled) : 1
Current F_Ports : None
Configured F_Ports : 6;7
PG_ID : 0
PG_Name : pg0
Removing F_Ports
Removing an F_Port from an N_Port unassigns the F_Port. The F_Port status changes to Disabled
(No mapping for F-Port).
To remove an F_Port from an N_Port
1. Connect and log in to the switch.
2. Enter the ag
--mapdel command with the <n_portnumber> <f_port1;f_port2;...> operands to
remove the list of F_Ports from the N_Port.
switch:admin> ag --mapdel 13 “5;6”
F-Port to N-Port mapping has been updated successfully
3. Enter the ag --mapshow command with the n_portnumber operand to display a list of
mapped F_Ports. Verify that the F_Ports you removed are not in the list.
switch:admin> ag --mapshow 13
N_Port : 13
Failover(1=enabled/0=disabled) : 1
Failback(1=enabled/0=disabled) : 1
Current F_Ports : None
Configured F_Ports : 7
PG_ID : 0
PG_Name : pg0
Specifying Preferred Secondary N_Ports
Specifying a Preferred Secondary N_Port adds a secondary N_Port for the specified F_Port to fail
over to. You must add the F_Ports to the N_Port with the prefset command to have an extra group
of F_Ports that can failover to the N_Port, if the default port mapping fails. For example:
--prefset "F_Port [;F_Port2;...]" N_Port