bridge
Quick Reference
Command Name:
bridge
Category:
networking
Platform:
Linux
Basic Usage:
Common Use Cases
- 1
Network bridge configuration
Configure network bridges for traffic management
- 2
Virtual network setup
Set up virtual networks for containers and VMs
- 3
Network administration
Manage network bridges and their configurations
- 4
Traffic management
Control network traffic flow through bridges
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:
bridge link show
bridge fdb show
bridge vlan show
Advanced Examples:
bridge link set dev eth0 state 1