beautypg.com

Dell POWEREDGE M1000E User Manual

Page 70

background image

42

Fabric OS Command Reference

53-1002746-01

ag

2

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
----------------------------------------------------------

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

switch:admin> ag --wwnmapshow
Static Device Mapping Information:
WWN, 1st N_Port 2nd N_Port PG_ID Current Enabled
----------------------------------------------------------
No static mappings are defined
----------------------------------------------------------
Dynamic Device Mapping Information:
WWN, 1st N_Port 2nd N_Port PG_ID Current Enabled
-----------------------------------------------------------
10:00:00:06:2b:11:52:df 23 None 0 23 yes
-----------------------------------------------------------

To configure and display the reliability counter for the preferred N_Port:

switch:admin> ag --reliabilitycounterset 50

switch:admin> ag --reliabilitycountershow
================================
Reliability Counter = 50
================================