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-dumpxml mynetwork
virsh # net-dumpxml --network mynetwork
virsh # net-dumpxml bfbc4c69-7d6a-cc9a-904c-09910ce179c0
virsh # net-dumpxml --network bfbc4c69-7d6a-cc9a-904c-09910ce179c0
virsh # net-list --all Name State Autostart ----------------------------------------- default active yes examplenetwork active no
virsh # net-dumpxml examplenetwork <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>