net-dumpxml --network network-identifier
| Name | Required? | Description |
|---|---|---|
--network network-identifier
|
Required
|
The name or UUID of the network whose XML configuration is to be displayed.
The word "
--network" itself is optional.
|
virsh #net-dumpxmlmynetwork
virsh #net-dumpxml--networkmynetwork
virsh #net-dumpxmlbfbc4c69-7d6a-cc9a-904c-09910ce179c0
virsh #net-dumpxml--networkbfbc4c69-7d6a-cc9a-904c-09910ce179c0
virsh # net-list --all Name State Autostart ----------------------------------------- default active yes examplenetwork active no
examplenetwork":
virsh #net-dumpxmlexamplenetwork<network><name>examplenetwork</name><uuid>b7005dec-be1a-fe9a-338a-0cb1301dfcfd</uuid><forward mode='route'/><bridge name='virbr100' stp='on' delay='0' /><ip address='10.10.120.1' netmask='255.255.255.0'></ip></network>