Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Configuring Primary Role of a Virtual Chassis

Note:

This topic applies to all QFX Virtual Chassis and all EX Series Virtual Chassis except EX8200 Virtual Chassis.

A Virtual Chassis configuration has two Routing Engines—one is the switch in the primary Routing Engine role and the other is the switch in the backup Routing Engine role. The remaining members operate in the linecard role. You can designate the role (primary, backup, or linecard) that a member switch performs within any Virtual Chassis whether or not you are using a preprovisioned configuration. For details on which switches in a mixed Virtual Chassis we recommend or require you to configure into the primary or backup Routing Engine role, see Understanding Mixed EX Series and QFX Series Virtual Chassis.

Note:

We recommend that you always use commit synchronize rather than commit to save configuration changes for a Virtual Chassis to ensure that the changes are saved on both Routing Engines.

Configuring Primary Role Using a Preprovisioned Configuration File

To configure primary role using a preprovisioned configuration:

  1. Note the serial numbers of the switches that you want to function as the primary and backup Routing Engines.
    Note:

    Serial number values are case-sensitive.

  2. Power on only the switch that you want to function as the primary Routing Engine.
  3. Edit the configuration to specify the preprovisioned configuration mode:
  4. Specify the serial numbers of the member switches that you want to function as primary and backup, specifying their role as routing-engine:
    Note:

    You cannot directly modify the primary-role priority value when you are preprovisioning a Virtual Chassis. The primary-role priority values are generated automatically and controlled by the role that is assigned to the member switch in the configuration file. The two members assigned the routing-engine role are assigned the same primary-role priority value, 128. However, the member that was powered on first gets priority in the primary-role election algorithm. See Understanding How the Primary in a Virtual Chassis Is Elected. Only two members can be configured with the routing-engine role.

  5. Specify the serial numbers of any other member switches you are including in the Virtual Chassis configuration. You can also explicitly configure their role as line-card.

Configuring Primary Role Using a Configuration File That Is Not Preprovisioned

To configure primary role of the Virtual Chassis through a configuration that is not preprovisioned:

  1. Power on only the switch that you want to function as the primary Routing Engine.
  2. Configure the highest possible primary-role priority value (255) for the member that you want to function as the primary Routing Engine:
  3. Configure the same primary-role priority value (continue to edit the Virtual Chassis configuration on the primary) for the member that you want to be the backup Routing Engine:
    Note:

    You should assign the same (highest) primary-role priority value to both the primary and backup Routing Engine members for reliable graceful Routing Engine switchover (GRES) operation. This and the other primary-role election considerations also help keep primary role from switching back and forth rapidly between the two members under failover conditions.

  4. Use the default primary-role priority value (128) for the remaining member switches or configure the primary-role priority to a value that is lower than the value specified for members acting in the primary and backup Routing Engine roles.