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

 

posted on 2020-02-14 17:44  tycoon3  阅读(385)  评论(0编辑  收藏  举报

导航