Feature Request: Preference in bird

Marek Küthe m-k-mailling-list at mk16.de
Wed Jun 14 12:20:10 CEST 2023


On Wed, 14 Jun 2023 11:52:38 +0200
Bernd Naumann <bernd at kr217.de> wrote:

> On 14.06.23 11:29, Marek Küthe wrote:
> > Hello,
> > 
> > I noticed that when you "mix" routing protocols, it can be useful to
> > change the "preference", but unfortunately there is little
> > documentation in bird about this and no way to view it.
> > 
> > Is it possible to view the preference using "birdc"?  
> 
> `birdc show route` shows the protocol preference at the end of the line
> in brackets. Or do you mean something different, like when showing the
> protocols?

```
                     unicast [brandweb_v4 17:31:34.208] (100)
                     [AS4242422032i] via 172.20.191.129 on brandweb
```
So that would have a preference of 100, right?

```
fd04:234e:fc31::/128 unicast [inner_network 2023-06-13] (130/1)
[00:00:00:00:ac:16:95:e2] via fe80::2923:1 on p2prouter
```
And what would be the preference 130 with a Babel metric of 1?

> `show protocols all`, does show the preference, too.

Where exactly? I could not find anything there.

> 
> > 
> > Is it possible to include the default values (in
> > https://gitlab.nic.cz/labs/bird/-/blob/v2.0.12/nest/route.h#L748-755)
> > in the documentation?  
> 
> Yes, this blob is my reference, too :) And yes it would be nice if it
> would be more visible...
> 
> 
> Bernd

Thanks for the answer!

-- 
Marek Küthe
m.k at mk16.de
er/ihm he/him
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20230614/18368b31/attachment.sig>


More information about the Bird-users mailing list