Get the App
SLTechnology News&Howtos  ›  Servers  › 

Use the brctl command of linux to manage Ethernet bridges

Shulou Source: shulou.com Published: 2022-06-02 16:15:50 11月08日 Update

This article mainly introduces the use of linux brctl command Ethernet bridge management, the article is very detailed, has a certain reference value, interested friends must read it!

The brctl command is used to set up, maintain, and check the Ethernet bridge configuration in the linux kernel.

An Ethernet bridge is a device that is typically used to connect different networks of Ethernet together so that they appear as one Ethernet to participants. Each Ethernet connection corresponds to a physical interface in the bridge. These separate ethernets are aggregated into a larger ("logical") Ethernet that corresponds to the bridge network interface.

Syntax format: brctl [parameters]

Common parameters:

Reference example

Create a bridge using the addbr parameter:

[root@linuxcool ~] # brctl addbr br10

Use the delbr parameter to delete the bridge:

[root@linuxcool ~] # brctl delbr br10

Use the show parameter to query bridge information:

[root@linuxcool ~] # brctl show

Enable the bridge STP:

[root@linuxcool ~] # brctl stp br10 on

Close the bridge STP:

[root@linuxcool ~] # brctl stp br10 off above is all the content of Ethernet bridge management using linux's brctl command, thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!

Tags: Ethernet Ethernet bridges parameters commands management content interfaces networks references differences values information interests kernels participants instances guys partners commonly used Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno MySQL Shulou Information Microsoft Docker MariaDB