mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-23 20:35:25 +02:00
bridge: add page (#15821)
This commit is contained in:
parent
fa6ace8c09
commit
4a52fa4338
1 changed files with 24 additions and 0 deletions
24
pages/linux/bridge.md
Normal file
24
pages/linux/bridge.md
Normal file
|
@ -0,0 +1,24 @@
|
|||
# bridge
|
||||
|
||||
> Show and manipulate network bridge addresses and devices.
|
||||
> More information: <https://manned.org/bridge>.
|
||||
|
||||
- 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]}}`
|
Loading…
Add table
Reference in a new issue