net-uuid

Displays the UUID of a virtual network that is specified with its name.

Syntax

Read syntax diagramSkip visual syntax diagram net-uuid  --network <network-name>
Where:
<network-name>
Is the name of the virtual network.

Selected options

--network
Specifies the virtual network.

Usage

Managing virtual networks

Example

# virsh net-uuid net0
fec14861-35f0-4fd8-852b-5b70fdc112e3