Programmable Internetworking & Communication Operating System Docs ... Click Spaces -> Space Directory to see docs for all releases ...
Page tree
Skip to end of metadata
Go to start of metadata

To delete a bridge and all of its ports, use the ovs-vsctl del-br command. If the bridge is real, this command also deletes any fake bridges that were created with the bridge as parent, and all of their ports.

Syntax

ovs-vsctl [options] [--if-exists] del-br bridge

Parameters

optionsSee the output of ovs-vsctl --help command, also reproduced here.
--if-exist

Without the --if-exists option, attempting to delete a bridge that does not exist creates an error. With the --if-exists option, attempting to delete a bridge that does not exist has no effect.

bridgeName of the bridge to be deleted.

Examples

The following example deletes the bridge named br0:

admin@Switch$ovs-vsctl --if-exists del-br br0
  • No labels