net-destroy

Deactivates an active virtual network.

Syntax


1  net-destroy!  --network
2.1 <network-name>
2.1 <network-UUID>
Where:
<network-name>
Is the name of the virtual network.
<network-UUID>
Is the UUID of the virtual network.

Selected options

--network
Specifies the virtual network.

Usage

Managing virtual networks

Example

This example shuts down the virtual network with name net0.
# virsh net-destroy net0