From 9c9b1febff6863ccd3632a04d9e307909b3efe7a Mon Sep 17 00:00:00 2001 From: Christian Breunig Date: Wed, 20 Mar 2024 21:25:43 +0100 Subject: bridge: T6125: support 802.1ad (ethertype 0x88a8) VLAN filtering Linux bridge uses EtherType 0x8100 by default. In some scenarios, an EtherType value of 0x88A8 is required. Reusing CLI command from VIF-S (QinQ) interfaces: set interfaces bridge br0 protocol 802.1ad --- .../include/interface/vif-s.xml.i | 22 +-------------------- .../include/interface/vlan-protocol.xml.i | 23 ++++++++++++++++++++++ interface-definitions/interfaces_bridge.xml.in | 4 ++++ 3 files changed, 28 insertions(+), 21 deletions(-) create mode 100644 interface-definitions/include/interface/vlan-protocol.xml.i (limited to 'interface-definitions') diff --git a/interface-definitions/include/interface/vif-s.xml.i b/interface-definitions/include/interface/vif-s.xml.i index fdd62b63d..02e7ab057 100644 --- a/interface-definitions/include/interface/vif-s.xml.i +++ b/interface-definitions/include/interface/vif-s.xml.i @@ -18,27 +18,7 @@ #include #include #include - - - Protocol used for service VLAN (default: 802.1ad) - - 802.1ad 802.1q - - - 802.1ad - Provider Bridging (IEEE 802.1ad, Q-inQ), ethertype 0x88a8 - - - 802.1q - VLAN-tagged frame (IEEE 802.1q), ethertype 0x8100 - - - (802.1q|802.1ad) - - Ethertype must be 802.1ad or 802.1q - - 802.1ad - + #include #include #include #include diff --git a/interface-definitions/include/interface/vlan-protocol.xml.i b/interface-definitions/include/interface/vlan-protocol.xml.i new file mode 100644 index 000000000..2fe8d65d7 --- /dev/null +++ b/interface-definitions/include/interface/vlan-protocol.xml.i @@ -0,0 +1,23 @@ + + + + Protocol used for service VLAN (default: 802.1ad) + + 802.1ad 802.1q + + + 802.1ad + Provider Bridging (IEEE 802.1ad, Q-inQ), ethertype 0x88a8 + + + 802.1q + VLAN-tagged frame (IEEE 802.1q), ethertype 0x8100 + + + (802.1q|802.1ad) + + Ethertype must be 802.1ad or 802.1q + + 802.1ad + + diff --git a/interface-definitions/interfaces_bridge.xml.in b/interface-definitions/interfaces_bridge.xml.in index d4d277cfc..7fb5f121a 100644 --- a/interface-definitions/interfaces_bridge.xml.in +++ b/interface-definitions/interfaces_bridge.xml.in @@ -98,6 +98,10 @@ + #include + + 802.1q + Interval at which neighbor bridges are removed -- cgit v1.2.3