This KB addresses the cause of the commit error that occurs when configuring IRB on an S-VLAN within a Q-in-Q setup
The below commit error is observed while configuring IRB on s-vlan in q-in-q setup :
root@jtac# show | compare [edit vlans V2000] + l3-interface irb.2000; {master:0}[edit] root@jtac# commit [edit vlans V2000 l3-interface] 'l3-interface irb.2000' l3-interface can be configured only under vlans with 'vlan-id'/'vlan-tags' error: commit failed: (statements constraint check failed)
The commit error observed is expected on ELS switches, as IRB configuration on S-VLAN is supported only on NON-ELS switches.
Please refer the below KB article for q-in-q configuration on ELS and NON-ELS switches :
https://supportportal.juniper.net/s/article/EX-Understanding-and-configuring-802-1Q-Q-in-Q-dot1q-tunneling?language=en_US
Unfortunately, there is no alternative method available on ELS devices to configure an L3 interface for S-VLAN in q-in-q setup.
2024-08-03 : Article Created
2026-09-30 : Externalized