On 2009/07/23 14:46, Claudio Jeker wrote:
> On Wed, Jul 22, 2009 at 04:37:03PM +0200, Henning Brauer wrote:
> > this still removes the interface info I want to see.
> > 
> > why do you keep ignoring the advice of replaceing the long
> > valid/invalid words by some kind of marker like we do in the RIB?
> > 
> > <br...@cr10.ham>  $ bgpctl sh ri as 24640
> > flags: * = Valid, > = Selected, I = via IBGP, A = Announced
> > 
> > can use the same here.
> > 
> > Nexthop            Route           Gateway     Interface
> > *100.200.300.400   62.48.4.0/24    connected   vlan206 UP, Ethernet, active
> >  200.200.300.400   62.48.6.0/24    connected   vlan207 UP, Ethernet, no 
> > carrier
> > 
> > voila.
> > 
> 
> So here is another try:
> bgpctl show next | head
> Flags: * = nexthop valid
> 
>   Nexthop         Route              Prio Gateway         Iface               
> * 10.23.0.2       10.23.0.0/16          4 connected       fxp0 (UP, active)
> * 10.23.0.3       10.23.0.0/16          4 connected       fxp0 (UP, active)
> * 10.23.0.4       10.23.0.0/16          4 connected       fxp0 (UP, active)
> ...
>   10.23.0.5       10.23.0.0/16          4 connected       fxp0 (DOWN, active)
>   10.23.0.6       10.23.0.0/16          4 connected       fxp0 (DOWN, active)
> ...
>   10.23.0.7       10.23.0.0/16          4 connected       fxp0 (UP, no 
> carrier)
>   10.23.0.8       10.23.0.0/16          4 connected       fxp0 (UP, no 
> carrier)


it definitely works better with the extra column space between
* and the address.

Reply via email to