To enable persistent ALPA in stringent mode:
To disable persistent ALPA mode:
To display the ALPA database entries for F_Port 5:
To attempt to remove a device entry from the database while the device is online and cannot be
removed:
To remove a device entry from the database when the device is offline:
To remove a device entry from the database when the device is not present in the table
To remove the PWWN to ALPA value for port 5 from the database and to verify the removal:
Device WWN mapping commands
To create a WWN to N_Port mapping for two devices.
To delete one of the device WWN to N_Port mappings.
Fabric OS Command Reference
53-1002746-01
switch:admin> ag --persistentalpaenable 1 -s
Persistent ALPA mode is enabled
switch:admin> ag --persistentalpaenable 0
Persistent ALPA mode is enabled
switch:admin> ag --printalpamap 5
Hash table for Port 5 data
PWWN
============================================
20:12:00:05:1e:85:92:88
20:07:00:05:1e:01:0b:4a
switch:admin> ag --deletepwwnfromdb
0:12:00:05:1e:85:92:88 20:08:00:05:1e:01:0b:4a Online. \
Cannot delete an online device
switch:admin> ag --deletepwwnfromdb
0:12:00:05:1e:85:92:88
Device 20:13:00:05:1e:85:92:88 successfully deleted
switch:admin> ag --deletepwwnfromdb
0:12:00:05:1e:85:92:00 20:12:00:05:1e:85:92:00 not found.
Please check the device name
switch:admin> ag --clearalpamap 5
ALPA Table for port 5 is cleared
switch:admin> ag --clearalpamap 5
Hash table for Port 5 data
PWWN
============================================
Hash Table is empty
switch:admin> ag --addwwnmapping 8
"0:12:00:05:1e:85:92:88; 0:12:00:05:1e:85:92:88"
switch:admin> ag --delwwnmapping 8
"0:12:00:05:1e:85:92:88"
ALPA
1
3
\
\
\
ALPA
\
\
2
ag
41