05-24-2024 09:13 AM
Greetings,
example,
if I have two mpls TE from the same source to the same destination with different paths by using two path options and explicit path, first with number 10 and second with number 20, number 10 will be primary till I lose it and the traffic will use the number 20, if number 10 came back up it will be the primary again.
the question is, how can I keep the traffic on number 20 even if number 10 comes back up? it is exactly how VRRP works without preemption.
Solved! Go to Solution.
05-24-2024 12:58 PM - edited 05-24-2024 01:06 PM
Hi @Albazi ,
This can be done by disabling the mpls traffic engineering reoptimization with the following command:
mpls traffic-eng reoptimize timers frequency 0
With this command, reoptimization will not take place automatically. You could force reoptimization manually with the following command:
mpls traffic-eng reoptimize tunnel <tunnel#>
A shift from path-option 20 to 10 will also take place automatically if the path represented by path-option 20 goes down and the path represented by path-option 10 is available.
Regards,
05-24-2024 09:30 AM
You can config MPLS TE second tunnel as backup path
https://ccie-in-2-months.blogspot.com/2014/01/nts-advanced-mpls-te.html?m=1
MHM
05-24-2024 10:01 AM
Thanks for the response.
I know I can configure a backup path, but the problem is when the primary path comes up again the traffic will switch from backup to primary again, so in case the primary link used by the primary path is flapping, the traffic will continue flap between the primary and backup, which it will not accomplish what I need.
hope i explain it well.
05-24-2024 01:10 PM
can I see the config you use
MHM
05-24-2024 02:16 PM
Hi,
it looks like @Harold Ritter Magic did the work.
Please see the attached file for my configuration and the lab snapshot.
appreciate and thanks for your replay.
05-24-2024 02:26 PM
that why I ask config, you have one tunnel two path not two tunnel each one have one path.
anyway glad issue is solve
have a nice day
MHM
05-24-2024 02:30 PM
sorry for the inaccurate explanation.
thanks and I appreciate it.
05-24-2024 12:58 PM - edited 05-24-2024 01:06 PM
Hi @Albazi ,
This can be done by disabling the mpls traffic engineering reoptimization with the following command:
mpls traffic-eng reoptimize timers frequency 0
With this command, reoptimization will not take place automatically. You could force reoptimization manually with the following command:
mpls traffic-eng reoptimize tunnel <tunnel#>
A shift from path-option 20 to 10 will also take place automatically if the path represented by path-option 20 goes down and the path represented by path-option 10 is available.
Regards,
05-24-2024 02:17 PM
hello Harold,
thanks a lot and appreciate your answer, that is exactly what i was looking for.
05-24-2024 02:31 PM
You are very welcome @Albazi and thanks for the feedback
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide