Openvswitch
Openvswitch
Openvswitch
ovs-vsctl list bridge ovs-br
(1) + (2) can be written ovs−vsctl add−br ovs-br -- add−port ovs-br eth0
ovs-vsctl del-br ovs-br # If it does not exist, there will be error log
Remove Bridge
ovs-vsctl --if-exists del-br ovs-br
Change the ofport (openflow port number) to 100 ovs-vsctl add-port ovs-br eth0 -- set Interface eth0 ofport_request=100
Support OpenFlow Version 1.3 1.2 ovs-vsctl set bridge ovs-br protocols=OpenFlow12,OpenFlow13
Remove the OpenFlow support settings ovs-vsctl clear bridge ovs-br protocols
VLAN
Set the VLAN tag ovs-vsctl add-port ovs-br vlan3 tag=3 -- set interface vlan3 type=internal
ovs-vsctl show
Query the VLAN
ifconfig vlan3
\>vlan_vid,output:3
Ovs-ofctl add-flow Remove the vlan tag ovs-ofctl add-flow ovs1 in_port=3,dl_vlan=100,actions=strip_vlan,output:1
Set the GRE tunnel ovs−vsctl add−port ovs-br ovs-gre -- set interface ovs-gre type=gre options:remote_ip=1.2.3.4
Dumps OpenFlow flows do not contain hidden flows (common) ovs-ofctl dump-flows ovs-br
Dump specific bridge of the datapath flows regardless of any type ovs-appctl dpif/dump-flows ovs-br
Dump in the Linux kernel in the datapath flow table (commonly used) ovs-dpctl dump-flows [dp]
OpenVswitch XenServer
About Log
About Fallback
OpenVswitch About Fallback
Regardless of the Controller connection status why, must be carried out through OpenFlow ovs-vsctl set-fail-mode ovs-br
About sFlow
About NetFlow
About ssl
OpenVswitch About SSL
About SPAN
- --id = @ p
get port tap0 \
About VXLAN
Establish the VXLAN Network ID (VNI) and the specified ovs-vsctl set interface vxlan type=vxlan option:remote_ip=xxxx
OpenFlow Trace
Other
OpenVswitch Others
Reference
Ovs-vsctl
OpenvSwitch FAQ
OpenvSwitch Debugging
Network flow monitoring with Open vSwitch
Categories: Virtual