The current implementation of VLAN aware bridge is not perfect, and there are various problems in the implementation. Now, let's modify the implementation of VLAN bridge to make it close to professional equipment.
For a discussion of the VLAN aware bridge consensus, see T1354
Implement the following design features
- Disable vif 1 configuration
- When the VLAN aware bridge is enabled, the parent interface is always VLAN 1
- When native-vlan is not configured, the default behavior of the device is native-vlan 1
- The VLAN ids forwarded by the bridge are determined by vif
- It has an enable-vlan node to enable VLAN awareness
- VLAN configuration is allowed only when VLAN aware bridge is activated
The implementation needs to be divided into the following stages:
- Modify the current implementation to meet the characteristics discussed in the new consensus
- This change requires modification of the document