summaryrefslogtreecommitdiff
path: root/interface-definitions/interfaces_bridge.xml.in
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-03-20 21:25:43 +0100
committerChristian Breunig <christian@breunig.cc>2024-03-20 21:25:43 +0100
commit9c9b1febff6863ccd3632a04d9e307909b3efe7a (patch)
treed289b9e13591105759f8acd278359776603a0300 /interface-definitions/interfaces_bridge.xml.in
parenta33aacf8ab67bab183f2ec84be49966a4c939c3d (diff)
downloadvyos-1x-9c9b1febff6863ccd3632a04d9e307909b3efe7a.tar.gz
vyos-1x-9c9b1febff6863ccd3632a04d9e307909b3efe7a.zip
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
Diffstat (limited to 'interface-definitions/interfaces_bridge.xml.in')
-rw-r--r--interface-definitions/interfaces_bridge.xml.in4
1 files changed, 4 insertions, 0 deletions
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 @@
<valueless/>
</properties>
</leafNode>
+ #include <include/interface/vlan-protocol.xml.i>
+ <leafNode name="protocol">
+ <defaultValue>802.1q</defaultValue>
+ </leafNode>
<leafNode name="max-age">
<properties>
<help>Interval at which neighbor bridges are removed</help>