ovs flow操作

[root@kunpeng82 ovs]# ovs-ofctl dump-flows s1
 cookie=0x0, duration=432.489s, table=0, n_packets=1, n_bytes=70, in_port="s1_p1" actions=output:"s1_p1"
 cookie=0x0, duration=3457.887s, table=0, n_packets=26, n_bytes=2012, priority=0 actions=NORMAL
[root@kunpeng82 ovs]# ovs-ofctl del-flow s1  in_port=10
ovs-ofctl: unknown command 'del-flow'; use --help for help
[root@kunpeng82 ovs]# ovs-ofctl del-flows s1  in_port=10
[root@kunpeng82 ovs]# ovs-ofctl dump-flows s1
 cookie=0x0, duration=3509.246s, table=0, n_packets=26, n_bytes=2012, priority=0 actions=NORMAL
原文地址:https://www.cnblogs.com/dream397/p/12308291.html