Q-Logic FC Network Card User Manual


 
4–Non-Interactive Commands
Command Summary
4-34 SN0054614-00 K
Use the -m command to:
View all selective LUNs for all adapter ports
View an adapter’s selective LUN list
View the current selective state of a LUN on a specific target
Enable (select) a LUN on a specific target on a specific adapter
Disable (deselect) a LUN on a specific target on a specific adapter
Enable all LUNs on a specific target on a specific adapter
Disable (deselect) all LUNs on a specific target on a specific adapter
Enable (select) all LUNs of all targets on a specific adapter
Disable (deselect) all LUNs of all targets on a specific adapter
For these commands:
To view all selective LUNs for all adapter ports, type:
# scli -m all (view | ?)
To view an adapter’s selective LUN list, type:
# scli -m (<hba instance> | <hba wwpn> | all) (view | ?)
In Solaris SPARC, include double quotes around the question mark (?) if the
system is running with a csh or tsch shell. For example:
# scli -m <HBA> "?"
SANsurfer FC/CNA HBA 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, type:
# scli -m (<hba instance> | <hba wwpn>) (<target wwnn> <target
wwpn> <lun id>) (view | ?)
If the input represents a valid LUN, SANsurfer FC/CNA HBA 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, type:
# scli -m (<hba instance> | <hba wwpn>) {<target wwnn> <target
wwpn> <lun id> ( 1 | enable | select )}
hba instance = Adapter number (use -g command to find)
hba wwpn = World wide port name of the adapter
target wwnn = World wide node name of the target
target wwpn = World wide port name of the target
lun id = ID of the LUN