Compare Traditional Bridge Mode to VLAN-aware Bridge Mode
The Cumulus Linux bridge driver operates in two modes: [VLAN-aware](https://docs.nvidia.com/networking-ethernet-software/cumulus-linux-43/Layer-2/Ethernet-Bridging-VLANs/VLAN-aware-Bridge-Mode/ and a [traditional Linux mode](https://docs.nvidia.com/networking-ethernet-software/cumulus-linux-43/Layer-2/Ethernet-Bridging-VLANs/Traditional-Bridge-Mode/. There are many minor syntax differences between the two modes, which are outlined below. However, the following behaviors apply no matter which mode you use for the driver:
- Network interfaces are configured under
- Both modes support [Spanning Tree Protocol](https://docs.nvidia.com/networking-ethernet-software/cumulus-linux-43/Layer-2/Spanning-Tree-and-Rapid-Spanning-Tree/ (see the example below).
- You manage interfaces configured with both modes with
The reasons why you would use VLAN-aware mode for bridges are:
- Scale: The new VLAN-aware mode can support 2000 concurrent VLANs while the traditional mode supports only 200 concurrent VLANs.
- Simplicity: VLAN-aware mode has a simpler configuration.
The only reasons to use the traditional mode are:
- Familiarity with traditional Linux syntax.
- VXLAN support: As of Cumulus Linux 3.1, VXLAN is supported by VLAN-aware mode bridges. For VXLAN support on earlier releases, use traditional mode.
- PVSTP+ interoperability: The traditional mode currently runs an instance of spanning tree per bridge. The VLAN-aware STP mode is compatible with other types of spanning tree but only runs single instance MST. To achieve Per-VLAN STP/RSTP the traditional bridge mode must be used.
Two Trunks Containing 200 VLANs for swp1 and swp2
The ... is an abbreviated output. If you’re creating a trunk in traditional mode, you would need 200 stanzas for the 200 interfaces. Remember, a bridge configured in traditional mode is limited to 200 VLANs.
Creating an SVI
An SVI is a switch VLAN/virtual interface, also known as a layer 3 VLAN interface.
The comparison above is not exactly apples to apples, if the traditional mode configuration was the only configuration applied to the switch, there would be only VLAN 10 traffic for swp1 and swp2 as indicated by the tags. However the VLAN-aware bridge driver has two trunks for 200 VLANs. This behavior is very different.
Creating Access Ports (AKA Untagged Ports)
The above illustrates how the traditional mode has no concept of VLANs, just untagged or tagged traffic. It's basically identical to the previous example except there is no
.10 after the switch ports here.
Two Trunks Containing Two VLANs with Spanning Tree Enabled
bridge-stp on option is identical for the two modes; however, the VLAN-aware bridge mode only needs to have it specified once.