ovs-vsctl del-br

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 ovs−vsctl Commands.
--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

Copyright © 2024 Pica8 Inc. All Rights Reserved.