Step 1 | UCSC#
connect
policy-mgr
|
Enters policy
manager mode.
|
Step 2 | UCSC(policy-mgr) # scope org org-name
| Enters organization mode for the specified organization. To enter the root organization mode, enter / as the org-name.
|
Step 3 | UCSC(policy-mgr) /org #
scope san-connectivity-policy
policy-name
|
Enters SAN connectivity policy mode for the specified SAN connectivity policy.
|
Step 4 | UCSC(policy-mgr) /org/san-connectivity-policy # create vhba vhba-name
[fabric {a | b}] [fc-if fc-if-name]
|
Creates a vHBA for the specified SAN connectivity policy and enters vHBA mode.
This name can be between 1 and 16 alphanumeric characters. You cannot use spaces or any special characters other than - (hyphen), _ (underscore), : (colon), and . (period), and you cannot change this name after the object has been saved.
|
Step 5 | UCSC(policy-mgr) /org/san-connectivity-policy/vhba #
set adapter-policy policy-name
|
Specifies the adapter policy to use for the vHBA.
|
Step 6 | UCSC(policy-mgr) /org/san-connectivity-policy/vhba #
set identity {dynamic-wwpn {wwpn | derived} | wwpn-pool wwn-pool-name}
|
Specifies the WWPN for the vHBA.
You can set the storage identity using one of the following options:
-
Create a unique WWPN in the form hh:hh:hh:hh:hh:hh:hh:hh.
You can specify a WWPN in the range from 20:00:00:00:00:00:00:00 to 20:FF:FF:FF:FF:FF:FF:FF or from 50:00:00:00:00:00:00:00 to 5F:FF:FF:FF:FF:FF:FF:FF.
If you want the WWPN to be compatible with Cisco MDS Fibre Channel switches, use the WWPN template 20:00:00:25:B5:XX:XX:XX.
-
Derive the WWPN from one burned into the hardware at manufacture.
-
Assign a WWPN from a WWN pool.
|
Step 7 | UCSC(policy-mgr) /org/san-connectivity-policy/vhba #
set max-field-size size-num
|
Specifies the maximum size of the Fibre Channel frame payload (in bytes) that the vHBA supports.
Enter an integer between 256 and 2112. The default is 2048.
|
Step 8 | UCSC(policy-mgr) /org/san-connectivity-policy/vhba #
set order {order-num | unspecified}
|
Specifies the PCI scan order for the vHBA.
|
Step 9 | UCSC(policy-mgr) /org/san-connectivity-policy/vhba #
set pers-bind {disabled | enabled}
|
Disables or enables persistent binding to
Fibre Channel targets.
|
Step 10 | UCSC(policy-mgr) /org/san-connectivity-policy/vhba #
set pin-group group-name
|
Specifies the SAN pin group to use for the vHBA.
|
Step 11 | UCSC(policy-mgr) /org/san-connectivity-policy/vhba #
set qos-policy policy-name
|
Specifies the QoS policy to use for the vHBA.
|
Step 12 | UCSC(policy-mgr) /org/san-connectivity-policy/vhba #
set stats-policy policy-name
|
Specifies the statistics threshold policy to use for the vHBA.
|
Step 13 | UCSC(policy-mgr) /org/san-connectivity-policy/vhba #
set template-name policy-name
|
Specifies the vHBA template to use for the vHBA. If you choose to use a vHBA template for the vHBA, you must still complete all of the configuration not included in the vHBA template, including Steps 4, 7, and 8.
|
Step 14 | UCSC(policy-mgr) /org/san-connectivity-policy/vhba #
set vcon {1 | 2 | 3 | 4 | any}
|
Assigns the vHBA to one or all virtual network interface connections.
|
Step 15 | UCSC(policy-mgr) /org/san-connectivity-policy/vhba #
commit-buffer
|
Commits the transaction to the system configuration.
|