brctl
Manage Ethernet bridge interfaces
TLDR
SYNOPSIS
brctl command [bridge] [interface]
DESCRIPTION
brctl manages Ethernet bridge interfaces on Linux. Bridges connect multiple network segments at Layer 2, allowing them to act as a single network. This is commonly used for virtualization, containers, and network infrastructure.It is part of the legacy bridge-utils package. No new features are added to it; modern setups should use ip link and the bridge command from iproute2 instead. For example, brctl addbr br0 is equivalent to ip link add br0 type bridge, and brctl addif br0 eth0 to ip link set eth0 master br0.
PARAMETERS
show
Display information about existing bridgesaddbr bridge
Create a new bridgedelbr bridge
Delete a bridgeaddif bridge interface
Add an interface to a bridgedelif bridge interface
Remove an interface from a bridgestp bridge on|off
Enable/disable Spanning Tree Protocolsetageing bridge time
Set MAC address ageing timesetfd bridge time
Set forwarding delay
CAVEATS
brctl is deprecated in favor of the ip and bridge commands from iproute2. Interfaces must be up to participate in bridging. STP should be enabled in complex topologies to prevent loops.
HISTORY
brctl is part of the bridge-utils package, being replaced by the iproute2 bridge command.
