Dell POWEREDGE M1000E User Manual

Page 68

Advertising
background image

40

Fabric OS Command Reference

53-1002746-01

ag

2

To delete secondary port mapping for F_Ports 7, 8 and 9:

switch:admin> ag --prefdel "7;8;9" 3
Preferred N_Port is deleted successfully \
for the F_Port[s]

To set secondary port mapping for F_Ports 7, 8 and 9:

switch:admin> ag --prefset "7;8;9" 3
Preferred N_Port is set successfully \
for the F_Port[s

ADS Policy commands

To set the list of allowed devices for Ports 11 and 12 to 'no access':

switch:admin> ag --adsset "11;12" ""
WWN list set successfully as the Allow Lists of \
the F_Port[s]

To set the list of allowed devices for Ports 1, 10 and 13 to 'all access':

switch:admin> ag --adsset "1;10;13" "*"
WWN list set successfully as the Allow Lists of \
the F_Port[s]

To remove two devices from the lists of allowed devices for ports 1 and 9:

switch:admin> ag --adsdel "3;9" \
"22:03:08:00:88:35:a0:12;22:00:00:e0:8b:88:01:8b"
WWNs removed successfully from Allow Lists of the\
F_Port[s]

To add a two new device to the lists of allowed devices for ports 1 and 9:

switch:admin> ag --adsadd "3;9" \
"20:03:08:00:88:35:a0:12;21:00:00:e0:8b:88:01:8b"
WWNs added successfully to Allow Lists of the \
F_Port[s]

To display the lists of allowed devices on the switch:

switch:admin> ag --adsshow
F_Port WWNs Allowed
-------------------------------------------
1 ALL ACCESS
3 20:03:08:00:88:35:a0:12
21:00:00:e0:8b:88:01:8b
9 20:03:08:00:88:35:a0:12
21:00:00:e0:8b:88:01:8b
10 ALL ACCESS
11 NO ACCESS
12 NO ACCESS
13 ALL ACCESS
--------------------------------------------

Persistent ALPA configuration commands

To enable persistent ALPA in flexible mode:

switch:admin> ag --persistentalpaenable 1 -f
Persistent ALPA mode is enabled

Advertising