Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

show virtual-chassis

 

Syntax

Release Information

Command introduced in Junos OS Release 9.2 for EX Series switches.

Command introduced in Junos OS Release 13.2X50-D15 for the QFX Series.

Command introduced in Junos OS Release 13.2X51-D20 for Virtual Chassis Fabric (VCF).

Fabric ID, Fabric Mode, and Route Mode output fields introduced in Junos OS Release 13.2X51-D20.

Alias-Name output field introduced in Junos OS Release 14.1X53-D10.

Description

Display information about all members of the Virtual Chassis or VCF.

Options

noneDisplay information about all Virtual Chassis or VCF member devices.
statusSame output as for show virtual-chassis without any options.

Required Privilege Level

view

List of Sample Output

show virtual-chassis (EX2300 multigigabit model—EX2300-24MP and EX2300-48MP—Virtual Chassis)

show virtual-chassis (EX2300 and EX2300 multigigabit model (EX2300-24MP, EX2300-48MP) Virtual Chassis)

show virtual-chassis (EX4200 Virtual Chassis)

show virtual-chassis (Mixed EX4300 multigigabit model—EX4300-48MP—Virtual Chassis)

show virtual-chassis (EX8200 Virtual Chassis)

show virtual-chassis (QFX5110 Virtual Chassis)

show virtual-chassis (QFX5200 Virtual Chassis)

show virtual-chassis (QFX5100 Virtual Chassis Fabric)

Output Fields

Table 1 lists the output fields for the show virtual-chassis command. Output fields are listed in the approximate order in which they appear.

Table 1: show virtual-chassis Output Fields

Field Name

Field Description

Fabric ID

(VCF only) Assigned ID used to identify the VCF.

Fabric Mode

(VCF only) Mode of the VCF: Enabled, Disabled, or Mixed.

Preprovisioned Virtual Chassis or Preprovisioned Virtual Chassis Fabric

Virtual Chassis or VCF is configured using preprovisioning.

Virtual Chassis ID

Assigned ID that applies to the entire Virtual Chassis or VCF.

Virtual Chassis Mode

Mode of the Virtual Chassis or VCF. This field indicates support for the Virtual Chassis feature and, if a Virtual Chassis is configured, if it is a mixed or homogenous Virtual Chassis. Values can be:

  • Enabled—The platform supports the Virtual Chassis feature. If a Virtual Chassis is currently configured, this is a homogenous Virtual Chassis (all members are the same type of switch).

  • Disabled—The switch does not support the Virtual Chassis feature.

    Note: Switches that support the Virtual Chassis feature do not display this value. Even if a Virtual Chassis is not currently configured, those switches display Enabled in this field.

  • Mixed—The platform supports the Virtual Chassis feature, and is configured as a mixed mode Virtual Chassis (members consist of more than one type of switch).

Member ID

Assigned member ID and FPC:

  • On all EX Series Virtual Chassis except EX8200 Virtual Chassis, and on a VCF, the FPC number refers to the member ID assigned to the switch.

  • On EX8200 Virtual Chassis, member IDs are numbered 0 through 9. The FPC number indicates the slot number of the line card within the Virtual Chassis. The FPC number on member 0 is always 0 through 15. The FPC number on member 1 is always 16 through 31. The FPC number on member 2 is always 32 through 47; and so on for the members.

Status

For a nonprovisioned configuration:

  • Prsnt for a member that is currently connected to the Virtual Chassis or VCF configuration.

  • NotPrsnt for a member ID that has been assigned but is not currently connected.



For a preprovisioned configuration:

  • Prsnt for a member that is specified in the preprovisioned configuration file and is currently connected to the Virtual Chassis or VCF.

  • Unprvsnd for a member that is interconnected with the Virtual Chassis or VCF configuration but is not specified in the preprovisioned configuration file.

Serial No

Serial number of the member device.

Alias-Name

The user-configured alias of the member device.

The Alias-Name field appears only if an alias has been configured for at least one device in the Virtual Chassis or VCF. Aliases are configured using the alias-name statement in the [edit virtual-chassis aliases serial-number serial-number] hierarchy.

Model

Model number of the member device.

Mastership Priority or Mstr prio

Mastership priority value of the member device.

Role

Role of the member device: master, backup, or linecard.

An asterisk ( * ) following the Role denotes the member device on which the show virtual-chassis <status> command was issued.

Mixed Mode

Mixed mode configuration status:

  • Y for a member device configured in mixed mode.

  • N for a member device not configured in mixed mode.

  • NA for a member device that cannot be configured in mixed mode.

Route Mode

The route mode of the member device:

  • F for fabric (VCF) mode

  • VC for Virtual Chassis mode

Location

Location of the member device.

If this field is empty, the location field was not set for the device.

Neighbor List ID and Interface

Member ID of the neighbor member to which this member’s Virtual Chassis port (VCP) is connected, and the VCP interface name.

Sample Output

show virtual-chassis (EX2300 multigigabit model—EX2300-24MP and EX2300-48MP—Virtual Chassis)

user@switch> show virtual-chassis

show virtual-chassis (EX2300 and EX2300 multigigabit model (EX2300-24MP, EX2300-48MP) Virtual Chassis)

user@switch> show virtual-chassis status

show virtual-chassis (EX4200 Virtual Chassis)

user@switch> show virtual-chassis

show virtual-chassis (Mixed EX4300 multigigabit model—EX4300-48MP—Virtual Chassis)

user@switch> show virtual-chassis

show virtual-chassis (EX8200 Virtual Chassis)

user@external-routing-engine> show virtual-chassis

show virtual-chassis (QFX5110 Virtual Chassis)

user@switch> show virtual-chassis

show virtual-chassis (QFX5200 Virtual Chassis)

user@switch> show virtual-chassis

show virtual-chassis (QFX5100 Virtual Chassis Fabric)

user@switch> show virtual-chassis