From 4a52fa4338a8eb73c8c7fcd3e98c391a3024a8d1 Mon Sep 17 00:00:00 2001 From: Managor <42655600+Managor@users.noreply.github.com> Date: Wed, 12 Mar 2025 08:39:33 +0200 Subject: [PATCH] bridge: add page (#15821) --- pages/linux/bridge.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 pages/linux/bridge.md 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]}}`