Basic OpenvSwitch commands
Open vSwitch includes utilities that can be used to manage virtual switches created by users, including those created by the OpenStack Networking agent. These commands are useful when troubleshooting issues that inevitably occur on the network.
Base commands
The majority of Open vSwitch configuration and troubleshooting can be accomplished with the following commands:
ovs-vsctl
: A tool used to configure theovs-vswitchd
databaseovs-ofctl
: A tool used for monitoring and administering OpenFlow switchesovs-dpctl
: A tool used to administer Open vSwitch data pathsovs-appctl
: A tool used to query and manage Open vSwitch daemons
ovs-vsctl
The ovs-vsctl
tool is used to configure and view OVS bridge/switch operations. With this tool, users can configure ports on a switch, create and delete virtual switches, create bonds, and manage VLAN tagging on ports.
Useful commands include the following:
ovs-vsctl show
: Prints a brief overview of the switch database configuration, including...