To create a new port on the bridge from the network device of the same name, use the ovs-vsctl add-port command.
ovs-vsctl [options] [--may-exist] add-port bridge port [args]
|options||See the output of ovs-vsctl --help command, also reproduced here.|
Without the --may-exist option, attempting to create a port that exists is an error. With the --may-exist option, this command does nothing if the port already exists in the bridge and is not a bonded port.
Optional arguments configure additional parameters for the port. For example, tag=9 would make the port an access port for VLAN 9. The syntax is the same as that for the ovs-vsctl set port command.
The following example adds the ge-1/1/1 port to bridge br0:
Add Bond Ports
PicOS support bond multiple ports as in_port or output, and this virtual port will not influnce each physical port forwarding packets.
Bonding port ge-1/1/1 ~ ge-1/1/4 as one port.