Adding a preferred secondary N_Port for device mapping (optional)

Use the following steps to configure a secondary N_Port where devices will connect if their first or
primary N_Port, if defined, is unavailable.
1. Connect to the switch and log in using an account assigned to the admin role.
2. To configure an N_Port as a failover port for one or multiple devices mapped to a specific N_Port ,
enter the ag --addwwnfailovermapping N_Port command with the "[WWN];[WWN]" option. All of
the listed device WWNs will use the listed N_Port if it is available and the first mapped N_Port is
unavailable.
The following example configures N_Port 32 as the failover port for two devices already mapped to
a primary N_Port.
ag --addwwnfailovermapping 32 "10:00:00:06:2b:0f:71:0c;10:00:00:05:1e:5e:2c:11"
To configure N_Port 32 as a failover port for all WWNs mapped to the N_Port, enter the ag --
addwwnfailovermapping N_Port command with the --all option.
ag --addwwnfailovermapping 32--all

Deleting a preferred secondary N_Port for device mapping (optional)

Use the following steps to remove a secondary N_Port where devices will connect if their first or
primary N_Port, if defined, is unavailable.
1. Connect to the switch and log in using an account assigned to the admin role.
2. To delete an N_Port configured as a failover port for one or multiple devices mapped to a specific
N_Port, enter the ag --delwwnfailovermapping N_Port command with the "[WWN];[WWN]" option.
All of the listed devices will stop using the N_Port if the first N_Port mapped to the devices is
unavailable unless they log in through F_Ports that are mapped to the N_Port.
The following example removes N_Port 32 as the secondary N_Port for two devices already
mapped to a primary N_Port.
ag --delwwnfailovermapping 32 "10:00:00:06:2b:0f:71:0c;10:00:00:05:1e:5e:2c:11"
To remove an N_Port as a failover port for all devices mapped to the N_Port, enter the ag --
delwwnfailovermapping N_Port command with the --all option.
The following command removes N_Port 32 as the secondary N_Port for all available devices.
ag --delwwnfailovermapping 32--all
Enabling and disabling the Failover policy on an N_Port
Use the following steps to enable or disable the Failover policy on a specific N_Port.
1. Connect to the switch and log in using an account assigned to the admin role.
2. Enter the ag --failovershow N_Port command to display the failover setting.
switch:admin> ag --failovershow 13
Failover on N_Port 13 is not supported

Adding a preferred secondary N_Port for device mapping (optional)

70 Access Gateway Administrator's Guide
53-1003126-02