<html><head></head><body><div dir="auto">You basically shouldn't do it. BIRD does something like last-resort pointer comparison and we should probably even add a warning if somebody misconfigures in this way.<br><br>Maria</div><br><br><div class="gmail_quote"><div dir="auto">On 14 June 2023 15:54:13 CEST, "Marek Küthe" <m-k-mailling-list@mk16.de> wrote:</div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<pre class="k9mail"><div dir="auto">Thanks for the answer.<br><br>What happens when the preference is the same for two different protocol<br>types - which protocol is preferred? For example, if you have the<br>preference of BGP and Babel routes both set to 100, which route will be<br>chosen? BGP and Babel routes can't really be compared since BGP takes<br>the AS path and Babel takes the metric as the main decision criterion.<br><br>On Wed, 14 Jun 2023 13:05:15 +0200<br>Bernd Naumann <bernd@kr217.de> wrote:<br><br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #729fcf; padding-left: 1ex;"><div dir="auto">On 14.06.23 12:20, Marek Küthe wrote:<br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ad7fa8; padding-left: 1ex;"><div dir="auto">On Wed, 14 Jun 2023 11:52:38 +0200<br>Bernd Naumann <bernd@kr217.de> wrote:<br> <br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #8ae234; padding-left: 1ex;"><div dir="auto">On 14.06.23 11:29, Marek Küthe wrote: <br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #fcaf3e; padding-left: 1ex;"><div dir="auto">Is it possible to view the preference using "birdc"? <br></div></blockquote><div dir="auto"><br> `birdc show route` shows the protocol preference at the end of the line<br> in brackets. Or do you mean something different, like when showing the<br> protocols? <br></div></blockquote><div dir="auto"><br>```<br> unicast [brandweb_v4 17:31:34.208] (100)<br> [AS4242422032i] via 172.20.191.129 on brandweb<br>```<br>So that would have a preference of 100, right? <br></div></blockquote><div dir="auto"><br>Yes.<br><br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ad7fa8; padding-left: 1ex;"><div dir="auto"><br>```<br>fd04:234e:fc31::/128 unicast [inner_network 2023-06-13] (130/1)<br>[00:00:00:00:ac:16:95:e2] via fe80::2923:1 on p2prouter<br>```<br>And what would be the preference 130 with a Babel metric of 1?<br> <br></div></blockquote><div dir="auto"><br>Yes. 130 is the default preference for babel.<br><br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ad7fa8; padding-left: 1ex;"><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #8ae234; padding-left: 1ex;"><div dir="auto">`show protocols all`, does show the preference, too. <br></div></blockquote><div dir="auto"><br>Where exactly? I could not find anything there.<br> <br></div></blockquote><div dir="auto"><br>```<br># birdc show protocols all<br># Shows all configured protocols, their state, details, etc, including<br>preference.<br><br># To view a single protocol:<br># birdc show protocols all ospf_ipv6<br>BIRD 2.0.8 ready.<br>Name Proto Table State Since Info<br>ospf_ipv6 OSPF master6 up 2023-04-14 Running<br> Channel ipv6<br> State: UP<br> Table: master6<br> Preference: 150<br> ...<br>```<br><br></div></blockquote><div dir="auto"><br><br></div></pre></blockquote></div><div dir="auto"><div class='k9mail-signature'>-- <br>Maria Matejka (she/her) | BIRD Team Leader | CZ.NIC, z.s.p.o.</div></div></body></html>