In the example, PWWN is the port that you want to remove from the database.

Displaying device data

You can view the ALPA of the host related to any ports you delete from the database.
1. Connect to the switch and log in using an account assigned to the admin role.
2. Enter the ag --printalpamap command with the appropriate option to display a database entry for a
specific F_Port. The following example will display an entry for F_Port 2.
switch:admin> ag --printalpamap 2

Clearing ALPA values

You can clear the ALPA values for a specific port.
1. Connect to the switch and log in using an account assigned to the admin role.
2. Enter the ag --clearalpamap command with the appropriate option to remove the PWW-to-ALPA
mapping for a specific port. In the following example, the mapping for port 2 is cleared from the
database.
switch:admin> ag --clearalpamap 2
NOTE
All the device data must be persistent in case of a reboot. During a reboot, the tables will be dumped
to the persistent_NPIV_config file.

Persistent ALPA policy considerations

The Persistent ALPA policy is not supported in the following situations:
When AG N_Ports are connected to the shared ports of 48-port Director blades.
Cisco fabrics. Enable Persistent FCID mode on the connecting Cisco switch to achieve the same
functionality.
Persistent ALPA configuration will not change to the default when the configDefault command is
used, but will retain the previous configuration.
Failover policy
The Access Gateway Failover policy ensures maximum uptime for the servers. When a port is
configured as an N_Port, the Failover policy is enabled by default and is enforced during power-up. The
Failover policy allows hosts and targets to automatically remap to another online N_Port if the primary
N-Port goes offline.
NOTE
For port mapping, the Failover policy must be enabled on an N_Port for failover to occur. For device
mapping, if a device is mapped to an N_Port in a port group, the device will always reconnect to the
least-loaded online N_Port in the group (or secondary N_Port in the group if configured) if the primary
Displaying device data
Access Gateway Administrator's Guide 65
53-1003126-02