beautypg.com

Dell POWEREDGE M1000E User Manual

Page 67

background image

Fabric OS Command Reference

35

53-1001764-02

ag

2

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

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