---
# System prepended metadata

title: mininet-ovs 1

---

# mininet-ovs 1
[Youtube_link](https://www.youtube.com/watch?v=QKXuQtd37jU)
* check controller
```
ps aux | grep controller
```
* The help of ovs-ofctl 
```
ovs-ofctl -h
```
* kill controller
```
kill -9 ${controller_pid}
```
* show switch
```
ovs-ofctl show ${switch}
```
* check the flows
```
ovs-ofctl dump-flows ${switch}
```
* add flows
```
ovs-ofctl add-flow in_port=${switch_port} actions=output:${switch_port}
```
* delete flows
```
ovs-ofctl del-flow in_port=${switch_port} actions=output:${switch_port}
```
* single,3
![](https://i.imgur.com/dgZREAv.png)
![](https://i.imgur.com/TF7kAtS.png)


