Skip to content

Latest commit

 

History

History
24 lines (15 loc) · 1.01 KB

OVSDPCTL.md

File metadata and controls

24 lines (15 loc) · 1.01 KB

Guide: ovs-dpctl

ovs-dpctl program is a command line tool for monitoring and administering OpenFlow datapaths. It can also show the current state of an OpenFlow datapath, including features, configuration, and table entries.


OvS-DPCTL can be used with the command "ovs-dpctl" followed by any support command.

  • dump-flows: Dumps the flow table for all supported datapaths
  • dump-flows <datapath name>: Dumps the flow table for a given supported datapath
  • dump-ports-desc <datapath name: Dumps information about the ports on a given supported datapath

📖 There is more ovs-dpctl can do, see the ovs-dpctl man page for more!


Example: Dumping a Flow Table

When controllers are using Flow Table modifications, checking on the Flow Table can be vital for debugging.

  • To check the flow table for a given switch, for example s1, simply run the following command:
    ovs-dpctl dump-flows s1