diff options
author | jack9603301 <jack9603301@163.com> | 2021-01-16 18:03:15 +0800 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-01-16 22:44:15 +0100 |
commit | 694628045ffc125deacd2d272c7d7f92aa95c9ce (patch) | |
tree | 91663272474a44b8594d4828a802714580a96ef6 /docs/configuration/interfaces | |
parent | 636dadd81729cad6bb50f2f89a97a4a70c51b4df (diff) | |
download | vyos-documentation-694628045ffc125deacd2d272c7d7f92aa95c9ce.tar.gz vyos-documentation-694628045ffc125deacd2d272c7d7f92aa95c9ce.zip |
bridge: Independent VLAN aware bridge document
Diffstat (limited to 'docs/configuration/interfaces')
-rw-r--r-- | docs/configuration/interfaces/bridge.rst | 35 |
1 files changed, 22 insertions, 13 deletions
diff --git a/docs/configuration/interfaces/bridge.rst b/docs/configuration/interfaces/bridge.rst index c53d6f51..7f49f9a8 100644 --- a/docs/configuration/interfaces/bridge.rst +++ b/docs/configuration/interfaces/bridge.rst @@ -116,16 +116,22 @@ links providing fault tolerance if an active link fails. VLAN ==== -.. note:: It is not valid to use the `vif 1` option for VLAN aware bridges - because VLAN aware bridges assume that all unlabeled packets belong to - the default VLAN 1 member and that the VLAN ID of the bridge's parent - interface is always 1 +Enable VLAN-Aware Bridge +------------------------ .. cfgcmd:: set interfaces bridge <interface> enable-vlan To activate the VLAN aware bridge, you must activate this setting to use VLAN settings for the bridge +VLAN Options +------------ + +.. note:: It is not valid to use the `vif 1` option for VLAN aware bridges + because VLAN aware bridges assume that all unlabeled packets belong to + the default VLAN 1 member and that the VLAN ID of the bridge's parent + interface is always 1 + .. cmdinclude:: /_include/interface-vlan-8021q.txt :var0: bridge :var1: br0 @@ -170,9 +176,12 @@ Port Mirror (SPAN) :var1: br1 :var2: eth3 -****************************** -Example: Create a basic bridge -****************************** +******** +Examples +******** + +Create a basic bridge +===================== Creating a bridge interface is very simple. In this example we will have: @@ -205,9 +214,9 @@ This results in the active configuration: } stp -********************************* -Example: Using VLAN aware Bridge -********************************* + +Using VLAN aware Bridge +======================= An example of creating a VLAN-aware bridge is as follows: @@ -246,9 +255,9 @@ This results in the active configuration: address 2001:db8::ffff/64 } -******************************************************************** -Example: Using the operation mode command to view Bridge Information -******************************************************************** + +Using the operation mode command to view Bridge Information +=========================================================== .. opcmd:: show bridge |