bridge
networkingLinux
The bridge command is one of the most frequently used commands in Linux/Unix-like operating systems. bridge Manage bridge addresses and devices with the iproute2 package
Quick Reference
Command Name:
bridge
Category:
networking
Platform:
Linux
Basic Usage:
bridge [options] [arguments]
Common Use Cases
Syntax
bridge [OPTIONS] COMMAND
Options
Subcommand | Description |
---|---|
link |
Bridge port (interface) configuration |
fdb |
Forwarding database management |
vlan |
VLAN filter management |
monitor |
Watch for bridge changes |
Common Options:
Option | Description |
---|---|
-V, -Version |
Print the version of the bridge utility |
-s, -stats |
Show more information with statistics |
-n, -net NETNS |
Switch to the specified network namespace |
-j, -json |
Output results in JSON format |
Examples
How to Use These Examples
The examples below show common ways to use the bridge
command. Try them in your terminal to see the results. You can copy any example by clicking on the code block.
# Basic Examples Basic
bridge link show