Support Support Downloads Knowledge Base Case Manager My Juniper 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] Converting a Virtual Chassis Member Role to Primary (When using non-provisioned configuration)

0

0

Article ID: KB21161 KB Last Updated: 05 Apr 2021Version: 3.0
Summary:

This article assists you with converting a Virtual Chassis member role to Primary when you are using non-provisioned configuration. It will help the user who prefers to change any member in a Virtual Chassis to a Primary role.

This article is part of the EX Resolution Guide: KB21064 - Verifying health of Virtual Chassis and troubleshoot if the members are not all present.

Symptoms:
  • How do I change a member to a Primary?
  • I want to change my Linecard member to a Primary Role.
  • I want to change my Backup member to Primary Role .
  • A different member is preferred to be Primary.

For example, in the 'show virtual-chassis' output below, FPC 0 - (BR0200000776) is preferred to act as Primary.

root@EX4200-VC# run show virtual-chassis    

Virtual Chassis ID: 6eb0.0094.e64b
                    Mastership            Neighbor List  
Member ID  Status   Serial No      Model         priority  Role     ID  Interface
0 (FPC 0)  Prsnt    BR0200000776   ex4200-24f    127       Linecard  1  vcp-0      
1 (FPC 1)  Prsnt    BR0200000997   ex4200-24f    128       Master*   2  vcp-0      
                                                                     0  vcp-1      
2 (FPC 2)  Prsnt    BR0200000803   ex4200-24f    128       Backup    1  vcp-1      

Member ID for next new member: 3 (FPC 3)

 
Solution:

Increase the mastership-priority parameter of the existing Linecard or Backup to be a  higher value than that of the current Primary.

Important: During a change-over of the primary role, a network outage may occur due to a Routing Engine failover. Juniper recommends making these changes during a maintenance window .

In the example above, the mastership-priority parameter of Member FPC 0 is made higher than the current Primary Member FPC 1 with the following command:

root@EX4200-VC# set virtual-chassis member 0 mastership-priority 129
After changing the parameter, a commit synchronize needs to be executed:
root@EX4200-VC# commit synchronize

Refer to KB12879 for additional information on commit synchronize.

The end result will be as follows:

root@EX4200-VC# run show virtual-chassis    

Virtual Chassis ID: 6eb0.0094.e64b
                    Mastership            Neighbor List  
Member ID   Status      Serial No    	Model        priority   Role        ID  Interface
0 (FPC 0)   Prsnt       BR0208233776 	ex4200-24f   129        Master*      1  vcp-0      
1 (FPC 1)   Prsnt       BR0209456997 	ex4200-24f   128        Backup       2  vcp-0      
                                                                             0  vcp-1      
2 (FPC 2)   Prsnt       BR0208233803 	ex4200-24f   128        Linecard     1  vcp-1      

Member ID for next new member: 3 (FPC 3)

For more information on understanding the primary role election process in a Virtual Chassis before making a new member as Primary, refer to the following Technical Documentation:
Understanding How the Primary in a Virtual Chassis Is Elected

Modification History:
2021-03-25: Updated the article terminology to align with Juniper's Inclusion & Diversity initiatives.
2020-04-15: Article reviewed for accuracy. Minor changes made to reflect the stile of configuration being used for this example (non-provisioned), as well as minor corrections on the output under solution
 
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