From 694628045ffc125deacd2d272c7d7f92aa95c9ce Mon Sep 17 00:00:00 2001 From: jack9603301 Date: Sat, 16 Jan 2021 18:03:15 +0800 Subject: bridge: Independent VLAN aware bridge document --- docs/configuration/interfaces/bridge.rst | 35 ++++++++++++++++++++------------ 1 file changed, 22 insertions(+), 13 deletions(-) (limited to 'docs/configuration') 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 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 -- cgit v1.2.3