How do i display network information using kvm virsh?



  • To list the networks configured.

    # virsh net-list
     Name                 State      Autostart     Persistent
    ----------------------------------------------------------
     default              active     yes           yes
    

    When you have the name of the network you can display the information about it.

    # virsh net-info default
    Name:           default
    UUID:           b1168069-a9dr-456c-basc-bc788df71f24
    Active:         yes
    Persistent:     yes
    Autostart:      yes
    Bridge:         virbr0
    


© Lightnetics 2024