[an error occurred while processing this directive] [an error occurred while processing this directive]

Example: Assigning the Virtual Chassis ID to Determine Precedence During a Virtual Chassis Merge

You can explicitly assign a Virtual Chassis ID so that, when two Virtual Chassis configurations merge, the ID that you assigned takes precedence over the automatically assigned Virtual Chassis IDs and becomes the ID of the newly merged Virtual Chassis configuration.

This example describes how to assign the Virtual Chassis ID in a Virtual Chassis configuration:

Requirements

This example uses the following hardware and software components:

  • JUNOS Release 9.3 or later for EX Series switches
  • Two EX4200-48P switches
  • Two EX4200-24T switches

Before you begin, be sure you have:

  1. Installed the switches. See Mounting an EX3200 or EX4200 Switch on Two Posts in a Rack or Cabinet, Mounting an EX3200 or EX4200 Switch on a Desk or Other Level Surface, or Mounting an EX3200 or EX4200 Switch on a Wall.
  2. Cabled the switches to create the Virtual Chassis configuration. See Connecting a Virtual Chassis Cable to an EX4200 Switch.

Overview and Topology

Every Virtual Chassis configuration has a unique ID that is automatically assigned when the Virtual Chassis configuration is formed. You can also configure a Virtual Chassis ID using the set virtual-chassis id command. When two Virtual Chassis merge, the Virtual Chassis ID that you assigned takes precedence over the automatically assigned Virtual Chassis IDs and becomes the ID for the newly merged Virtual Chassis configuration.

The topology for this example consists of four switches:

  • Two EX4200-24T switches
  • Two EX4200-48P switches

The switches are connected as a four-member Virtual Chassis configuration and are identified as switch-A, switch-B, switch-C, and switch-D. The master is switch-A.

Configuration

Assign the Virtual Chassis ID in a Virtual Chassis configuration:

CLI Quick Configuration

To assign a Virtual Chassis ID so that, when two Virtual Chassis configurations merge, the ID that you assigned takes precedence over the automatically assigned Virtual Chassis IDs and becomes the ID of the newly merged Virtual Chassis configuration, copy the following command and paste it into the terminal window:


[edit]
set virtual-chassis id 9622.6ac8.5345

Step-by-Step Procedure

To assign the Virtual Chassis ID in a Virtual Chassis configuration:

  1. Assign the Virtual Chassis ID:

    [edit]
    user@switch-A# set virtual-chassis id 9622.6ac8.5345

    Note: We recommend that you use the commit synchronize command to save any configuration changes that you make to a multimember Virtual Chassis configuration.

Verification

To verify that the Virtual Chassis ID has been assigned as you intended, perform these tasks:

Verifying That the Virtual Chassis ID Is Assigned

Purpose

Verify that the Virtual Chassis ID has been assigned in a Virtual Chassis configuration.

Action

  1. Issue the show configuration virtual-chassis id command.
  2. Check to see that the Virtual Chassis ID number is listed.
user@switch-A> show configuration virtual-chassis id
id 9622.6ac8.5345; 

Meaning

The Virtual Chassis ID has been assigned as 9622.6ac8.5345.


Published: 2009-07-29

[an error occurred while processing this directive]