diff --git a/pages/linux/bridge.md b/pages/linux/bridge.md new file mode 100644 index 0000000000..8ec44abcdf --- /dev/null +++ b/pages/linux/bridge.md @@ -0,0 +1,24 @@ +# bridge + +> Show and manipulate network bridge addresses and devices. +> More information: . + +- List all bridges and their interfaces: + +`bridge {{[l|link]}}` + +- Show port vlan information: + +`bridge {{[v|vlan]}}` + +- Assign a VLAN to a port: + +`sudo bridge {{[v|vlan]}} {{[a|add]}} dev {{lanX}} vid {{vlan_id}} pvid {{tagged|untagged}}` + +- Remove a VLAN from a port: + +`sudo bridge {{[v|vlan]}} {{[d|delete]}} dev {{lanX}} vid {{vlan_id}}` + +- Watch for changes in bridge interfaces: + +`bridge {{[mo|monitor]}}`