Related Documentation
- EX Series
- Understanding Virtual Chassis Fabric Configuration
- Adding a Device to a Virtual Chassis Fabric
- Removing a Device From a Virtual Chassis Fabric
- Understanding Virtual Chassis Fabric Components
- Preprovisioning a Virtual Chassis Fabric
- QFX Series standalone switches
- Understanding Virtual Chassis Fabric Configuration
- Adding a Device to a Virtual Chassis Fabric
- Removing a Device From a Virtual Chassis Fabric
- Understanding Virtual Chassis Fabric Components
- Preprovisioning a Virtual Chassis Fabric
Autoprovisioning a Virtual Chassis Fabric
Autoprovisioning a Virtual Chassis Fabric (VCF) enables you to “plug and play” devices into your VCF after minimal initial configuration.
Update all devices to the same version of Junos OS that supports VCF. See Upgrading Software or Installing Software on an EX Series Switch with a Single Routing Engine (CLI Procedure).
To configure a VCF using autoprovisioning:
- Make a list of the serial numbers of all the spine devices in the VCF. The spine devices must be QFX5100 devices. You can get the device’s serial number in the show virtual-chassis output or by following the instructions in Locating the Serial Number on a QFX5100 Device or Component.
- Configure each device into fabric mode. If needed, configure
the devices into mixed mode.
Configure the device to reboot as part of the procedure to complete this configuration step.
Configure mixed mode if your VCF includes QFX3600, QFX3500, or EX4300 devices as leaf devices.
If you are configuring a VCF composed entirely of QFX5100 devices:
user@device> request virtual-chassis mode fabric local rebootIf you are configuring a VCF composed of two or more types of devices:
user@device> request virtual-chassis mode fabric mixed local reboot
Note: A spine device whose fabric or mixed mode setting is improperly set cannot join a VCF. You can check the mode settings by using the show virtual-chassis mode command.
We recommend that you set the fabric and mixed mode settings before you interconnect your spine devices into the VCF to avoid the following issues:
- Incurring downtime as the devices reboot to commit the mixed mode or fabric settings.
- Manually correcting potential issues related to VCF formation because the device did not immediately join the VCF.
You can, however, use the request virtual-chassis mode fabric local or request virtual-chassis mode mixed local commands to set a spine device into fabric or mixed mode after interconnecting your VCF.
The fabric and mixed mode settings are automatically updated for a leaf device when it is interconnected into an autoprovisioned VCF. If the fabric or mixed mode settings are changed when a leaf device is interconnected into a VCF, the leaf device reboots before joining the VCF.
- When the reboot is complete, log in to one of the spine devices in your VCF.
- Set the configuration mode to autoprovisioned:
[edit]
user@device# set virtual-chassis auto-provisioned - Configure two spine devices into the Routing Engine role:
[edit virtual-chassis]
user@device# set member member-id serial-number serial-number role routing-engine
Note: If your VCF has more than two spine devices, the remaining spine devices are placed in the line card role later in this procedure.
For instance, to configure the two spine devices with the serial numbers “SERIALNUMB00” and “SERIALNUMB01” into the Routing Engine role as members 0 and 1:
[edit virtual-chassis]
user@device# set member 0 serial-number SERIALNUMB00 role routing-engine
user@device# set member 1 serial-number SERIALNUMB01 role routing-engine - (Recommended) Configure a virtual management Ethernet
(VME) interface for management of the VCF configuration:
[edit]
user@device# set interfaces vme unit 0 family inet address /ip-address/mask/
Note: A VME accesses the device in the master Routing Engine role using a management port, so cable management port em0 or em1 on each spine device in your VCF so the VME is available regardless of which spine device assumes the master Routing Engine role. See Connecting a QFX Series Device to a Management Console
- Commit the configuration:
user@device# commit - Cable your VCF.
After your autoprovisioned VCF configuration is committed, you can cable any EX4300, QFX3500, QFX3600, or QFX5100 device that is zeroized or that has never been configured to a spine device using a supported SFP+ or QSFP+ interface. The device that is zeroized or in factory-default mode is added to the VCF as a leaf device. All VCPs are configured as part of this process.

Note: Mixed mode and fabric mode are checked and, if needed, set automatically on the device as part of this process. If the mixed or fabric mode has to be changed to become part of the VCF, the device reboots. The device participates in the VCF with no further user intervention after this reboot is complete.

Note: Automatic VCP conversion only works when the interfaces on both ends of the link are not configured into VCPs.
The 40-Gbps QSFP+ interfaces on EX4300 switches are configured as VCPs, by default. You must, therefore, delete the VCP on the 40-Gbps QSFP+ interface using the request virtual-chassis vc-port delete command before interconnecting it into the VCF in order for the link to be converted into a VCP. You can also manually configure the link into a VCP using the request virtual-chassis vc-port set command.
The device joins the VCF immediately without a reboot if the mixed or fabric mode setting does not need to be changed.
- Install the VCF feature licenses.
For a VCF deployment, two license keys are recommended for redundancy—one for the device in the master role and the other for the device in the backup role.
To purchase a feature license for VCF, contact your Juniper Networks sales representative (https://www.juniper.net/us/en/contact-us/sales-offices). The Juniper sales representative will provide you with the feature license files and license keys. You will be asked to supply the chassis serial number of your switch; you can obtain the serial number by running the show virtual-chassis command.
After obtaining the licenses, follow the instructions in Generating License Keys.
Related Documentation
- EX Series
- Understanding Virtual Chassis Fabric Configuration
- Adding a Device to a Virtual Chassis Fabric
- Removing a Device From a Virtual Chassis Fabric
- Understanding Virtual Chassis Fabric Components
- Preprovisioning a Virtual Chassis Fabric
- QFX Series standalone switches
- Understanding Virtual Chassis Fabric Configuration
- Adding a Device to a Virtual Chassis Fabric
- Removing a Device From a Virtual Chassis Fabric
- Understanding Virtual Chassis Fabric Components
- Preprovisioning a Virtual Chassis Fabric