- ovs-vsctl – utility to manage configuration state in ovsdb-server
- bridge management
- port management
- controller management
- failure mode management
- ovs-appctl – send commands to ovs-vswitchd
- ovs-dpctl – Tool to manage datapaths in the kernel directly.
- Direct management only reallu required when there is no ovs-vswitchd
- Mostly useful for inspecting kernel vs user flows
- ovs-ofctl – for working with openflow
OVE-VSCTL
Command |
Description |
ovs-vsctl show |
show openvswitch switches and ports |
|
|
OVS-APPCTL
Command |
Description |
ovs-appctl bridge/dump-flows |
Dumps all flows, including hidden |
ovs-appctl dpif/dump-flows |
Dumps datapath flows for a spefic bridge |
ovs-appctl ofproto/trace <switch_name> in_port=1 |
Trace packet process for traffic coming in on port_1 of given switch |
OVS-DPCTL
Command |
Description |
ovs-dpctl dump-flows |
Dumps kernel table entries |
|
|
OVS-OFCTL
Command |
Description |
ovs-ofctl dump-flows |
Dumps OF flows (excluding hidden flows) |
|
|
Rick Donato is a Network Automation Architect/Evangelist and the founder of
Packet Coders.
Latest posts by Rick Donato
(see all) Want to become a networking expert?
Here is our hand-picked selection of the best courses you can find online:
Cisco CCNA 200-301 Certification Gold Bootcamp
Complete Cyber Security Course – Network Security
Internet Security Deep Dive course
Python Pro Bootcamp
and our recommended certification practice exams:
AlphaPrep Practice Tests - Free Trial