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.  VC mastership

     
    Posted 02-04-2021 13:36
    Hi all.

     I would like to know who becomes the master switch in the following 2-switch VC.

    Both switches are interconnected, but they are off.
    Switch1 is configured with the following:
    set virtual-chassis member 0 mastership-priority 10
    set virtual-chassis member 1 mastership-priority 20

    Switch2 is configured with the following:
    set virtual-chassis member 0 mastership-priority 20
    set virtual-chassis member 1 mastership-priority 10

    Switch1 is powered up first so will get member id 0. After 1 minute, Switch2 is powered up, and will get member id 1.

    But which switch will become the master?

    Thanks,
    Deepak


  • 2.  RE: VC mastership

     
    Posted 02-04-2021 13:43
    Hello Deepak,

    Switch 1 should be master, since the configuration is non-deterministic.

    Regards,

    Randall


  • 3.  RE: VC mastership

     
    Posted 02-05-2021 02:31
    Thanks Randall.

    Do you mean that since the configured mastership-priorities fail to select a master, the first switch to come online becomes the master?
    Or is there another reason why switch1 is the master?

    --Deepak



  • 4.  RE: VC mastership
    Best Answer

     
    Posted 02-05-2021 08:37
    Hello Deepak,

    Yes.  However, this is based on the scenario you described since the second switch comes online 1 minute later.
    If the second switch is online in less than a minute, there are two scenarios to analyze.  For example, if the setup is a new VC or if it was an existing VC.
    If a new VC, the first switch that comes online will take the master role, but it could change if the difference is minimal.
    If the VC was previously online, the old master will take the mastership again.

    Hope this helps,

    Regards,


  • 5.  RE: VC mastership

     
    Posted 02-06-2021 00:24
    Got it randero. Thanks.