Supported Platforms
Example: Setting Up a Full Mesh EX8200 Virtual Chassis with Two EX8200 Switches and Redundant XRE200 External Routing Engines
An EX8200 Virtual Chassis connects up to four EX8200 switches into a single network entity. The Virtual Chassis is formed by connecting the switches to an XRE200 External Routing Engine.
This example describes how to connect two EX8200 switches and two XRE200 External Routing Engines into a Virtual Chassis:
Requirements
This example uses the following hardware and software components:
- Two XRE200 External Routing Engines
- One EX8208 switch
- One EX8216 switch
Before you begin:
Ensure that the external Routing Engines and the member switches are running the same version of Junos OS Release 10.4 or later. See Installing Software on an EX Series Switch with a Single Routing Engine (CLI Procedure), Installing Software on an EX Series Switch with Redundant Routing Engines (CLI Procedure), or Upgrading Software on an EX6200 or EX8200 Standalone Switch Using Nonstop Software Upgrade (CLI Procedure) to upgrade software on EX8200 switches.
Overview and Topology
An EX8200 Virtual Chassis connects up to four EX8200 switches into a single virtual device, thereby simplifying network management, configuration, and troubleshooting.
In this example, two EX8200 switches are connected to an XRE200 External Routing Engine to form an EX8200 Virtual Chassis. A backup XRE200 External Routing Engine is also part of the topology and has connections to the master external Routing Engine and both member switches. A Virtual Chassis port (VCP) link is also configured to connect the switches, thereby forming a full mesh topology that utilizes all possible VCP links within the Virtual Chassis topology.
This example shows an EX8200 Virtual Chassis composed of four devices: a master XRE200 External Routing Engine, a backup XRE200 External Routing engine, an EX8208 member switch, and an EX8216 member switch.
Table 1 explains the components of the example EX8200 Virtual Chassis topology.
Table 1: Components of the EX8200 Virtual Chassis Topology
Property | Settings |
---|---|
Hardware |
|
Member IDs and Roles |
|
Interfaces | The master XRE200 External Routing Engine interfaces:
The backup XRE200 External Routing Engine interfaces:
The EX8208 member switch interfaces:
The EX8216 member switch interfaces:
|
This example assumes that all devices in the Virtual Chassis are running the same version of Junos OS Release 10.4 or later. If you need to upgrade a device in the Virtual Chassis configuration to meet this requirement, perform that upgrade before performing this procedure.
Setting the EX8200 Switches as Virtual Chassis Members
Step-by-Step Procedure
To configure the EX8200 switches as Virtual Chassis members:
On the EX8208 switch:
user@switch> set chassis virtual-chassis
On the EX8216 switch:
user@switch> set chassis virtual-chassis
Preprovisioning the Virtual Chassis
CLI Quick Configuration
To quickly preprovision the Virtual Chassis, log in to the master external Routing Engine and enter the following commands:
[edit]
set virtual-chassis preprovisioned
set virtual-chassis member 0 serial-number ghi789
role line-card
set virtual-chassis member 1 serial-number jkl112
role line-card
set virtual-chassis member 8 serial-number
abc123 role routing-engine
set virtual-chassis member 9 serial-number def456
role routing-engine
Step-by-Step Procedure
To preprovision the EX8200 Virtual Chassis:
- Log in to the master external Routing Engine and specify
the use of a preprovisioned configuration:
Note: You must use a preprovisioned configuration to configure an EX8200 Virtual Chassis. Nonprovisioned configuration is not supported.
[edit virtual-chassis]user@external-routing-engine# set preprovisioned - Specify all members that you want to include in the Virtual
Chassis configuration, listing each switch’s or external Routing
Engine’s serial number with its desired member ID and role:
Note: You must use the backplane serial number for EX8208 switches, and the midplane serial number for EX8216 switches.
[edit virtual-chassis]user@external-routing-engine# set member 0 serial-number ghi789 role line-carduser@external-routing-engine# set member 1 serial-number jkl112 role line-carduser@external-routing-engine# set member 8 serial-number abc123 role routing-engineuser@external-routing-engine# set member 9 serial-number def456 role routing-engine
Results
Check the results of the configuration:
preprovisioned; member 0 { role line-card; serial-number ghi789; } member 1 { role line-card; serial-number jkl112; } member 8 { role routing-engine; serial-number abc123; } member 9 { role routing-engine; serial-number def456; }
Configuring a VCP Link from Member Switch 0 to Member Switch 1
Step-by-Step Procedure
To configure the VCP link between the member switches, log in to the EX8208 member switch (member ID 0) and enter
![]() | Note: For information on which ports on EX8200 line cards can be configured as VCPs, see Line Card Model and Version Compatibility in an EX8200 Switch. |
user@external-routing-engine> request virtual-chassis
vc-port set fpc-slot 4 pic-slot 0 port 2 member 1
Configuring a VCP Link from Member Switch 1 to Member Switch 0
Step-by-Step Procedure
To configure the VCP link between the member switches, log in to the EX8216 member switch (member ID 1) and enter:
![]() | Note: For information on which ports on EX8200 line cards can be configured as VCPs, see Line Card Model and Version Compatibility in an EX8200 Switch. |
user@switch> request virtual-chassis vc-port
set fpc-slot 3 pic-slot 0 port 2 member 0
Verification
To verify that the Virtual Chassis is operational, perform this task:
Verifying That the Virtual Chassis Is Operational
Purpose
Verify that the Virtual Chassis is operational and that all VCP links in the Virtual Chassis are functioning properly.
Action
Enter the show virtual-chassis command:
user@external-routing-engine> show virtual-chassis
Preprovisioned Virtual Chassis Virtual Chassis ID: c806.0842.de51 Mastership Neighbor List Member ID Status Serial No Model priority Role ID Interface 0 (FPC 0-15) Prsnt ghi789 ex8208 0 Linecard 8 vcp-0/0 9 vcp-0/1 1 vcp-3/0/2 1 (FPC 16-31) Prsnt jkl112 ex8216 0 Linecard 8 vcp-0/0 9 vcp-0/1 0 vcp-4/0/2 8 (FPC 128-143) Prsnt abc123 ex-xre 129 Master* 9 vcp-1/0 0 vcp-1/1 1 vcp-1/2 9 (FPC 144-159) Prsnt def456 ex-xre 129 Backup 8 vcp-1/0 0 vcp-1/1 1 vcp-1/2
Meaning
This output verifies that a Virtual Chassis composed of one EX8208 switch (member 0), one EX8216 switch (member 1), and master and backup XRE200 External Routing Engines (members 8 and 9) is operational. The display shows the VCP connections and confirms that each member has a connection to all three other members to form a full-mesh EX8200 Virtual Chassis.