There are several command-line options for Open vSwitch as it has become a very popular software-based switch for projects such as OpenStack networking and OpenFlow. There are three popular command-line tools for Open vSwitch administration:
- ovs-vsctl: This configures Open vSwitch parameters such as ports, adding or deleting bridges, and VLAN tagging
- ovs-dpctl: This configures the data path of Open vSwitch, such as showing the currently installed flows
- ovs-ofctl: This combines the functions of ovs-vsctl as well as ovs-dpctl but is meant for OpenFlow switches, thus the of in the name
Let's continue to use the Layer 2 switch example as before and look at some examples of the command-line tools. First up, let's look ...