Feature Request: Preference in bird

Bernd Naumann bernd at kr217.de
Wed Jun 14 13:05:15 CEST 2023


On 14.06.23 12:20, Marek Küthe wrote:
> 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:
>>> 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?

Yes.

> 
> ```
> 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?
> 

Yes. 130 is the default preference for babel.

>> `show protocols all`, does show the preference, too.
> 
> Where exactly? I could not find anything there.
> 

```
# birdc show protocols all
# Shows all configured protocols, their state, details, etc, including
preference.

# To view a single protocol:
# birdc show protocols all ospf_ipv6
BIRD 2.0.8 ready.
Name       Proto      Table      State  Since         Info
ospf_ipv6  OSPF       master6    up     2023-04-14    Running
  Channel ipv6
    State:          UP
    Table:          master6
    Preference:     150
    ...
```



More information about the Bird-users mailing list