Switching

 View Only
last person joined: 3 days ago 

Ask questions and share experiences about EX and QFX portfolios and all switching solutions across your data center, campus, and branch locations.
  • 1.  VCF question

    Posted 09-12-2021 22:50
    From docs:
    In a preprovisioned Virtual Chassis or VCF, you configure the role for each member by associating it with the member switch's serial number, and the Virtual Chassis assigns default primary-role priorities based on the assigned role.
    root@QFX-241# run show virtual-chassis status          
    
    Auto-provisioned Virtual Chassis Fabric
    Fabric ID: 2ec9.5e97.5cf4
    Fabric Mode: Mixed
                                                    Mstr           Mixed Route Neighbor List
    Member ID  Status   Serial No    Model          prio  Role      Mode  Mode ID  Interface
    0 (FPC 0)  Prsnt    VB3717170046 qfx5100-96s-8q 129   Backup       Y  F    1  vcp-255/0/96
    1 (FPC 1)  Prsnt    VB3717170002 qfx5100-96s-8q 129   Master*      Y  F    4  vcp-255/0/103
                                                                               0  vcp-255/0/96
    4 (FPC 4)  Prsnt    PD3717050744 ex4300-48p       0   Linecard     Y  F    1  vcp-255/1/0
    
    {master:1}[edit]
    root@QFX-241# set virtual-chassis member 0 mastership-priority 250 
    
    {master:1}[edit]
    root@QFX-241# commit check 
    [edit virtual-chassis]
      'member 0'
        Can't have mastership priority configuration with preprovisioned or auto-provisioned set
    error: configuration check-out failed
    ​

    Anyway to make member 0 to be master ?

    thanks!!



  • 2.  RE: VCF question

     
    Posted 09-13-2021 05:24
    Hi gongyayu,

    You can either have the VCF pre-provisioned OR configure the mastership priority. Both cannot be done simultaneously, hence the error.

    If you just want FPC0 to become the master, then you can do a mastership switchover using below command (preferably in a MW):

    request virtual-chassis routing-engine master switch


  • 3.  RE: VCF question

     
    Posted 09-13-2021 05:24
    Priorities  are not supported in a preprovisioned config. From https://www.juniper.net/documentation/us/en/software/junos/virtual-chassis-qfx/topics/task/virtual-chassis-ex4300-configuring.html:

    NOTE:

    You cannot modify the primary-role priority when you are using a preprovisioned configuration. The primary-role priority values are generated automatically and controlled by the role that is assigned to the member switch in the configuration file. The two Routing Engines are assigned the same primary-role priority value. However, the member that was powered on first has higher prioritization according to the primary-role election algorithm. See Understanding How the Primary in a Virtual Chassis Is Elected.




  • 4.  RE: VCF question

    Posted 09-13-2021 12:11
    Do you think the master will be always the master even after the reboot ?

    thanks !!