Support Support Downloads Knowledge Base Juniper Support Portal Community

Knowledge Base

Search our Knowledge Base sites to find answers to your questions.

Ask All Knowledge Base Sites All Knowledge Base Sites JunosE Defect (KA)Knowledge BaseSecurity AdvisoriesTechnical BulletinsTechnotes Sign in to display secure content and recently viewed articles

[EX/QFX] How to verify which virtual-chassis member you are connected to via serial console



Article ID: KB36606 KB Last Updated: 22 Mar 2021Version: 1.0

Typically, when connecting to any Virtual-Chassis members' console port, it will always redirect you to the primary RE's console. Therefore, it becomes difficult to identify which member's console you are logged into.


Even when connecting to a line card member's console, it will still redirect to the primary RE's console. This causes confusion, not knowing whether the console cable is connected to the right member.


The following command displays the actual console member from where the session was initiated:

QFX5100-VC> show virtual-chassis login 

re1: not found
Current login session initiated from host re1


This is a 2 member VC. The command above confirms the console session was initiated from re1 (i.e., Backup RE), though it is redirected to primary RE's console.

QFX5100-VC> show virtual-chassis 

Preprovisioned Virtual Chassis
Virtual Chassis ID: bc84.bf6d.xxxx
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    TA37203xxxxx qfx5100-48s-6q 129   Master*      N  VC   1  vcp-255/0/44
                                                                           1  vcp-255/0/45
                                                                           1  vcp-255/0/46
                                                                           1  vcp-255/0/47
1 (FPC 1)  Prsnt    TA37203xxxxx qfx5100-48s-6q 129   Backup       N  VC   0  vcp-255/0/44
                                                                           0  vcp-255/0/45
                                                                           0  vcp-255/0/46
                                                                           0  vcp-255/0/47


At the same time, if you are connected directly to the primary RE's console itself, it will not display anything:

QFX5100-VC> show virtual-chassis login 

Source hostname information not available


Related Links

Comment on this article > Affected Products Browse the Knowledge Base for more articles related to these product categories. Select a category to begin.

Getting Up and Running with Junos

Getting Up and Running with Junos Security Alerts and Vulnerabilities Product Alerts and Software Release Notices Problem Report (PR) Search Tool EOL Notices and Bulletins JTAC User Guide Customer Care User Guide Pathfinder SRX High Availability Configurator SRX VPN Configurator Training Courses and Videos End User Licence Agreement Global Search