Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

show virtual-chassis

date_range 19-Nov-23

Syntax

content_copy zoom_out_map
show virtual-chassis <status>

Description

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

Options

none

Display information about all Virtual Chassis or VCF member devices.

status

Same output as for show virtual-chassis without any options.

Required Privilege Level

view

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

Primary-role priority value of the member device.

Role

Role of the member device: primary, 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)

content_copy zoom_out_map
user@switch> show virtual-chassis 
Virtual Chassis ID: cdef.789a.bc12
Virtual Chassis Mode: Enabled
                                           Mstr        Mixed Route  Neighbor List
Member ID  Status  Serial No  Model        prio Role    Mode  Mode  ID  Interface
0 (FPC 0)  Prsnt   ...        ex2300-24mp  128  Backup   N    VC   3  vcp-255/1/0
                                                                   1  vcp-255/1/2
1 (FPC 1)  Prsnt   ...        ex2300-48mp  128  Master*  N    VC   2  vcp-255/1/4
                                                                   0  vcp-255/1/1
2 (FPC 2)  Prsnt   ...        ex2300-24mp  128  Linecard N    VC   3  vcp-255/1/0
                                                                   1  vcp-255/1/1
3 (FPC 3)  Prsnt   ...        ex2300-48mp  128  Linecard N    VC   0  vcp-255/1/4
                                                                   2  vcp-255/1/5

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

content_copy zoom_out_map
user@switch> show virtual-chassis status
Preprovisioned Virtual Chassis
Virtual Chassis ID: 9876.5432.abcd
Virtual Chassis Mode: Enabled
                                           Mstr           Mixed Route Neighbor List
Member ID  Status  Serial No  Model        prio  Role      Mode Mode  ID  Interface
0 (FPC 0)  Prsnt   ...        ex2300-24mp  129   Backup      N  VC    1 vcp-255/1/3
                                                                      3 vcp-255/1/0
1 (FPC 1)  Prsnt   ...        ex2300-24p   129   Master*     N  VC    2 vcp-255/1/0
                                                                      0 vcp-255/1/1
2 (FPC 2)  Prsnt   ...        ex2300-24p     0   Linecard    N  VC    3 vcp-255/1/2
                                                                      1 vcp-255/1/3
3 (FPC 3)  Prsnt   ...        ex2300-48mp    0   Linecard    N  VC    2 vcp-255/1/5
                                                                      0 vcp-255/1/0
        

show virtual-chassis (EX4200 Virtual Chassis)

content_copy zoom_out_map
user@switch> show virtual-chassis 
Virtual Chassis ID: 00ab.cdef.1234
Virtual Chassis Mode: Enabled
                                         Mastership      Mixed  Neighbor List
Member ID  Status  Serial No  Model      priority   Role  Mode  ID  Interface
0 (FPC 0)  Prsnt   ...        ex4200-24t   249    Master*   N   8   vcp-0    
                                                                1   vcp-1    
1 (FPC 1)  Prsnt   ...        ex4200-24t   248    Backup    N   0   vcp-0    
                                                                2   vcp-1    
2 (FPC 2)  Prsnt   ...        ex4200-48p   247   Linecard   N   1   vcp-0    
                                                                3   vcp-1    
3 (FPC 3)  Prsnt   ...        ex4200-24t   246   Linecard   N   2   vcp-0    
                                                                4   vcp-1    
4 (FPC 4)  Prsnt   ...        ex4200-48p   245   Linecard   N   3   vcp-0    
                                                                5   vcp-1    
5 (FPC 5)  Prsnt   ...        ex4200-48t   244   Linecard   N   4   vcp-0    
                                                                6   vcp-1    
6 (FPC 6)  Prsnt   ...        ex4200-48t   243   Linecard   N   5   vcp-0    
                                                                7   vcp-1    
7 (FPC 7)  Prsnt   ...        ex4200-24f   242   Linecard   N   6   vcp-0    
                                                                8   vcp-1    
8 (FPC 8)  Prsnt   ...        ex4200-24f   241   Linecard   N   7   vcp-0    
                                                                0   vcp-1    
Member ID for next new member: 9 (FPC 9)

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

content_copy zoom_out_map
user@switch> show virtual-chassis 
Preprovisioned Virtual Chassis
Virtual Chassis ID: abcd.ef00.1234
Virtual Chassis Mode: Mixed
                                            Mstr         Mixed Route Neighbor List
Member ID  Status   Serial No  Model        prio  Role   Mode  Mode  ID Interface
0 (FPC 0)  Prsnt    ...        ex4300-48mp  129   Master*    Y  VC   1  vcp-255/1/0
                                                                     3  vcp-255/1/3
1 (FPC 1)  Prsnt    ...        ex4300-48mp  129   Backup     Y  VC   0  vcp-255/1/1
                                                                     2  vcp-255/1/3
2 (FPC 2)  Prsnt    ...        ex4300-48mp    0   Linecard   Y  VC   3  vcp-255/1/1
                                                                     1  vcp-255/1/3
3 (FPC 3)  Prsnt    ...        ex4300-48t     0   Linecard   Y  VC   0  vcp-255/1/0
                                                                     2  vcp-255/1/2
        

show virtual-chassis (EX8200 Virtual Chassis)

content_copy zoom_out_map
user@external-routing-engine> show virtual-chassis
Virtual Chassis ID: cdcd.1212.efef
Virtual Chassis Mode: Enabled
                                        Mastership          Neighbor List
