beautypg.com

Dell POWEREDGE M1000E User Manual

Page 68

background image

36

Fabric OS Command Reference

53-1001764-02

ag

2

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”

To create a WWN to port group mapping for all currently mapped devices (this command does not
affect devices not already mapped or connecting later).

switch:admin>

ag --addwwnpgmapping 4 --all

To add port 13 as a preferred failover N_Port for a device:

switch:admin>

ag --addwwnfailovermapping 13 “0:12:00:05:1e:85:92:88”

To disable all WWN mappings:

switch:admin>

ag --wwnmappingdisable --all

To display the WWN mappings when WWN load balancing policy is not enabled:

switch:admin>

ag --wwnmapshow

Static Device Mapping Information:

WWN, 1st N_Port 2nd N_Port PG_ID Current Enabled

----------------------------------------------------------------

25:f7:00:0c:29:00:02:8b 9 None None None yes

25:f7:00:0c:29:00:03:8b 9 None None None yes

25:f7:00:0c:29:00:04:8b 9 None None None yes

25:f7:00:0c:29:00:05:8b 9 None None None yes

25:f7:00:0c:29:00:07:8b 9 None None None yes

25:f7:00:0c:29:00:08:8b 9 None None None yes

25:f7:00:0c:29:00:09:8b 9 None None None yes

25:f7:00:0c:29:00:0a:8b 9 None None None yes

---------------------------------------------------------------

Dynamic Device Mapping Information:

---------------------------------------------------------------

No dynamic mappings in use

----------------------------------------------------------------