Qlogic 3200 Series User Manual - page 95
5–Fibre Channel Noninteractive Commands
-m (View, Enable, or Disable LUNs)
SN0054667-00 B
5-25
To view all selective LUNs for all adapter ports, issue the following command:
# qaucli -pr fc -m all (view | info)
To view an adapter’s selective LUN list, issue the following command:
# qaucli -pr fc -m (<hba instance> | <hba wwpn> | all) (view
| info)
QConvergeConsole CLI shows the adapter’s enabled LUN list in the following
format:
<target wwnn> <target wwpn> <lun id>
To view the current select state of a specific LUN, issue the following command:
# qaucli -pr fc -m (<hba instance> | <hba wwpn>) (<target wwnn>
<target wwpn> <lun id>) (view | info)
If the input represents a valid LUN, QConvergeConsole CLI shows that LUN’s
current state as selected or deselected for that adapter.
To enable (select) a LUN on a specific target on a specific adapter, issue the
following command:
# qaucli -pr fc -m (<hba instance> | <hba wwpn>) {<target wwnn>
<target wwpn> <lun id> ( 1 | enable | select )}
To disable (deselect) a LUN on a specific target on a specific adapter, issue the
following command:
# qaucli -pr fc -m (<hba instance> | <hba wwpn>) {<target wwnn>
<target wwpn> <lun id> (0 | disable | deselect)}
To enable (select) all LUNs for a specific target on a specific adapter, issue the
following command:
# qaucli -pr fc -m (<hba instance> | <hba wwpn>) select | enable
<target wwnn> <target wwpn>
NOTE:
You can repeat the sequence <target wwnn> <target wwpn> <lun
id> 1
to select multiple LUNs in the same command.
NOTE:
To select multiple LUNs in the same command, repeat the following
sequence:
<target wwnn> <target wwpn> <lun id> 0