Triple redundancy link

  • 0
  • 1
  • Question
  • Updated 3 months ago
  • Answered
Hi, community!I have some problem with configuration redundancy on my switch. I need to set to links as a redundancy. I have links A,B,C. A is a main link whose redundancy link is B. If A and B failed i want to that link C take whole network traffic. I don't have any idea how to do this.

Thanks for help
Best regards.
Photo of Jakub

Jakub

  • 112 Points 100 badge 2x thumb

Posted 3 months ago

  • 0
  • 1
Photo of Pala, Zdenek

Pala, Zdenek, Employee

  • 9,680 Points 5k badge 2x thumb
Please clarify if you are referring to routing and you play with the link cost or if you want L2 and you want to play with spantree...
Photo of John Romero

John Romero

  • 310 Points 250 badge 2x thumb
Why don't you just setup a 3 port LAG?
Photo of Pala, Zdenek

Pala, Zdenek, Employee

  • 9,680 Points 5k badge 2x thumb
If each link is full duplex and the same speed then agree the LAG is the best choice.
Photo of Martineau, John

Martineau, John, Employee

  • 710 Points 500 badge 2x thumb
Spanning tree will take care of this automatically BUT I also recommend a 3 port LAG.
Photo of Jakub

Jakub

  • 112 Points 100 badge 2x thumb
Yeah, sorry and thank you all ,it is on L2, and the network is connected with EAPS, so without STP. And yes all the links are in full duplex with the same speed. But if i make a 3 port LAG, data will be balanced equal on each port and i want to use only A(if works)
only B(if A failed) and only C(if A and B failed). Am i right ?

A(master)=>B(slave)/B(Master)=>C(slave)
(Edited)
Photo of Pala, Zdenek

Pala, Zdenek, Employee

  • 9,680 Points 5k badge 2x thumb
Yes you are right. In such case you need to use scripting to react on link A event. If link A goes down then configure EAPS to use link B and deconfigure vlans from link A. If link A goes up again then deconfigure link B and configure link A...

With LAG there will not be outage. With the scripting approach there will be some shotr outage as script must execute and EAPs must be established again.

But yes doable.
Photo of Jakub

Jakub

  • 112 Points 100 badge 2x thumb
Thank you all
Photo of EtherMAN

EtherMAN, Embassador

  • 6,960 Points 5k badge 2x thumb
There may be other ways to do what you are trying to do ... It would help if we had a simple diagram show switches and what ABC is connected to.  
Photo of Jakub

Jakub

  • 112 Points 100 badge 2x thumb
I configure it by UPM profile, but i have problem with if statment

configure upm timer "timer" after 10 every 10

enable lldp ports all

conf lldp ports 1 2 advertise all-tlvs

conf upm event device-detect profile "redundancy" ports 1 2

conf upm event device-undetect profile "redundancy" ports 1 2

create upm profile redundancy:


if (($MATCH($EVENT.NAME,DEVICE-UNDETECT))==0) then

enable port 3

else

disable port 3

endif


but this if always disable port
Photo of Brian Anderson

Brian Anderson

  • 312 Points 250 badge 2x thumb
Photo of Jakub

Jakub

  • 112 Points 100 badge 2x thumb
It's good for two links but you can't set third link as a redundancy to first two
Photo of Brian Anderson

Brian Anderson

  • 312 Points 250 badge 2x thumb
Ok, guess I didn't have the full picture.  Probably as Etherman suggested a simple diagram would be helpful.