Forrest logo
back to the brctl tool

brctl:tldr:08650

brctl: Remove an interface from an existing bridge.
$ sudo brctl delif ${bridge_name} ${interface_name}
try on your machine

This command is used to remove an interface from a specific bridge in a Linux-based system.

Here's a breakdown of the command:

  • sudo: This is a command that grants the user superuser or root privileges to execute the following command. It prompts the user for their password.
  • brctl: This is the command-line utility for managing Ethernet bridges in Linux.
  • delif: This is an argument passed to brctl specifying that we want to delete or remove an interface from a bridge.
  • ${bridge_name}: This is a placeholder for the name of the bridge you want to remove the interface from. You should replace ${bridge_name} with the actual name of the bridge.
  • ${interface_name}: This is a placeholder for the name of the interface you want to remove from the bridge. You should replace ${interface_name} with the actual name of the interface.

By executing this command, the specified interface will be removed from the specified bridge.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the brctl tool