From 3ff4ed5a7779d110700349d62c7660993af85b60 Mon Sep 17 00:00:00 2001 From: Timotej Lazar Date: Mon, 23 Feb 2026 18:27:51 +0100 Subject: [PATCH] fabric: support native VLAN for tagged ports --- roles/fabric/templates/switch.intf.j2 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/roles/fabric/templates/switch.intf.j2 b/roles/fabric/templates/switch.intf.j2 index eaf638a..6c66377 100644 --- a/roles/fabric/templates/switch.intf.j2 +++ b/roles/fabric/templates/switch.intf.j2 @@ -44,6 +44,9 @@ iface {{ iface.name }} bridge-access {{ iface.untagged_vlan.vid }} {% elif iface.mode.value == 'tagged' and iface.tagged_vlans %} bridge-vids {{ iface.tagged_vlans | map(attribute='vid') | sort | join(' ') }} +{% if iface.untagged_vlan %} + bridge-pvid {{ iface.untagged_vlan.vid }} +{% endif %} {% endif %} {% endif %}