Switching

Expand all | Collapse all

VC mastership

Jump to Best Answer
  • 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 30 days ago
    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 30 days ago
    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 29 days ago
    Got it randero. Thanks.