Switching

IMPORTANT MODERATION NOTICE

This community is currently under full moderation, meaning  all posts will be reviewed before appearing in the community. Please expect a brief delay—there is no need to post multiple times. If your post is rejected, you'll receive an email outlining the reason(s). We've implemented full moderation to control spam. Thank you for your patience and participation.



Expand all | Collapse all

VCF question

  • 1.  VCF question

    Posted 4 days ago
    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 4 days ago
    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 4 days ago
    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 4 days ago
    Do you think the master will be always the master even after the reboot ?

    thanks !!