configure vm delete virtual-interface

configure vm vm_name delete virtual-interface [name vf_name | mac mac_addr]

Description

Deletes a virtual interface from a guest virtual machine (VM).

Syntax Description

vm Virtual machine.
vm_name Specifies the VM to delete the virtual interface from.
delete Specifies deleting a virtual interface.
virtual-interface Specifies which virtual interface to delete.
name Specifies deleting a virtual interface by specifying its optional name.
vf_name Specifies the optional name (unique within this VM) of the virtual interface to delete from the VM.
mac Specifies deleting a virtual interface by specifying its MAC address.
mac_addr Specifies the virtual interface MAC address.

Default

N/A.

Usage Guidelines

To add a virtual interface to a guest VM, use the configure vm vm_name add virtual-interface port port {vlan vlan_id} {name vf_name} command.

Example

The following example deletes the virtual interface "my_vf" from the VM "vm1":

# configure vm vm1 delete virtual-interface my_vf

History

This command was first available in ExtremeXOS 30.5.

Platform Availability

This command is available on all platforms that support the Integrated Application Hosting (IAH) feature and have a Core or Premier license installed. For a list of platforms that support the IAH feature and for information about licenses, see the ExtremeXOS and Switch Engine 31.7 Feature License Requirements .