This article provides a reason that the vxlan option is missing from the 'set vlans' command. It also provides a work-around.
When trying to configure VXLAN on a QFX5100 Virtual Chassis (VC), there is no option available for this feature in the "vlans <vlan_name> " configuration hierarchy. It reports a syntax error:
root@switch# set vlans vlan200 vxlan ^ syntax error. root@switch# load set terminal [Type ^D at a new line to end input] set vlans vlan200 vxlan vni 200 terminal:1:(18) syntax error: vxlan load complete root@switch# set vlans vlan200 ? Possible completions: + apply-groups Groups from which to inherit configuration data + apply-groups-except Don't inherit configuration data from these groups + community-vlans List of VLAN id or name description Text description of VLANs domain-id Domain-id for auto derived Route Target (1..15) domain-type Type of VLANs SVLAN/DVLAN > forwarding-options Forwarding options configuration > interface Interface name for this VLAN isolated-vlan VLAN id or name l3-interface L3 interface name for this vlans mcae-mac-synchronize Enable IRB MAC synchronization on this MCAE VLAN > multicast-snooping-options Multicast snooping option configuration no-irb-layer-2-copy Disable transmission of layer-2 copy of packets of IRB routing-interface private-vlan Type of secondary vlan for private vlan service-id Service id required if VLAN is of type MC-AE, and vlan-id all or vlan-id none or vlan-tags is configured (1..65535) > switch-options VLANs switch-options configuration vlan-id IEEE 802.1q VLAN identifier for VLAN (1..4094) + vlan-id-list Create VLAN for each of the vlan-id specified in the vlan-id-list > vlan-tags IEEE 802.1q VLAN tags for VLANs
When the QFX5100 VC (any combination of QFX5100 Series platforms) is configured in "Mixed" mode, the VXLAN option will not be present.
root@switch> show virtual-chassis Preprovisioned Virtual Chassis Virtual Chassis ID: 5a09.d459.548e Virtual Chassis Mode: Mixed Mstr Mixed Route Neighbor List Member ID Status Serial No Model prio Role Mode Mode ID Interface 0 (FPC 0) Prsnt VB3714370094 qfx5100-96s-8q 129 Master* Y VC 1 vcp-255/0/97 1 (FPC 1) Prsnt TB3714150062 qfx5100-24q-2p 129 Backup Y VC 0 vcp-255/0/22 root@switch> show virtual-chassis mode fpc0: -------------------------------------------------------------------------- Current mode : Virtual Chassis with mixed devices Future mode after reboot : Virtual Chassis with mixed devices fpc1: -------------------------------------------------------------------------- Current mode : Virtual Chassis with mixed devices Future mode after reboot : Virtual Chassis with mixed devices
When the Junos OS operating system detects that 'Mixed' VC mode is configured, it assumes that non-supporting EX/QFX Series platforms will be used. The VXLAN option is automatically disabled.
The EVPN-VXLAN feature for VC/VCF is supported on QFX5100 standalone, QFX5100-VC and QFX5100-VCF platforms starting with Junos OS 14.1X53-D40, including EX4600 standalone and EX4600-VC starting from Junos OS 18.2R1. For more information, see the Feature Explorer direct link: EVPN-VXLAN support of Virtual Chassis and Virtual Chassis Fabric . Also, for more information on QFX Series Virtual Chassis, see Understanding QFX Series Virtual Chassis .
In order to solve this, the Virtual Chassis mode on all members must have the mode "Enabled" with the following command:
request virtual-chassis mode disable all-members
A reboot of the entire VC is also required to complete the process. The "reboot" knob can be used within the previous command (1) or use the regular reboot command (2).
request virtual-chassis mode disable all-members reboot
request system reboot
Below are the results after applying the command:
root@switch> show virtual-chassis Preprovisioned Virtual Chassis Virtual Chassis ID: 5a09.d459.548e Virtual Chassis Mode: Enabled Mstr Mixed Route Neighbor List Member ID Status Serial No Model prio Role Mode Mode ID Interface 0 (FPC 0) Prsnt VB3714370094 qfx5100-96s-8q 129 Master* N VC 1 vcp-255/0/97 1 (FPC 1) Prsnt TB3714150062 qfx5100-24q-2p 129 Backup N VC 0 vcp-255/0/22 root@switch# set vlans vlan200 ? Possible completions: + apply-groups Groups from which to inherit configuration data + apply-groups-except Don't inherit configuration data from these groups + community-vlans List of VLAN id or name description Text description of VLANs domain-id Domain-id for auto derived Route Target (1..15) domain-type Type of VLANs SVLAN/DVLAN > forwarding-options Forwarding options configuration > interface Interface name for this VLAN isolated-vlan VLAN id or name l3-interface L3 interface name for this vlans mcae-mac-synchronize Enable IRB MAC synchronization on this MCAE VLAN > multicast-snooping-options Multicast snooping option configuration no-irb-layer-2-copy Disable transmission of layer-2 copy of packets of IRB routing-interface private-vlan Type of secondary vlan for private vlan service-id Service id required if VLAN is of type MC-AE, andvlan-id all or vlan-id none or vlan-tags is configured > switch-options VLANs switch-options configuration vlan-id IEEE 802.1q VLAN identifier for VLAN (1..4094) + vlan-id-list Create VLAN for each of the vlan-id specified inthe vlan-id-list > vlan-tags IEEE 802.1q VLAN tags for VLANs > vxlan root@switch# set vlans vlan200 vxlan ? Possible completions: + apply-groups Groups from which to inherit configuration data + apply-groups-except Don't inherit configuration data from these groups encapsulate-inner-vlan Retain inner VLAN in the packet ingress-node-replication Enable ingress node replication multicast-group Multicast group registered for VXLAN segment ovsdb-managed Bridge-domain is managed remotely via VXLAN OVSDBController unreachable-vtep-aging-timer Unreachable VXLAN tunnel endpoint removal timer vni VXLAN identifier (0..16777214)