Brocade Fabric OS Command Reference (Supporting Fabric OS v7.3.0) User Manual

Page 71

Advertising
background image

Fabric OS Command Reference

41

53-1003131-01

ag

2

To enable persistent ALPA in stringent mode:

switch:admin> ag --persistentalpaenable 1 -s

Persistent ALPA mode is enabled

To disable persistent ALPA mode:

switch:admin> ag --persistentalpaenable 0

Persistent ALPA mode is enabled

To display the ALPA database entries for F_Port 5:

switch:admin> ag --printalpamap 5

Hash table for Port 5 data

PWWN ALPA

============================================

20:12:00:05:1e:85:92:88 1

20:07:00:05:1e:01:0b:4a 3

To attempt to remove a device entry from the database while the device is online and cannot be
removed:

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

To remove a device entry from the database when the device is offline:

switch:admin> ag --deletepwwnfromdb \

0:12:00:05:1e:85:92:88

Device 20:13:00:05:1e:85:92:88 successfully deleted

To remove a device entry from the database when the device is not present in the table

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

To remove the PWWN to ALPA value for port 5 from the database and to verify the removal:

switch:admin> ag --clearalpamap 5

ALPA Table for port 5 is cleared

switch:admin> ag --clearalpamap 5

Hash table for Port 5 data

PWWN ALPA

============================================

Hash Table is empty

Device WWN mapping commands

To create a WWN to N_Port mapping for two devices.

switch:admin> ag --addwwnmapping 8 \

"0:12:00:05:1e:85:92:88; 0:12:00:05:1e:85:92:88"

To delete one of the device WWN to N_Port mappings.

switch:admin> ag --delwwnmapping 8 \

"0:12:00:05:1e:85:92:88"

Advertising