OVS Commands Used in this Tutorial
Â
ovs-vsctl show ovs-ofctl show br0 ovs-ofctl dump-ports br0 ovs-vsctl list-br ovs-vsctl list-ports br0 ovs-vsctl list-ifaces br0 ovs-ofctl dump-flows br0 ovs-ofctl snoop br0 ovs-vsctl add-br br0 - set bridge br0 datapath_type=pica8 ovs-vsctl del-br br0 ovs-vsctl set-controller br0 tcp:172.16.1.240:6633 ovs-vsctl del-controller br0 ovs-vsctl set Bridge br0 stp_enable=true ovs-vsctl add-port br0 ge-1/1/1 - set interface ge-1/1/1 type=pica8 ovs-vsctl add-port br0 ge-1/1/2 - set interface ge-1/1/2 type=pica8 ovs-vsctl add-port br0 ge-1/1/3 - set interface ge-1/1/3 type=pica8 ovs-vsctl add-port br0 ge-1/1/4 - set interface ge-1/1/4 type=pica8 ovs-vsctl add-port br0 ge-1/1/1 type=pronto options:link_speed=1G ovs-vsctl del-port br0 ge-1/1/1 ovs-ofctl add-flow br0 in_port=1,actions=output:2 ovs-ofctl mod-flows br0 in_port=1,dl_type=0x0800,nw_src=100.10.0.1,actions=output:2 ovs-ofctl add-flow br0 in_port=1,actions=output:2,3,4 ovs-ofctl add-flow br0 in_port=1,actions=output:4 ovs-ofctl del-flows br0 ovs-ofctl mod-port br0 1 no-flood ovs-ofctl add-flow br0 in_port=1,dl_type=0x0800,nw_src=192.168.1.241,actions=output:3 ovs-ofctl add-flow br0 in_port=4,dl_type=0x0800,dl_src=60:eb:69:d2:9c:dd,nw_src=198.168.1.2,nw_dst=124.12.123.55,actions=output:1 ovs-ofctl mod-flows br0 in_port=4,dl_type=0x0800,nw_src=192.210.23.45,actions=output:3 ovs-ofctl del-flows br0 in_port=1
Copyright © 2024 Pica8 Inc. All Rights Reserved.