Description

Running into the following error on commit:


error: In routing-instance default-switch interface xe-0/0/X has vlan and vxlan mixed which is not supported

error: configuration check-out failed


Symptoms

Customer have an interface xe-0/0/X configured for two specific normal vlans. XXXXX and YYYYY


Example:


xe-0/0/X {

      

       unit 0 {

           family ethernet-switching {

               interface-mode trunk;

               vlan {

                   members [ XXXXX YYYYY];


Now as part of the implementation, they are trying to add a VNI to vlan YYYYY.


[edit vlans YYYYY]

+  vxlan {

+    vni YYY;

+    ingress-node-replication;

+  }


Trying to add the configuration above triggers the commit error shown in this case and the commit cannot be executed.


error: In routing-instance default-switch interface xe-0/0/X has vlan and vxlan mixed which is not supported

error: configuration check-out failed

Solution

On an specific interface, you can either have, all normal vlans or all VXLAN vlans. The mix of both configurations on the same interface is not supported and a commit error will be shown. 

To avoid this situation, you can assign VXLAN VNIs to all VLANs on the interface if you want to extend them via VXLAN or separate VLANs onto different trunks/interfaces based on whether they use VXLAN.

Modification History

2026-01-09 : Article Created