Skip to content

Commit 4a52fa4

Browse files
authored
bridge: add page (#15821)
1 parent fa6ace8 commit 4a52fa4

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

pages/linux/bridge.md

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# bridge
2+
3+
> Show and manipulate network bridge addresses and devices.
4+
> More information: <https://manned.org/bridge>.
5+
6+
- List all bridges and their interfaces:
7+
8+
`bridge {{[l|link]}}`
9+
10+
- Show port vlan information:
11+
12+
`bridge {{[v|vlan]}}`
13+
14+
- Assign a VLAN to a port:
15+
16+
`sudo bridge {{[v|vlan]}} {{[a|add]}} dev {{lanX}} vid {{vlan_id}} pvid {{tagged|untagged}}`
17+
18+
- Remove a VLAN from a port:
19+
20+
`sudo bridge {{[v|vlan]}} {{[d|delete]}} dev {{lanX}} vid {{vlan_id}}`
21+
22+
- Watch for changes in bridge interfaces:
23+
24+
`bridge {{[mo|monitor]}}`

0 commit comments

Comments
 (0)