You might see this error when using VXLAN on Juniper kit after you set an interface to be a member of “all” VLANs. This is because “all” includes VLAN 1. Per this documentation, you can’t actually use VLAN 1 with VXLAN but you must map it to a VNI. For example:
- /* You need to map VLAN 1 to a VNI else you can't use `vlan members all` on interfaces - DO NOT USE THIS VLAN */
- VLAN001 {
- vlan-id 1;
- vxlan {
- vni 1;
- }
- }
Set syntax is:
- set vlans VLAN001 vlan-id 1 vxlan vni 1