Skip to content

Support



Juniper was the first North American IP routing vendor to achieve the prestigious TL 9000 certification by the Quality of Excellence for Suppliers of Telecommunications (QuEST) Forum in the router category, for design, development, provision and service and support.



What is J-Care?

It's the world-class service and support that you expect from a company that delivers the industry's best infrastructure and security products. With J-Care, you now have the confidence knowing that Juniper will do our part to keep you on top of the world!


Example: Expanding a Virtual Chassis in a Single Wiring Closet

A virtual chassis is a scalable switch composed of multiple interconnected EX 4200 switches. Up to ten EX 4200 switches can be interconnected as a virtual chassis.

This example describes how to configure an expanding virtual chassis within a single wiring closet:

Requirements

This example uses the following hardware and software components:

  • JUNOS Release 9.0 or later software for EX-series switches
  • One EX 4200-48P switch
  • One EX 4200-24T switch
  • One EX 4200-24P switch
  • One EX-UM-2XFP uplink module

Before you begin, be sure you have:

Overview and Topology

A virtual chassis can be expanded without disrupting the site's network connectivity. This example describes adding a member switch to an existing virtual chassis to provide additional access ports for connecting more PCs and VoIP phones at this location. You can continue to expand the virtual chassis with additional members in the same wiring closet, using the same procedure. If you want to expand the virtual chassis to include member switches in another wiring closet, see Example: Configuring a Virtual Chassis Interconnected Across Multiple Wiring Closets.

If you want to retain the roles of the existing master and backup switches, explicitly configure the mastership priority of these switches, specifying the highest possible value (255) for both the master and the backup.

During expansion, the existing virtual chassis can remain powered on and connected to the network. Before powering up the new switch, interconnect it to the other the switches using the dedicated VCPs on the rear panel. Do not run the EZ Setup program on the added member switch.

This example shows an existing virtual chassis composed of two EX 4200 switches. The virtual chassis is being expanded to include a EX 4200-24P switch as a linecard member.

The topology for this example consists of three switches:

Table 1 shows the configuration settings for the expanded virtual chassis.

Table 1: Components of the Expanded Virtual Chassis Access Switch

Member SwitchHardwaremember IDRole in Virtual Chassis

SWA-0

EX 4200-48P switch

0

master; mastership priority 255

SWA-1

EX 4200-24T switch

1

backup; mastership priority 255

SWA-2

EX 4200-24P switch

2

linecard; mastership priority 128

Figure 1 shows that the three member switches ( SWA-0, SWA-1 and SWA-2) are interconnected with their dedicated VCPs on the rear panel. The LCD on the front displays the member ID and role. SWA-0 also includes an uplink module. Its uplink ports can be used to connect to a distribution switch.

Figure 1: Expanded Virtual Chassis in Single Wiring Closet

Image g020010-150.gif

Configuration

To expand a virtual chassis to include additional member switches within a single wiring closet, perform these tasks:

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

CLI Quick Configuration

To maintain the master and backup roles of the existing members and ensure that the new member switch functions in a linecard role, copy the following commands and paste them into the terminal window:


[edit]
user@SWA-0# set virtual-chassis member 0 mastership-priority 255
user@SWA-1# set virtual-chassis member 1 mastership-priority 255

Step-by-Step Procedure

To ensure that the existing member switches retain their current roles and to add another member switch in a linecard role:

  1. Configure the mastership priority of SWA-0 (member 0) to be the highest possible value, thereby ensuring that it functions as the master of the expanded virtual chassis.
    [edit virtual-chassis]
    user@SWA-0# set member 0 mastership-priority 255
  2. Configure the mastership priority of SWA-1 (member 1) to be the highest possible value. This setting is recommended for high availability and smooth transition of mastership in case the original master becomes unavailable.
    [edit virtual-chassis]
    user@SWA-1# set member 1 mastership-priority 255
  3. Interconnect the unpowered SWA-2 with SWA-0 and SWA-1 using the dedicated VCPs on the rear panel. See Virtual Chassis Cabling Configuration Examples for additional information.
  4. Power on SWA-2.

    You do not need to configure or run EZ Setup on SWA-2. The identification parameters that were set up for the master apply implicitly to all members of the virtual chassis. SWA-2 functions in a linecard role, since SWA-0 and SWA-1 have been configured to the highest mastership priority values.

Verification

To verify that the new switch has been added as a linecard and that its VCPs are operational, performs these tasks:

Verifying That the New Switch Has Been Added as a Linecard

Purpose

Verify that SWA-2 has been added in a linecard role to the virtual chassis.

Action

Use the show virtual-chassis status command to list the member switches with their member IDs, mastership priority values, and assigned roles.


user@SWA-0> show virtual-chassis status
 		
Virtual Chassis ID: 0000.e255.00e0

                                       Mastership             Neighbor List  
Member ID  Status  Serial No   Model     Priority  Role       ID Interface

0 (FPC 0)  Prsnt   abc123      ex4200-48p    255  Master*     1 vcp-0
                                                              2 vcp-1

1 (FPC 1)  Prsnt   def456      ex4200-24t    255  Backup      2 vcp-0
                                                              0 vcp-1

2 (FPC 2)  Prsnt   abd231      ex4200-24p    128  Linecard    0 vcp-0
                                                              1 vcp-1

What it Means

The show virtual-chassis status command lists the member switches of the virtual chassis with the member IDs and mastership priority values. It also displays the neighbor members with which each member is interconnected. This output shows that SWA-2 has been assigned member ID 2 and has the default mastership priority value 128. Because the mastership priority is lower than the mastership priority of the other members, SWA-2 functions in the linecard role. You can continue to add more member switches, following the same procedure. It is possible to have multiple members in linecard roles with the same mastership priority value.

Verifying That the VCPs Are Operational

Purpose

Verify that the dedicated VCPs interconnecting the member switches are operational.

Action

List the VCP interfaces on the virtual chassis.


user@SWA-0>show virtual-chassis vc-port all-members
fpc0:
--------------------------------------------------------------------------
Interface        Type             Status
or
PIC / Port
vcp-0            Dedicated        Up
vcp-1            Dedicated        Up

fpc1:
--------------------------------------------------------------------------
Interface        Type             Status
or
PIC / Port
vcp-0            Dedicated        Up
vcp-1            Dedicated        Up

fpc2:
--------------------------------------------------------------------------
Interface        Type             Status
or
PIC / Port
vcp-0            Dedicated        Up
vcp-1            Dedicated        Up
 

What it Means

The show virtual-chassis vc-port all-members command lists all the virtual chassis interfaces for the virtual chassis. In this case, no VCP uplinks have been configured. However, the VCP interfaces are automatically configured and enabled when you interconnect member switches using the dedicated virtual chassis ports. There are two dedicated VCPs on the rear panel of each EX 4200 switch. It is recommended that you interconnect the member switches using both VCPs for redundancy. The VCP interfaces are identified simply as vcp-0 and vcp-1. The fpc number is the same as the member ID.

Troubleshooting

To troubleshoot the configuration of an expanded virtual chassis, perform these tasks:

Problem

You want to designate a different member as the master.

Solution

Change the mastership priority value or values of the switches, designating the highest mastership priority value for the switch that you want to be master.

  1. Lower the mastership priority of the existing master (member 0).
    [edit virtual-chassis]
    user@SWA-0# set member 0 mastership-priority 1
  2. Set the mastership priority of the member that you want to be the master to the highest possible value (255):
    [edit virtual-chassis]
    user@SWA-2# set member 2 mastership-priority 255

Problem

The VCP interface shows a status of down.

Solution

Check the cable to make sure that it is properly and securely connected to the VCPs.