Q-Logic FC HBA CLI Network Card User Manual


 
5 – Non-interactive Commands
Command Summary
5-30 SN0054614-00 F
S
Disable (deselect) a LUN on a specific target on a specific HBA (5)
Enable all LUNs on a specific target on a specific HBA (6)
Disable (deselect) all LUNs on a specific target on a specific HBA (7)
Enable (select) all LUNs of all targets on a specific HBA (8)
Disable (deselect) all LUNs of all targets on a specific HBA (9)
For these commands:
To view all selective LUNs for all HBA ports, type:
# scli -m all (view | ?)
To view an HBA’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 HBA CLI shows the HBA’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 HBA CLI shows that LUN’s
current state as selected or deselected for that HBA.
To enable (select) a LUN on a specific target on a specific HBA, type:
# scli -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 HBA, type:
HBA Instance = HBA number (use -g command to find)
HBA WWPN = World wide port name of the HBA
Target WWNN = World wide node name of the target
Target WWPN = World wide port name of the target
LUN ID = ID of the LUN
NOTE:
You can repeat the sequence <Target WWNN> <Target WWPN> <LUN ID>
1 to select multiple LUNs in the same command.