In "Flexible" mode, the AG logs an event that it did not receive the same (requested) ALPA from the
core fabric and brings up the device with the ALPA assigned by the fabric.
In the "Stringent" mode, if the requested ALPA is not available, the server login will be rejected and
the server port cannot log in to the fabric.
Enabling the Persistent ALPA policy
By default, Persistent ALPA is disabled. You can enable Persistent ALPA using the ag --
persistentalpaenable command with the following syntax and with one of the following value types:
ag -persistentalpaenable 1/0[On/Off] -s/-f[Stringent/Flexible]
Flexible ALPA assigns an unassigned ALPA value when the ALPA assigned to the device is taken
by another host.
Stringent ALPA causes the host login request to be rejected by AG if assignment of the same ALPA
is not possible.
To enable Persistent ALPA, use the following steps.
1. Connect to the switch and log in using an account assigned to the admin role.
2. Enter the ag --persistentalpaenable command to enable persistent ALPA in flexible (-f ) or
stringent (-s ) mode. The following example shows enabling the policy in flexible mode.
switch:admin> ag --persistentalpaenable 1 -f
To ensure consistency among the different devices, after Persistent ALPA is enabled, all the ALPAs
become persistent, whether or not they were logged in before the Persistent ALPA policy was
enabled.
Disabling the Persistent ALPA policy
When you disable this policy, do not specify the value type (for example, flexible ALPA or stringent
ALPA). Use the following steps.
1. Connect to the switch and log in using an account assigned to the admin role.
2. Enter the ag --persistentalpadisable command.
switch:admin> ag --persistentalpaenable 0
Persistent ALPA device data
Access Gateway uses a table to maintain a list of available and used ALPAs. When the number of
entries in this table is exhausted, the host receives an error message. You can remove some of the
entries to make space using the instructions in Removing device data from the database on page
64.

Removing device data from the database

Use the following steps to remove device data from the database.
1. Connect to the switch and log in using an account assigned to the admin role.
2. Enter the ag --deletepwwnfromdb command.
switch:admin> ag --deletepwwnfromdb PWWN

Enabling the Persistent ALPA policy

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