The following describes how to delete a virtual NIC in the Oracle VM environment using the configuration in "3.2.3 Setting up a virtual NIC in an Oracle VM environment" as an example.
Disconnecting a guest domain
Disconnect the guest domains "ldom1," "ldom2," or "ldom3" from the virtual switch with the ldm remove-vnet command.
# ldm remove-vnet vnet0 ldom1 # ldm remove-vnet vnet0 ldom2 # ldm remove-vnet vnet0 ldom3
See
For details on the ldm(1M) command, see the Solaris manual.
Deleting a virtual switch
Delete a virtual switch with the ldm remove-vsw command.
# ldm remove-vsw primary-vsw0
See
For details on the ldm(1M) command, see the Solaris manual.
Disabling a network monitoring function
Disable a network monitoring function with the rvnetadm stop-observ command.
# /opt/FJSVrvnet/bin/rvnetadm stop-observ
See
For details on the rvnetadm command, see "A.1 rvnetadm command."
Deleting a virtual NIC
Delete a virtual NIC with the rvnetadm delete command.
# /opt/FJSVrvnet/bin/rvnetadm delete -n fjvnet0
Note
Deleting the connected virtual switch beforehand is necessary when you delete a virtual NIC.
See
For details on the rvnetadm command, see "A.1 rvnetadm command."