Thursday, July 24, 2014

Open vSwitch Useful Commands

Determine if XenServer is using 'Bridge' mode  or 'vSwitch' mode for the network stack

xe-get-network-backend

Show flow statistics for openvswitch
ovs-dpctl show

The following command creates a detailed list about currently active flows, and can be
useful to verify the types of traffic the OvS sees:

ovs-dpctl dump-flows <bridgename> 

Switch between Linux bridge and vSwitch
xe-switch-network-backend bridge 
xe-switch-network-backend openvswitch

Version of openvswitch
ovs-ofctl -V

Dump Flows
ocs-dpctl dump-flows <interface> 
For example:  ocs-dpctl dump-flows xenbr4

No comments:

Post a Comment