Skip to content

brctl

Command reference and practical examples for creating, configuring, and inspecting Ethernet bridges using the brctl utilit


add bridge

brctl addbr <bridge>

Delete bridge

brctl delbr <bridge>

Add interface to bridge

brctl addif <bridge>

Delete interface from bridge

brctl delif <bridge>

Set {on|off} turn hairpin on/off

brctl hairpin <bridge>

Set ageing time

brctl setageing <bridge>

Set bridge priority

brctl setbridgeprio <bridge>

Set bridge forward delay

brctl setfd <bridge>

Set hello time

brctl sethello <bridge>

Set max message age

brctl setmaxage <bridge>

Set path cost

brctl setpathcost <bridge>

Set port priority

brctl setportprio <bridge>

Show a list of bridges

brctl show 

Show a list of mac addrs

brctl showmacs <bridge>

Sshow bridge stp info

brctl showstp <bridge>

Set {on|off} turn stp on/off

brctl stp <bridge>