ovs-vsctl add-br
To create a new bridge, use the ovs-vsctl add-br command. The new bridge initially has no ports, other than the bridge itself.
Syntax
ovs-vsctl [options] [--may-exist] add-br bridge
Parameters
options | See the output of ovs-vsctl --help command, also reproduced ovs−vsctl Commands. |
--may-exist | Without the --may-exist option, attempting to create bridge that already exists creates an error. With the --may-exist option, the command does nothing if the bridge already exists as a real bridge. |
bridge | Arbitrary bridge name. |
Examples
The following example creates a new bridge named br0:
admin@Switch$ovs-vsctl --may-exist add-br br0
Copyright © 2024 Pica8 Inc. All Rights Reserved.