To create a new bridge, issue ovs-vsctl add-br br0 – set bridge br0 datapath_type=pica8 command. In the following example, the bridge needs four 1GbE ports. To add each 1GbE port to the bridge, issue ovs-vsctl add-port br0 ge-1/1/1 – set interface ge-1/1/1 type=pica8 command 4 times to add ge-1/1/1 to ge1/1/4 to the bridge. To verify the configuration, use ovs-vsctl show to show the database content. As shown in the screen shot, the bridge should have four 1GbE ports and an internal port.
Next, monitor the port status and examine the port configuration with ovs-ofctl show br0 command. The following commands are to show the configuration of the bridge.
In the example provided, port state is LINKDOWN because in the example set up, the cable has not been connected yet. The Pica8 1GbE port supports RJ45 copper connector and auto negotiation from 10 MB to 1 GB speed range. Next, examine the port statistics, using the _ovs-ofctl dump-ports br0 command. It shows the RX and TX statistics: since the link is down, no packets are sent or received, and all counters should be zeros.