Re: Counting prefered routes for a protocol with bird2

2018-11-29 Thread Ondrej Zajicek
On Tue, Nov 27, 2018 at 03:32:36PM +0100, Alarig Le Lay wrote: > Hi, > > With bird1, I can know how much routes are used for each protocol just > by parsing birdc: > [alarig@nominoe ~]$ birdc show protocols all bgp_breizhix | grep 'Routes:' > Routes: 75 imported, 0 filtered, 4 exported,

Counting prefered routes for a protocol with bird2

2018-11-27 Thread Alarig Le Lay
Hi, With bird1, I can know how much routes are used for each protocol just by parsing birdc: [alarig@nominoe ~]$ birdc show protocols all bgp_breizhix | grep 'Routes:' Routes: 75 imported, 0 filtered, 4 exported, 73 preferred With bird2, I don’t see this information: [alarig@budic ~]$