Default vNIC Behavior Policy
Default vNIC behavior policy allows you to configure how vNICs are created for a service profile. You can choose to create vNICS manually, or you can create them automatically.
You can configure the default vNIC behavior policy to define how vNICs are created. This can be one of the following:
-
None— does not create default vNICs for a service profile. All vNICs must be explicitly created.
-
HW Inherit—If a service profile requires vNICs and none have been explicitly defined, creates the required vNICs based on the adapter installed in the server associated with the service profile.
Note |
If you do not specify a default behavior policy for vNICs, HW Inherit is used by default. |
Configuring a Default vNIC Behavior Policy
Procedure
Command or Action | Purpose | |
---|---|---|
Step 1 |
UCSC# connect policy-mgr |
Enters policy manager mode. |
Step 2 |
UCSC(policy-mgr)# scope org / |
Enters the root organization mode. |
Step 3 |
UCSC(policy-mgr)/org # scope vnic-beh-policy |
Enters default vNIC behavior policy mode. |
Step 4 |
UCSC(policy-mgr)/org/vnic-beh-policy # set action {hw-inherit [template_name name] | none} |
Specifies the default vNIC behavior policy. This can be one of the following:
|
Step 5 |
UCSC(policy-mgr)/org/vnic-beh-policy # commit-buffer |
Commits the transaction to the system configuration. |
Example
This example shows how to set the default vNIC behavior policy to hw-inherit :
UCSC# connect policy-mgr
UCSC(policy-mgr) # scope org /
UCSC(policy-mgr)/org # scope vnic-beh-policy
UCSC(policy-mgr)/org/vnic-beh-policy # set action hw-inherit
UCSC(policy-mgr)/org/vnic-beh-policy* # commit-buffer
UCSC(policy-mgr)/org/vnic-beh-policy #