User`s guide
Chapter 8 Virtual Host Bus Adapters (vHBAs) 171
Syntax
By default LUN masking is not applied to a vHBA. All LUNs are visible by default.
Parameter Description
add san lun-mask <mask-name> [<wildcard>] target <wwpn>
lun {<lun-range>|all|none}
add vhba <vhba>.<server-profile> <slot>/<port>
{-lun-mask=<mask-name>|-no-lun-masking|none}
set vhba <vhba-name>.<server-name> {-lun-mask=<mask-name>|none}
show vhba <vhba>.<server-profile> [<wildcard>]
-lun-mask={<mask-name>|none} [-detail]
show vhba <vhba>.<server-profile> [<wildcard>] targets [-detail]
Parameter Description
add san lun-mask <mask-name> target <wwpn>
<lun-range>
A named SAN LUN mask to create. A tuple of
target WWPN and LUN IDs is required. A
<lun-range> can be a single LUN ID or a range of
LUN IDs.
The range may contain multiple LUN IDs separated
by commas or continuous IDs separated by a colon.
For example 1,5,6:9,34 means LUN IDs 1,5,6,7,8,9,34.
A set vhba rescan is required each time LUN
IDs change.
You can also use the all or none keyword to
control the number of LUNs that will be masked.
add vhba <vhba>.<server-profile>
<slot>/<port> -lun-mask=<mask-name>
Creates a vHBA and specifies a LUN mask to be
seen. Only these LUNs are allowed to be discovered
over this vHBA. You can also use the
-no-lun-masking argument to add a LUN mask
with the no LUN reporting option. For more
information about using -no-lun-masking, see
“Optional LUN Masking: No Report LUN
Interception” on page 174.
set vhba <vhba>.<server-profile>
<slot>/<port> -lun-mask=<mask-name>
Adds a LUN mask to an existing vHBA. You can
also use the keyword none to remove a LUN Mask
from a vHBA. This might require a rescan on the
vHBA.
show vhba <vhba>.<server-profile> -lun-mask Displays configured LUN mask information.
show vhba <vhba>.<server-profile> targets Verifies if your LUN masking is working.