Custom Search

Friday, October 17, 2014

Howto OpenvSwitch Delete/Clear Flows

##List all flows from the switch
sudo ovs-ofctl dump-flows name-of-switch/bridge

##Delete all flows from the switch
sudo ovs-ofctl del-flows name-of-switch/bridge

##List all datapath

sudo ovs-dpctl dump-dps

##Delete flows in the datapath
sudo ovs-dpctl del-flows

##Delete datapatch (Danger)
sudo ovs-dpctl del-dp

##Describe datapath
sudo ovs-dpctl show
sudo ovs-dpctl show -s
sudo ovs-dpctl show -s


##Clear netflow
sudo ovs-vsctl clear Bridge
name-of-switch/bridge netflow

No comments:

Post a Comment