Difference between revisions of "Brctl"

From wikieduonline
Jump to navigation Jump to search
Line 6: Line 6:
  
 
  brctl show
 
  brctl show
  bridge name bridge id STP enabled interfaces
+
  bridge name bridge id [[STP]] enabled interfaces
 
  virbr0 8000.325400810bc6 yes virbr0-nic
 
  virbr0 8000.325400810bc6 yes virbr0-nic
  
 +
brctl show
 +
bridge name bridge id STP enabled interfaces
 +
docker0        8000.02424a095b68 no
 +
virbr0 8000.525400118b5a yes virbr0-nic
 
   
 
   
 
  bridge name bridge id STP enabled interfaces
 
  bridge name bridge id STP enabled interfaces
Line 15: Line 19:
 
  virbr1 8000.525400999cef yes virbr1-nic
 
  virbr1 8000.525400999cef yes virbr1-nic
 
vnet0
 
vnet0
 
  
 
== Related commands ==
 
== Related commands ==

Revision as of 10:21, 20 February 2020

brctl[1] commands allows ethernet bridge administration in Linux. It is included in bridge-utils package in Ubuntu.


Commands

brctl show
bridge name	bridge id		STP enabled	interfaces
virbr0		8000.325400810bc6	yes		virbr0-nic
brctl show
bridge name	bridge id		STP enabled	interfaces
docker0        8000.02424a095b68	no
virbr0		8000.525400118b5a	yes		virbr0-nic

bridge name	bridge id		STP enabled	interfaces
docker0		8000.02429250bfb7	no		
virbr0		8000.525400a300b0	yes		virbr0-nic
virbr1		8000.525400999cef	yes		virbr1-nic

vnet0

Related commands

See also

  • https://linux.die.net/man/8/brctl
  • Advertising: