The documentation set for this product strives to use bias-free language. For the purposes of this documentation set, bias-free is defined as language that does not imply discrimination based on age, disability, gender, racial identity, ethnic identity, sexual orientation, socioeconomic status, and intersectionality. Exceptions may be present in the documentation due to language that is hardcoded in the user interfaces of the product software, language used based on RFP documentation, or language that is used by a referenced third-party product. Learn more about how Cisco is using Inclusive Language.
Configuring Dynamic vNIC Connection Policies
![]() Note | In an SR-IOV topology, such as a Hyper-V or KVM cluster, a Virtual Function (VF) takes the place of the dynamic vNIC. The VF is essentially a restricted version of the dynamic vNIC, in which all system communication and configuration of the VF is performed through the associated physical function (PF). |
The dynamic vNIC connection policy determines how the connectivity between VMs and dynamic vNICs is configured. This policy is required for Cisco UCS domains that include servers with VIC adapters on which you have installed VMs and configured dynamic vNICs.
Each dynamic vNIC connection policy includes an Ethernet adapter policy and designates the number of vNICs that can be configured for any server associated with a service profile that includes the policy.
For KVM, use the predefined Ethernet adapter policy named Linux.
![]() Note | If you migrate a server that is configured with dynamic vNICs, the dynamic interface used by the vNICs fails and notifies you of that failure. When the server comes back up, assigns new dynamic vNICs to the server. If you are monitoring traffic on the dynamic vNIC, you must reconfigure the monitoring source. |
The following example shows how to create a dynamic vNIC connection policy named MyDynVnicConnPolicy that uses the system-provided Linux Ethernet adapter policy for 12 dynamic vNICs and commit the transaction:
UCS-A# scope org / UCS-A /org # create dynamic-vnic-conn-policy MyDynVnicConnPolicy UCS-A /org/dynamic-vnic-conn-policy* # set adapter-policy Linux UCS-A /org/dynamic-vnic-conn-policy* # set desc "Dynamic vNIC for Eth policy" 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 #
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, enter / 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 shows how to delete the dynamic vNIC connection policy named MyDynVnicConnPolicy and commit the transaction:
UCS-A# scope org / UCS-A /org # delete dynamic-vnic-conn-policy MyDynVnicConnPolicy UCS-A /org* # commit-buffer UCS-A /org #
The VM must be operational.
Command or Action | Purpose | |
---|---|---|
Step 1 | UCS-A# scope system |
Enters system mode. |
Step 2 | UCS-A /system # scope vm-mgmt |
Enters VM management mode. |
Step 3 | UCS-A /system/vm-mgmt # show virtual-machine | (Optional)
Displays the running virtual machines. |
Step 4 | UCS-A /system/vm-mgmt # scope virtual-machine uuid |
Enters command mode for the virtual machine that contains the dynamic vNIC. |
Step 5 | UCS-A /system/vm-mgmt/virtual-machine # show vnic [detail] |
Displays the vNIC properties. |
The following example shows how to display the properties of a dynamic vNIC in a VM:
UCS-A# scope system UCS-A /system # scope vm-mgmt UCS-A /system/vm-mgmt # show virtual-machine Virtual Machine: UUID: 420a00c8-934b-4ae3-6af5-2ce9b8bd0f44 Service Profile: org-root/ls-PTS-ch6-7 Server: sys/chassis-6/blade-7 Status: Online . . . UCS-A /system/vm-mgmt # scope virtual-machine 420a08b0-cda7-9e0a-424f-01ec8653eea0 UCS-A /system/vm-mgmt/virtual-machine # show vnic detail vNIC: Name: 4479 Status: Online MAC Address: 00:50:56:8A:07:B5 Profile Name: VM-mgmt Virtual Adapter: sys/chassis-1/blade-1/adapter-1/host-eth-9 Vnic Dn: org-root/ls-PTS-ch1-1/ether-dynamic-prot-009 Current Task: UCS-A /system/vm-mgmt/virtual-machine #