How to view the Network Configuration in AHV
September 7, 2020 at 12:17 pm Leave a comment
Use the following commands to view the configuration of the network elements.
Before you begin
Log on to the Acropolis host with SSH.
Procedure
- To show interface properties such as link speed and status, log on to the Controller VM, and then list the physical interfaces.
nutanix@cvm$ manage_ovs show_interfaces
Output similar to the following is displayed:
name mode link speed eth0 1000 True 1000 eth1 1000 True 1000 eth2 10000 True 10000 eth3 10000 True 10000
- To show the ports and interfaces that are configured as uplinks, log on to the Controller VM, and then list the uplink configuration.
nutanix@cvm$ manage_ovs –bridge_name bridge show_uplinks
Replace bridge with the name of the bridge for which you want to view uplink information. Omit the –bridge_name parameter if you want to view uplink information for the default OVS bridge br0.Output similar to the following is displayed:
Bridge: br0 Bond: br0-up bond_mode: active-backup interfaces: eth3 eth2 eth1 eth0 lacp: off lacp-fallback: false lacp_speed: slow
- To show the bridges on the host, log on to any Controller VM with SSH and list the bridges:
nutanix@cvm$ manage_ovs show_bridges
Output similar to the following is displayed
Bridges: br0
- To show the configuration of an OVS bond, log on to the Acropolis host with SSH, and then list the configuration of the bond.
root@ahv# ovs-appctl bond/show bond_name
For example, show the configuration of bond0.
root@ahv# ovs-appctl bond/show bond0
Output similar to the following is displayed:
---- bond0 ---- bond_mode: active-backup bond may use recirculation: no, Recirc-ID : -1 bond-hash-basis: 0 updelay: 0 ms downdelay: 0 ms lacp_status: off active slave mac: 0c:c4:7a:48:b2:68(eth0) slave eth0: enabled active slave may_enable: true slave eth1: disabled may_enable: false
Entry filed under: Nutanix.
Trackback this post | Subscribe to the comments via RSS Feed