Member ID       Status Serial No  Model   priority  Role     ID Interface
0 (FPC 0-15)    Prsnt  ...        ex8216      0    Linecard  8  vcp-0/0
                                                             8  vcp-0/1
                                                             1  vcp-4/0/4
1 (FPC 16-31)   Prsnt  ...        ex8208      0    Linecard  8  vcp-0/0
                                                             0  vcp-3/0/4
8 (FPC 128-143) Prsnt  ...        ex-xre    128    Master    9  vcp-1/0
                                                             1  vcp-1/2
                                                             9  vcp-1/3
                                                             0  vcp-2/0
                                                             9  vcp-2/1
                                                             0  vcp-1/1
9 (FPC 144-159) Prsnt  ...        ex-xre    128    Backup*   8  vcp-1/0
                                                             8  vcp-1/2
                                                             8  vcp-1/3
                                                             8  vcp-1/3

show virtual-chassis (QFX5110 Virtual Chassis)

content_copy zoom_out_map
user@switch> show virtual-chassis
Preprovisioned Virtual Chassis
Virtual Chassis ID: abab.1212.cdcd
Virtual Chassis Mode: Enabled
                                           Mstr         Mixed Route  Neighbor List 
MemberID  Status Serial No  Model          prio  Role    Mode  Mode  ID Interface  
0 (FPC 0) Prsnt  ...        qfx5110-32q    129   Backup     Y  VC    9 vcp-255/0/12
                                                                     1 vcp-255/0/16
1 (FPC 1) Prsn   ...        qfx5110-32q    129   Master*    Y  VC    2 vcp-255/0/16
                                                                     0 vcp-255/0/17
2 (FPC 2) Prsnt  ...        qfx5110-32q      0   Linecard   Y  VC    3 vcp-255/0/11
                                                                     1 vcp-255/0/14
3 (FPC 3) Prsnt  ...        qfx5110-32q      0   Linecard   Y  VC    4 vcp-255/0/14
                                                                     2 vcp-255/0/31
4 (FPC 4) Prsnt  ...        qfx5110-32q      0   Linecard   Y  VC    5 vcp-255/0/10
                                                                     3 vcp-255/0/5 
5 (FPC 5) Prsnt  ...        qfx5100e-24q-2p  0   Linecard   Y  VC    6 vcp-255/0/12
                                                                     4 vcp-255/0/20
6 (FPC 6) Prsnt  ...        qfx5110-48s-4c   0   Linecard   Y  VC    7 vcp-255/0/10
                                                                     5 vcp-255/0/49
7 (FPC 7  Prsnt  ...        qfx5100e-48s-6q  0   Linecard   Y  VC    6 vcp-255/0/18
                                                                     8 vcp-255/0/31
8 (FPC 8) Prsnt  ...        qfx5110-48s-4c   0   Linecard   Y  VC    7 vcp-255/0/21
                                                                     9 vcp-255/0/49
9 (FPC 9) Prsnt  ...        qfx5110-32q      0   Linecard   Y  VC    8 vcp-255/0/13
                                                                     0 vcp-255/0/17

show virtual-chassis (QFX5200 Virtual Chassis)

content_copy zoom_out_map
user@switch> show virtual-chassis
Virtual Chassis ID: abab.1212.cdcd
Virtual Chassis Mode: Enabled
                 Serial                  Mstr           Mixed Route Neighbor List 
Member ID Status    No   Model           prio  Role     Mode  Mode  ID Interface  
0 (FPC 0) Prsnt   ...    qfx5200-32c-r   128  Master*   N     VC    1 vcp-255/0/19
                                                                    2 vcp-255/0/26
1 (FPC 1) Prsnt   ...    qfx5200-32c-r   128  Linecard  N     VC    0 vcp-255/0/20
                                                                    2 vcp-255/0/16
2 (FPC 2) Prsnt   ...    qfx5200-32c-32q 128  Backup    N     VC    0 vcp-255/0/15
                                                                    1 vcp-255/0/18

show virtual-chassis (QFX5100 Virtual Chassis Fabric)

content_copy zoom_out_map
user@switch> show virtual-chassis
Preprovisioned Virtual Chassis Fabric
Fabric ID: 0123.abcd.4567
Fabric Mode: Enabled
                   Serial                Mstr        Mixed Route Neighbor List
Member ID Status    No    Model          prio Role   Mode  Mode  ID Interface
0 (FPC 0) Prsnt   ...     qfx5100-48s    129  Master*  N   F     3  vcp-255/1/0
                                                                 2  vcp-255/1/1
                                                                 4  vcp-255/1/2
                                                                 4  vcp-255/1/3
1 (FPC 1) Prsnt   ...     qfx5100-48s    129  Backup   N   F     3  vcp-255/1/0
                                                                 2  vcp-255/1/1
                                                                 4  vcp-255/1/2
                                                                 4  vcp-255/1/3
2 (FPC 2) Prsnt   ...     qfx5100-48s      0  Linecard N   F     1  vcp-255/1/0
                                                                 0  vcp-255/1/1
3 (FPC 3) Prsnt   ...     qfx5100-48s      0  Linecard N   F     1  vcp-255/1/0
                                                                 0  vcp-255/1/1
4 (FPC 4) Prsnt   ...     qfx5100-48s      0  Linecard N   F     1  vcp-255/1/0
                                                                 0  vcp-255/1/1

Release Information

Command introduced in Junos OS Release 9.2.

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.

footer-navigation