[cmaster-next] Question about output of 'show ip bgp'

Christian Franke chris at opensourcerouting.org
Thu Dec 8 08:54:31 EST 2016


On 12/08/2016 02:02 PM, Donald Sharp wrote:
> root at dell-s6000-02 ~/quagga# vtysh -c "show ip bgp"
> BGP table version is 7, local router ID is 6.0.0.9
> Status codes: s suppressed, d damped, h history, * valid, > best, = multipath,
>               i internal, r RIB-failure, S Stale, R Removed
> Origin codes: i - IGP, e - EGP, ? - incomplete
> 
>    Network          Next Hop            Metric LocPrf Weight Path
> *> 6.0.0.5/32       169.254.0.1              0             0 65101 ?
> *> 6.0.0.6/32       169.254.0.17             0             0 65101 ?
> *> 6.0.0.7/32       169.254.0.33             0             0 65104 ?
> *> 6.0.0.8/32       169.254.0.49             0             0 65104 ?
> *> 6.0.0.9/32       0.0.0.0                  0         32768 ?
> *= 6.0.0.10/32      169.254.0.49                           0 65104 65200 ?
> *=                  169.254.0.33                           0 65104 65200 ?
> *=                  169.254.0.17                           0 65101 65200 ?
> *>                  169.254.0.1                            0 65101 65200 ?
> 
> Displayed  6 out of 9 total prefixes
> root at dell-s6000-02 ~/quagga#
> 
> Can we modify the last line to say 'Displaying 6 routes and 9 total prefixes'?

Wouldn't something like "Displaying 9 routes for 6 prefixes" make more
sense? There aren't 9 prefixes.

-Christian




More information about the dev mailing list