Configuring VN-Link Related Policies
This chapter includes the following sections:
- Dynamic vNIC Connection Policy
- Configuring a Dynamic vNIC Connection Policy
- Deleting a Dynamic vNIC Connection Policy
Dynamic vNIC Connection Policy
This policy determines how the VN-link connectivity between VMs and dynamic vNICs is configured. This policy is required for Cisco UCS instances that include servers with virtual interface card adapters on which you have installed VMs and configured dynamic vNICs.
Each Dynamic vNIC connection policy must include an adapter policy and designate the number of vNICs that can be configured for any server associated with a service profile that includes the policy.
Configuring a Dynamic vNIC Connection Policy
| Command or Action | Purpose | |
|---|---|---|
| Step 1 | UCS-A# scope org org-name | Enters organization mode for the specified organization. To enter the root organization mode, type / as the org-name. |
| Step 2 | UCS-A /org # create dynamic-vnic-conn-policy policy-name | Creates the specified vNIC connection policy and enters organization vNIC connection policy mode. |
| Step 3 | UCS-A /org/dynamic-vnic-conn-policy # set adaptor-profile policy-name | Specifies the Ethernet adapter policy to use for this policy. |
| Step 4 | UCS-A /org/dynamic-vnic-conn-policy # set dynamic-eth dynamic-eth-num off | Specifies the number of dynamic vNICs to use for this policy. |
| Step 5 | UCS-A /org/dynamic-vnic-conn-policy # commit-buffer | Commits the transaction. |
The following example creates a dynamic vNIC connection policy named MyDynVnicConnPolicy that uses the Ethernet adapter policy named EthPolicy19 for 12 dynamic vNICs and commits the transaction:
UCS-A# scope org / UCS-A /org # create dynamic-vnic-conn-policy MyDynVnicConnPolicy UCS-A /org/dynamic-vnic-conn-policy* # set adaptor-profile EthPolicy19 UCS-A /org/dynamic-vnic-conn-policy* # set dynamic-eth 12 UCS-A /org/dynamic-vnic-conn-policy* # commit-buffer UCS-A /org/dynamic-vnic-conn-policy #
Deleting a Dynamic vNIC Connection Policy
| Command or Action | Purpose | |
|---|---|---|
| Step 1 | UCS-A# scope org org-name | Enters organization mode for the specified organization. To enter the root organization mode, type / as the org-name. |
| Step 2 | UCS-A /org # delete dynamic-vnic-conn-policy policy-name | Deletes the specified vNIC connection policy. |
| Step 3 | UCS-A /org # commit-buffer | Commits the transaction. |
The following example deletes the dynamic vNIC connection policy named MyDynVnicConnPolicy and commits the transaction:
UCS-A# scope org / UCS-A /org # delete dynamic-vnic-conn-policy MyDynVnicConnPolicy UCS-A /org* # commit-buffer UCS-A /org #
Feedback